/* ── GRAIN OVERLAY ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* ── MARQUEE ── */
@keyframes marquee-scroll {
    to { transform: translateX(-50%); }
}
.ella-marquee-track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    width: max-content;
    animation: marquee-scroll 18s linear infinite;
}
.ella-marquee-track.rev {
    animation-direction: reverse;
    animation-duration: 22s;
}

/* ── HERO GRADIENT ANIMATION ── */
@keyframes hero-gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.ella-hero {
    background: linear-gradient(135deg, #FFBAD6 0%, #FF88BE 35%, #F08A59 70%, #FFD6A5 100%);
    background-size: 200% 200%;
    animation: hero-gradient-shift 8s ease infinite;
}

/* ── HERO BLOBS ── */
.ella-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
}

/* ── FADE IN ON SCROLL ── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.block-editor-iframe__body .fade-in,
.editor-styles-wrapper .fade-in {
    opacity: 1;
    transform: none;
}

/* ── CARD HOVER ── */
.ella-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ella-card:hover {
    transform: translateY(-6px) rotate(0.5deg);
    box-shadow: 6px 8px 0 #3B1020;
}

/* ── PILLAR TILE HOVER ── */
.ella-pillar-tile {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ella-pillar-tile:hover {
    transform: translateY(-4px);
    box-shadow: 4px 6px 0 #3B1020;
}

/* ── PILL HOVER ── */
.ella-pill {
    transition: all 0.2s ease;
}
.ella-pill:hover {
    background: #3B1020;
    color: #FF88BE;
}

/* ── SMOOTH SCROLL ── */
html {
    scroll-behavior: smooth;
}

/* ── FLOATING PILLS ── */
@keyframes float-pill {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(3deg); }
}

/* ── HERO IMPACT TEXT ── */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-word {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── CTA SPARKLE ── */
@keyframes pulse-sparkle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}
