* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.seo-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/*
 * iOS Safari rubber-band / overscroll: fixed fullscreen (.coming-soon) + body overflow:hidden
 * often reveals pure black behind the layer. Paint the same burgundy atmosphere on `html` so
 * the exposed strip matches the page; `overscroll-behavior` reduces bounce where supported.
 */
html {
    min-height: 100%;
    color-scheme: dark;
    background-color: #140809;
    background-image:
        radial-gradient(700px 500px at 50% 32%, rgba(176, 0, 18, 0.14), transparent 62%),
        radial-gradient(900px 600px at 80% 0%, rgba(139, 0, 0, 0.18), transparent 60%),
        radial-gradient(700px 500px at 60% 100%, rgba(139, 0, 0, 0.12), transparent 60%);
}

body {
    margin: 0;
    background: transparent;
    font-family: Georgia, 'Times New Roman', serif;
    overscroll-behavior-y: none;
}

.coming-soon {
    position: relative;
    width: 100%;
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Atmosphere aligned with admin/src/app/globals.css (body + sign-in bloom) */
    background:
        radial-gradient(700px 500px at 50% 32%, rgba(176, 0, 18, 0.16), transparent 62%),
        radial-gradient(900px 600px at 80% 0%, rgba(139, 0, 0, 0.20), transparent 60%),
        radial-gradient(700px 500px at 60% 100%, rgba(139, 0, 0, 0.14), transparent 60%),
        radial-gradient(ellipse at 50% 40%, rgba(30, 15, 8, 0.8) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(20, 10, 5, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(25, 12, 6, 0.4) 0%, transparent 45%),
        #0a0a0a;
    background-attachment: scroll;
}

/* Smoothly fade the hero into the dark features section below. */
.coming-soon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48vh;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(10, 10, 10, 0.35) 35%,
        rgba(10, 10, 10, 0.82) 72%,
        #0a0a0a 100%
    );
    z-index: 5;
    pointer-events: none;
}

.brand-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.globe-stage {
    position: absolute;
    inset: 0;
    z-index: 1;
}

#globe-canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
    /* Allow page scroll by default; JS blocks it only while dragging on the globe. */
    touch-action: pan-y;
}

#globe-canvas.is-grabbing {
    cursor: grabbing;
}

/* The 3D logo renders on its own canvas above the rave popups. */
#logo-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.rave-popups {
    z-index: 1;
}

.rave-popups {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.brand {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100svh;
    transform: none;
    z-index: 8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    pointer-events: none;
    text-align: center;
    padding:
        max(0.75rem, env(safe-area-inset-top))
        max(0.75rem, env(safe-area-inset-right))
        0
        max(0.75rem, env(safe-area-inset-left));
}

.brand__main {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1.1rem, max(4vw, 2.5svh), min(1.7rem, 5svh));
    width: 100%;
    min-height: 0;
    padding-top: 4svh;
}

.brand__logo {
    display: block;
    width: clamp(260px, 38vw, 480px);
    height: auto;
    max-width: 100%;
    object-fit: contain;
    animation: logoEnter 1.2s cubic-bezier(0.16, 1, 0.3, 1) both,
               logoFloat 6s ease-in-out 1.2s infinite;
}

.brand__tagline {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(0.68rem, 1.4vw, 0.82rem);
    font-weight: 600;
    letter-spacing: clamp(3px, 0.9vw, 6px);
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0.9;
    margin: 0;
    animation: brandTaglineFadeIn 1.4s ease 0.6s both;
    max-width: 22rem;
    line-height: 1.45;
    text-align: center;
}

.brand__scroll-cue {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    margin-top: auto;
    padding:
        1.25rem max(0.5rem, env(safe-area-inset-right))
        max(0.35rem, env(safe-area-inset-bottom))
        max(0.5rem, env(safe-area-inset-left));
    z-index: 6;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.92) 0%,
        rgba(10, 10, 10, 0.55) 55%,
        transparent 100%
    );
    pointer-events: none;
}

.hero-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    opacity: 1;
    animation: heroScrollHintBounce 2.4s ease-in-out infinite;
}

.hero-scroll-hint__chev {
    display: block;
    color: #ff2d4b;
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(255, 45, 75, 0.4));
}

@keyframes heroScrollHintBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
}

@keyframes brandFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes brandTaglineFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 0.9; transform: translateY(0); }
}

/* RaveRadar pill — hidden until radar is public */
.radar-cta {
    display: none;
    position: relative;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0.28rem 0.62rem 0.28rem 0.32rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 8px 24px rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.72);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    pointer-events: auto;
    overflow: visible;
    animation: brandFadeIn 1.4s ease 0.75s both;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.radar-cta__pill-rings {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

.radar-cta__pill-ring {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1.5px solid rgba(255, 45, 75, 0.58);
    box-shadow:
        0 0 16px rgba(255, 45, 75, 0.28),
        inset 0 0 8px rgba(255, 45, 75, 0.08);
    animation: radarPillPing 2.8s ease-out infinite;
}

.radar-cta__pill-ring:nth-child(2) { animation-delay: 1.4s; }

@keyframes radarPillPing {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    35% {
        opacity: 0.72;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

.radar-cta:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
}

.radar-cta__icon-wrap {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    z-index: 1;
}

.radar-cta__rings {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
}

.radar-cta__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 45, 75, 0.35);
    animation: radarPing 2.8s ease-out infinite;
}

.radar-cta__ring:nth-child(2) { animation-delay: 1.4s; }

@keyframes radarPing {
    0% {
        transform: scale(0.65);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

.radar-cta__icon {
    position: relative;
    z-index: 1;
    display: block;
    color: #ff2d4b;
    filter: drop-shadow(0 0 6px rgba(255, 45, 75, 0.4));
}

.radar-cta__label {
    position: relative;
    z-index: 1;
    padding-right: 0.05rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.62);
}

.radar-cta:active {
    transform: scale(0.98);
}

/* Desktop globe hidden — mobile layout is universal */
.hero-globe-desktop {
    display: none !important;
}

/* Narrow: logo fills almost full viewport width */
@media (max-width: 760px) {
    .brand__logo {
        width: clamp(280px, 96vw, min(520px, 58svh));
    }
}

/* Wide: give the radar CTA gap a little more breathing room */
@media (min-width: 761px) {
    .radar-cta {
        gap: clamp(0.5rem, 1.2vw, 0.9rem);
        font-size: clamp(0.7rem, 0.85vw, 0.88rem);
    }
}

/* Outer element only positions the bubble at the rave location. */
.rave-msg {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: transform, opacity;
}

/* Inner element is the actual chat bubble; it grows out of its bottom
   (the tail) which sits exactly on the location. */
.rave-msg__inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    width: max-content;
    max-width: 230px;
    padding: 0.55rem 0.7rem;
    background: rgba(18, 7, 8, 0.9);
    border: 1px solid rgba(255, 45, 75, 0.3);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(176, 0, 18, 0.25);
    transform-origin: bottom center;
}

.rave-msg.is-visible .rave-msg__inner {
    animation: raveMsgIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Grows from a point at the tail/location up into the full bubble. */
@keyframes raveMsgIn {
    from {
        opacity: 0;
        transform: scale(0.1) translateY(4px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.rave-msg__avatar {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #ff5a6e, #b00012 70%);
    box-shadow: 0 0 10px rgba(255, 45, 75, 0.6);
    position: relative;
}

.rave-msg__avatar::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    border: 2px solid rgba(18, 7, 8, 0.95);
}

.rave-msg__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.25;
}

.rave-msg__top {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.rave-msg__name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ff5a6e;
}

.rave-msg__time {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.6rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
}

.rave-msg__text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.rave-msg__text strong {
    font-weight: 700;
    color: #ffffff;
}

/* Rave popup tweaks on narrow viewports (desktop globe + radar page). */
@media (max-width: 760px) {
    .rave-msg__inner {
        max-width: 64vw;
        padding: 0.45rem 0.6rem;
    }
    .rave-msg__text { font-size: 0.72rem; }
    .rave-msg__avatar { width: 22px; height: 22px; }
}

.glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    transform: translate(-50%, -55%);
    border-radius: 50%;
    /* Matches admin .brand-mark__orb */
    background: radial-gradient(
        circle,
        rgba(139, 0, 0, 0.18) 0%,
        rgba(139, 0, 0, 0.06) 40%,
        transparent 70%
    );
    animation: orbPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes orbPulse {
    0%, 100% {
        transform: translate(-50%, -55%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -55%) scale(1.15);
        opacity: 1;
    }
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    z-index: 1;
}

.logo {
    width: clamp(180px, 40vw, 400px);
    height: auto;
    animation: logoEnter 1.2s cubic-bezier(0.16, 1, 0.3, 1) both,
               logoFloat 6s ease-in-out 1.2s infinite;
}

@keyframes logoEnter {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 1.5rem 0;
    animation: dividerEnter 0.8s ease 1s both;
}

@keyframes dividerEnter {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

.title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1rem, 3vw, 1.6rem);
    font-weight: 400;
    color: #ffffff;
    letter-spacing: clamp(6px, 1.5vw, 14px);
    text-indent: clamp(6px, 1.5vw, 14px);
    animation: titleEnter 1s ease 1.3s both;
}

.footer {
    position: absolute;
    bottom: clamp(16px, 3vh, 32px);
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 1;
    animation: footerEnter 1s ease 1.8s both;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 0.8rem;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease, transform 0.3s ease;
}

.socials a svg {
    width: 18px;
    height: 18px;
}

.socials a:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.footer p {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(0.65rem, 1.2vw, 0.8rem);
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 1px;
    line-height: 1.8;
}

@keyframes footerEnter {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes titleEnter {
    from {
        opacity: 0;
        letter-spacing: clamp(12px, 3vw, 28px);
        text-indent: clamp(12px, 3vw, 28px);
    }
    to {
        opacity: 1;
        letter-spacing: clamp(6px, 1.5vw, 14px);
        text-indent: clamp(6px, 1.5vw, 14px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .glow-orb,
    .logo,
    .divider {
        animation: none;
    }
}

/* ============================================================
   Features section — cards fly into a phone as you scroll
   ============================================================ */
.features {
    position: relative;
    height: 440vh; /* extra 100vh = dwell after animation completes */
    background: linear-gradient(180deg, #0a0a0a 0%, #140809 40%, #0a0506 100%);
    counter-reset: feature;
}

.features__sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    /* Phone width shared between phone-host sizing and eyebrow positioning.
       36svh cap keeps phone height ≤ ~75svh so there's always room above it. */
    --phone-w: clamp(200px, min(24vw, 36svh), 300px);
}

.features__eyebrow {
    position: absolute;
    /* Always 4rem above the phone's actual top edge, whatever the screen size.
       Phone top = 50% − phone-w × (624.5/300)/2 = 50% − phone-w × 1.0408 */
    top: calc(50% - var(--phone-w) * 1.0408 - 4rem);
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(0.7rem, 1.6vw, 1rem);
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    white-space: nowrap;
    z-index: 5;
    height: 1.4em;
}

.features__eyebrow span {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.features__eyebrow-b {
    opacity: 0;
    color: #ff5a6e;
}

.feature-card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(210px, 20vw, 264px);
    padding: 1.6rem 1.6rem 1.7rem;
    background: rgba(12, 6, 8, 0.4);
    border-radius: 18px;
    backdrop-filter: blur(8px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
    transform: translate(-50%, -50%);
    transform-origin: center center;
    will-change: transform, opacity;
    z-index: 4;
    transition: box-shadow 0.35s ease;
}

/* Fancy outline on two opposite corners only (top-left + bottom-right). */
.feature-card::before,
.feature-card::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    pointer-events: none;
    transition: border-color 0.35s ease, width 0.35s ease, height 0.35s ease;
}

.feature-card::before {
    top: 0;
    left: 0;
    border-top: 2px solid #ff2d4b;
    border-left: 2px solid #ff2d4b;
    border-top-left-radius: 18px;
}

.feature-card::after {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid #ff2d4b;
    border-right: 2px solid #ff2d4b;
    border-bottom-right-radius: 18px;
}

.feature-card:hover {
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 45, 75, 0.22);
}

.feature-card:hover::before,
.feature-card:hover::after {
    width: 40px;
    height: 40px;
    border-color: #ff5a6e;
}

.feature-card__tag {
    display: inline-block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.22rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    margin-bottom: 0.9rem;
}

.feature-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.14rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #fff;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

/* ---- Phone host — controls size & position, provides container context ---- */
.phone-host {
    container-type: inline-size;
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--phone-w, clamp(200px, 24vw, 300px));
    aspect-ratio: 300 / 624.5;
    transform: translate(-50%, -50%);
    z-index: 3;
}

/* ---- Phone frame — visual shell, uses cqi (= host width) for all radii ---- */
/* All values scaled from the 300×624.5 reference. */
.phone {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 14cqi;        /* 42px / 300px */
    background: linear-gradient(160deg, #2a2a2e, #0c0c0e 60%);
    padding: 3.667cqi;           /* 11px / 300px */
    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.6),
        inset 0 0 0 2px rgba(255, 255, 255, 0.06);
    transition: box-shadow 0.4s ease;
}

.phone.is-on {
    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.6),
        0 0 70px rgba(255, 45, 75, 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.phone__notch {
    position: absolute;
    top: 5.333cqi;               /* 16px / 300px */
    left: 50%;
    transform: translateX(-50%);
    width: 36%;
    height: 7.333cqi;            /* 22px / 300px */
    background: #0c0c0e;
    border-radius: 0 0 4.667cqi 4.667cqi; /* 14px / 300px */
    z-index: 2;
}

.phone__screen {
    width: 100%;
    height: 100%;
    border-radius: 10.667cqi;   /* 32px / 300px */
    overflow: hidden;
    background: #000;
    position: relative;
}

/* Standby logo shown on the black screen when the phone is "off". */
.phone__standby {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 42%;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    filter: drop-shadow(0 0 16px rgba(255, 45, 75, 0.3));
}

/* ---- App UI inside the screen ---- */
.app {
    position: absolute;
    inset: 0;
    background: #0a0405;
    opacity: 0;
    transform: scale(1.04);
    will-change: opacity, transform;
}

.app__shot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* ---- App store buttons (fade in once the app boots) ---- */
.app-stores {
    position: absolute;
    left: 50%;
    bottom: clamp(18px, 4.5vh, 46px);
    transform: translateX(-50%) translateY(16px);
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    width: min(calc(100vw - 2rem), 440px);
    opacity: 0;
    will-change: opacity, transform;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    padding: 0.55rem 0.85rem;
    border-radius: 13px;
    background: #0d0708;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 22px rgba(255, 45, 75, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.store-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 45, 75, 0.55);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 45, 75, 0.3);
}

.store-btn__icon {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    fill: #fff;
    display: block;
}

.store-btn__icon--apple {
    width: 22px;
    height: 26px;
    margin-inline: 2px;
}

.store-btn__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: center;
    min-width: 0;
}

.store-btn__text small {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.65);
}

.store-btn__text strong {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .app-stores {
        gap: 0.45rem;
        bottom: clamp(8px, 1.6vh, 18px);
        width: min(calc(100vw - 1rem), 440px);
    }
    .store-btn {
        padding: 0.38rem 0.5rem;
        gap: 0.35rem;
        border-radius: 10px;
        min-height: 40px;
    }
    .store-btn__icon {
        flex-basis: 17px;
        width: 17px;
        height: 17px;
    }
    .store-btn__icon--apple {
        width: 14px;
        height: 17px;
        margin-inline: 1.5px;
    }
    .store-btn__text strong { font-size: 0.72rem; }
    .store-btn__text small { font-size: 0.46rem; }
}

.app__statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.app__statusbar-icons {
    width: 34px;
    height: 8px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.5);
}

.app__header {
    margin-bottom: 0.9rem;
}

.app__logo {
    display: block;
    height: 26px;
    width: auto;
}

.app__hero {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 45, 75, 0.85), rgba(120, 0, 20, 0.85));
    margin-bottom: 1rem;
}

.app__hero-tag {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.app__hero strong {
    font-size: 0.95rem;
    color: #fff;
}

.app__list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
}

.app__row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.7rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.app__row-ic {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: radial-gradient(circle at 50% 35%, #ff5a6e, #b00012);
    flex-shrink: 0;
}

.app__nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 0.7rem;
    margin-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.app__nav span {
    width: 22px;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.18);
}

.app__nav span.is-active {
    background: #ff2d4b;
}

@media (max-width: 720px) {
    .feature-card { width: clamp(140px, 44vw, 200px); padding: 1.1rem 1.1rem 1.2rem; }
    .feature-card p { display: none; }
    .feature-card h3 { font-size: clamp(1rem, 4.4vw, 1.3rem); }
}

/* ============================================================
   Drop section — the limited backpack, hooked up to the backend
   ============================================================ */
.drop {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(3rem, 8vh, 7rem) clamp(1.2rem, 5vw, 4rem);
    background:
        radial-gradient(1000px 760px at 85% 45%, rgba(176, 0, 18, 0.2), transparent 62%),
        radial-gradient(800px 600px at 8% 100%, rgba(126, 16, 35, 0.16), transparent 60%),
        linear-gradient(180deg, #0a0506 0%, #110407 55%, #0a0506 100%);
    overflow: hidden;
}

/* Blend the top edge into the section above (same dark color, eased in). */
.drop::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32vh;
    background: linear-gradient(to bottom, #0a0506 0%, rgba(10, 5, 6, 0.6) 45%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Blend the bottom edge into the app section below. */
.drop::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 34vh;
    background: linear-gradient(to top, #0a0506 0%, rgba(10, 5, 6, 0.6) 45%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.drop__inner {
    position: relative;
    z-index: 1;
}

.drop__inner {
    width: 100%;
    max-width: 1120px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

/* ---- Gallery ---- */
.drop__gallery {
    position: relative;
}

/* Pulsing glow halo behind the product. */
.drop__gallery::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 46%;
    width: 95%;
    height: 95%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 45, 75, 0.4) 0%, rgba(176, 0, 18, 0.18) 38%, transparent 68%);
    filter: blur(30px);
    z-index: 0;
    pointer-events: none;
    animation: dropHaloPulse 5s ease-in-out infinite;
}

@keyframes dropHaloPulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.drop__thumbs { position: relative; z-index: 1; }

.drop__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #ff2d4b, #b00012);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(255, 45, 75, 0.4);
}

.drop__stage {
    position: relative;
    z-index: 1;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(160deg, #1c0a0e, #0c0506);
    border: 1px solid rgba(255, 45, 75, 0.22);
    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.6),
        0 0 70px rgba(255, 45, 75, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    aspect-ratio: 1 / 1;
}

/* Animated shine sweeping across the product. */
.drop__stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.14) 50%, transparent 62%);
    background-size: 250% 100%;
    background-repeat: no-repeat;
    animation: dropShine 5.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes dropShine {
    0% { background-position: 140% 0; }
    55%, 100% { background-position: -40% 0; }
}

.drop__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.drop__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    background: rgba(10, 5, 6, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.25s ease, transform 0.25s ease;
}

.drop__nav:hover { background: rgba(255, 45, 75, 0.55); }
.drop__nav--prev { left: 12px; }
.drop__nav--next { right: 12px; }

.drop__thumbs {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.drop__thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.25s ease, border-color 0.25s ease;
}

.drop__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.drop__thumb.is-active { opacity: 1; border-color: #ff2d4b; }

/* ---- Info column ---- */
.drop__eyebrow {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ff5a6e;
    margin-bottom: 0.8rem;
}

.drop__title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 1.1rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(255, 45, 75, 0.22);
}

.drop__desc {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(0.92rem, 1.4vw, 1.05rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 1.5rem;
    max-width: 46ch;
}

.drop__benefits {
    list-style: none;
    margin: 0 0 1.8rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.drop__benefits li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
}

.drop__check {
    flex-shrink: 0;
    width: 18px;
    height: 22px;
    background: linear-gradient(180deg, #ffb15a 0%, #ff2d4b 52%, #b00012 100%);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M216 23.86c0-23.8-30.65-32.77-44.15-13.04C48 191.85 224 200 224 288c0 35.63-29.11 64.46-64.85 63.99-35.17-.45-63.15-29.77-63.15-64.94v-85.51c0-21.7-26.47-32.23-41.43-16.5C27.8 213.16 0 261.33 0 320c0 105.87 86.13 192 192 192s192-86.13 192-192c0-170.29-168-193-168-288.14z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M216 23.86c0-23.8-30.65-32.77-44.15-13.04C48 191.85 224 200 224 288c0 35.63-29.11 64.46-64.85 63.99-35.17-.45-63.15-29.77-63.15-64.94v-85.51c0-21.7-26.47-32.23-41.43-16.5C27.8 213.16 0 261.33 0 320c0 105.87 86.13 192 192 192s192-86.13 192-192c0-170.29-168-193-168-288.14z'/%3E%3C/svg%3E") no-repeat center / contain;
    filter: drop-shadow(0 0 7px rgba(255, 45, 75, 0.6));
}

.drop__stock {
    margin-bottom: 1.8rem;
    max-width: 360px;
}

.drop__stock-bar {
    height: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    margin-bottom: 0.7rem;
}

.drop__stock-bar span {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff2d4b, #ff5a6e);
    box-shadow: 0 0 16px rgba(255, 45, 75, 0.75);
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.drop__stock-label {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #fff;
}

.drop__stock-count {
    color: #ff3d58;
    font-weight: 800;
    font-size: 1.08em;
}

.drop__stock.is-low .drop__stock-count { color: #ff2d4b; }

.drop__purchase {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.drop__price {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #fff;
}

.drop__cta {
    flex: 1;
    max-width: 240px;
    padding: 1rem 1.6rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    background: linear-gradient(135deg, #ff2d4b, #b00012);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(255, 45, 75, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.drop__cta:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(255, 45, 75, 0.5);
}

.drop__cta:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(135deg, #555, #333);
    box-shadow: none;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.drop.in-view .reveal,
.appfeatures.in-view .reveal,
.community.in-view .reveal,
.home-faq.in-view .reveal {
    opacity: 1;
    transform: translateY(0);
}

.drop.in-view .drop__info .reveal:nth-child(1) { transition-delay: 0.05s; }
.drop.in-view .drop__info .reveal:nth-child(2) { transition-delay: 0.12s; }
.drop.in-view .drop__info .reveal:nth-child(3) { transition-delay: 0.19s; }
.drop.in-view .drop__info .reveal:nth-child(4) { transition-delay: 0.26s; }
.drop.in-view .drop__info .reveal:nth-child(5) { transition-delay: 0.33s; }
.drop.in-view .drop__info .reveal:nth-child(6) { transition-delay: 0.4s; }

@media (max-width: 820px) {
    .drop__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .drop__gallery { max-width: 440px; margin: 0 auto; width: 100%; }
}

@media (max-width: 480px) {
    .drop__title { font-size: clamp(1.6rem, 7.4vw, 2.3rem); }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Mobile scroll performance ---- */
/* backdrop-filter forces GPU compositing layers — too expensive on mobile. */
@media (hover: none) and (pointer: coarse) {
    .rave-msg__inner {
        backdrop-filter: none;
        background: rgba(10, 4, 5, 0.97);
    }
    .feature-card {
        backdrop-filter: none;
        background: rgba(10, 4, 5, 0.88);
        will-change: auto;
    }
    .drop__nav {
        backdrop-filter: none;
        background: rgba(10, 4, 5, 0.75);
    }
    .af-card,
    .af-feature {
        backdrop-filter: none;
        background: rgba(10, 4, 5, 0.88);
    }
    .af-lightbox__backdrop {
        backdrop-filter: none;
        background: rgba(5, 2, 3, 0.96);
    }
    /* Remove permanent layer promotion — only needed during JS-driven animation */
    .rave-msg {
        will-change: auto;
    }
    .app {
        will-change: auto;
    }
    .app-stores {
        will-change: auto;
    }
}

/* ============================================================
   App explainer section
   ============================================================ */
.appfeatures {
    position: relative;
    padding: clamp(4rem, 12vh, 9rem) clamp(1.2rem, 5vw, 4rem) clamp(2rem, 5vh, 3.5rem);
    background:
        radial-gradient(900px 700px at 15% 30%, rgba(176, 0, 18, 0.16), transparent 60%),
        radial-gradient(800px 600px at 90% 80%, rgba(126, 16, 35, 0.16), transparent 60%),
        linear-gradient(180deg, #0a0506 0%, #100407 50%, #0a0506 100%);
    overflow: hidden;
}

.appfeatures::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 28vh;
    background: linear-gradient(to bottom, #0a0506 0%, rgba(10, 5, 6, 0.6) 45%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.appfeatures__inner {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

.af-eyebrow {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ff5a6e;
    margin-bottom: 0.9rem;
}

.af-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.5px;
    color: #fff;
    margin-bottom: 0.9rem;
}

.af-lead {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 56ch;
    margin: 0 auto clamp(2.5rem, 5vh, 4rem);
}

.af-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.6rem);
    margin-bottom: clamp(1rem, 2vw, 1.6rem);
    text-align: left;
}

/* Card with fancy two-corner brackets (matches the feature panels). */
.af-card,
.af-feature {
    position: relative;
    background: rgba(14, 7, 9, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    backdrop-filter: blur(8px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.af-card {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: clamp(0.7rem, 1.2vw, 1.1rem);
    align-items: center;
    padding: clamp(0.9rem, 1.5vw, 1.3rem);
}

.af-card h3 { font-size: clamp(1rem, 1.3vw, 1.2rem); }
.af-card p { font-size: clamp(0.78rem, 0.95vw, 0.9rem); }

/* Card phone host — reuses .phone-host container context, overrides layout */
.af-card__phone-host {
    container-type: inline-size;
    width: 100%;
    aspect-ratio: 300 / 624.5;
    justify-self: center;
}

.af-card__phone-host .phone {
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.af-card__media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.af-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 45, 75, 0.45);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 45, 75, 0.2);
}

.af-card--interactive {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.af-card--interactive:focus-visible {
    outline: 2px solid rgba(255, 90, 110, 0.85);
    outline-offset: 4px;
}

/* ---- Feature card lightbox ---- */
body.af-lightbox-open {
    overflow: hidden;
}

.af-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 2rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.af-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.af-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    background: rgba(5, 2, 3, 0.88);
    backdrop-filter: blur(10px);
}

.af-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: min(92vh, 920px);
    overflow: auto;
    display: grid;
    grid-template-columns: minmax(220px, 42%) 1fr;
    gap: clamp(1rem, 2.5vw, 1.6rem);
    align-items: center;
    padding: clamp(1.2rem, 3vw, 1.8rem);
    text-align: left;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(255, 45, 75, 0.12), transparent 55%),
        rgba(14, 7, 9, 0.96);
    border: 1px solid rgba(255, 45, 75, 0.28);
    border-radius: 22px;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.65),
        0 0 60px rgba(255, 45, 75, 0.18);
    transform: scale(0.9) translateY(18px);
    opacity: 0;
    transition:
        transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.32s ease;
}

.af-lightbox.is-open .af-lightbox__dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.af-lightbox__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.af-lightbox__close:hover {
    border-color: rgba(255, 45, 75, 0.55);
    background: rgba(255, 45, 75, 0.18);
    color: #ff5a6e;
}

.af-lightbox__phone-host {
    container-type: inline-size;
    width: 100%;
    max-width: min(280px, 100%);
    margin: 0 auto;
    aspect-ratio: 300 / 624.5;
}

.af-lightbox__phone-host .phone {
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.af-lightbox__media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.af-lightbox__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: center;
}

.af-lightbox__body h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem;
}

#afLightboxText {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.af-lightbox__body .af-chip {
    margin-top: 1.1rem;
}

@media (max-width: 720px) {
    .af-lightbox {
        padding: 0;
        align-items: stretch;
    }

    .af-lightbox__dialog {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: 100svh;
        max-height: 100dvh;
        border-radius: 0;
        border: none;
        box-shadow: none;
        gap: clamp(0.85rem, 2.5vw, 1.25rem);
        padding:
            max(3rem, calc(env(safe-area-inset-top) + 2.75rem))
            max(1rem, env(safe-area-inset-right))
            max(1.25rem, env(safe-area-inset-bottom))
            max(1rem, env(safe-area-inset-left));
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .af-lightbox__close {
        top: max(0.65rem, env(safe-area-inset-top));
        right: max(0.65rem, env(safe-area-inset-right));
    }

    .af-lightbox__phone-host {
        /*
         * As wide as the screen allows, capped by remaining viewport height
         * so the phone + copy fit without feeling like a floating card.
         */
        --af-lb-phone-max-h: calc(
            100svh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 13.5rem
        );
        flex: 0 0 auto;
        width: min(92vw, calc(var(--af-lb-phone-max-h) * 300 / 624.5));
        max-width: none;
        max-height: var(--af-lb-phone-max-h);
        margin: 0 auto;
        aspect-ratio: 300 / 624.5;
    }

    .af-lightbox__body {
        flex: 0 0 auto;
        width: min(92vw, 480px);
        align-self: center;
        text-align: center;
        align-items: center;
    }

    .af-lightbox__body h3,
    #afLightboxText {
        text-align: center;
    }

    .af-lightbox__body .af-chip {
        margin-top: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .af-lightbox,
    .af-lightbox__dialog {
        transition: none;
    }
}

.af-card h3,
.af-feature h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
}

.af-card p,
.af-feature p {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.62);
}

.af-chip {
    display: inline-block;
    margin-top: 1.1rem;
    padding: 0.35rem 0.8rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ff8a98;
    background: transparent;
    border: none;
    border-radius: 999px;
}

/* ---- Card highlight block ---- */
.af-feature {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    padding: clamp(1.8rem, 4vw, 3rem);
    text-align: left;
}

.af-feature__text .af-chip { margin-top: 0; margin-bottom: 1rem; }

.af-chip--gold {
    color: #ffd98a;
    background: rgba(255, 196, 0, 0.12);
    border: 1px solid rgba(255, 196, 0, 0.4);
}

.af-feature h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }

.af-steps {
    display: flex;
    gap: 1rem;
    margin-top: 1.6rem;
    flex-wrap: wrap;
}

.af-step {
    flex: 1;
    min-width: 120px;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.6);
}

.af-step b { color: #ff5a6e; font-size: 0.95rem; }

/* ---- Digital card visual ---- */
.af-feature__visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

/* Pulsing glow halo — same as drop gallery. */
.af-feature__visual::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 110%;
    height: 130%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 45, 75, 0.4) 0%, rgba(176, 0, 18, 0.18) 38%, transparent 68%);
    filter: blur(30px);
    z-index: 0;
    pointer-events: none;
    animation: dropHaloPulse 5s ease-in-out infinite;
}

.rd-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1.6 / 1;
    padding: 1.4rem 1.5rem;
    border-radius: 18px;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(255, 90, 110, 0.5), transparent 55%),
        linear-gradient(150deg, #7e1023 0%, #45000c 70%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 50px rgba(255, 45, 75, 0.2);
    transform: rotateY(-14deg) rotateX(6deg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Animated shine sweep — same as drop stage. */
.rd-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.14) 50%, transparent 62%);
    background-size: 250% 100%;
    background-repeat: no-repeat;
    animation: dropShine 5.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

.rd-card__chip {
    width: 38px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, #f4d07a, #b8862f);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.rd-card__logo {
    position: absolute;
    top: 1.2rem;
    right: 1.3rem;
    width: 56px;
    height: auto;
    opacity: 0.92;
}

.rd-card__bottom {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.8rem;
}

.rd-card__label {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.rd-card__balance {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

.rd-card__name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
}

/* Stagger reveals in the app section. */
.appfeatures.in-view .af-card:nth-child(1) { transition-delay: 0.05s; }
.appfeatures.in-view .af-card:nth-child(2) { transition-delay: 0.13s; }
.appfeatures.in-view .af-card:nth-child(3) { transition-delay: 0.21s; }

@media (max-width: 820px) {
    .af-grid { grid-template-columns: 1fr; }
    .af-feature { grid-template-columns: 1fr; }
    .rd-card { transform: none; }
    .af-chip--gold { display: none; }

    .af-card {
        grid-template-columns: clamp(150px, 34%, 230px) 1fr;
        gap: clamp(1.3rem, 4vw, 2.2rem);
        padding: clamp(1.4rem, 4vw, 1.8rem);
    }
    .af-card h3 { font-size: 1.2rem; }
    .af-card p { font-size: 0.9rem; }

    /* Live Festival Feed: image on the right. */
    .af-card:nth-child(2) {
        grid-template-columns: 1fr clamp(150px, 34%, 230px);
    }
    .af-card:nth-child(2) .af-card__phone-host {
        grid-column: 2;
        grid-row: 1;
    }
    .af-card:nth-child(2) .af-card__body {
        grid-column: 1;
        grid-row: 1;
    }
}

/* ============================================================
   Community photo marquee
   ============================================================ */
.community {
    position: relative;
    padding: clamp(1.6rem, 4vh, 3rem) 0 clamp(3.5rem, 9vh, 7rem);
    background: #0a0506;
    overflow: hidden;
}

.community__head {
    max-width: 1140px;
    margin: 0 auto clamp(2rem, 4vh, 3rem);
    padding: 0 clamp(1.2rem, 5vw, 4rem);
    text-align: center;
}

.community__title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    margin-bottom: 0.8rem;
}

.community__lead {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(0.92rem, 1.4vw, 1.05rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 52ch;
    margin: 0 auto;
}

.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marqueeSlide 50s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

@keyframes marqueeSlide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.ph-tile {
    flex: 0 0 auto;
    width: clamp(190px, 21vw, 270px);
    aspect-ratio: 4 / 5;
    margin-right: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(34, 13, 17, 0.6), rgba(12, 6, 8, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
}

.ph-tile__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 15px;
    background: rgba(255, 45, 75, 0.1);
    border: 1px solid rgba(255, 45, 75, 0.28);
    color: #ff6275;
}

.ph-tile__icon svg { width: 28px; height: 28px; }

.ph-tile figcaption {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
    .marquee__track,
    .drop__stage::after,
    .drop__gallery::before,
    .rd-card::after,
    .af-feature__visual::before { animation: none; }
}

/* ============================================================
   Home FAQ
   ============================================================ */
.home-faq {
    position: relative;
    background: #0a0506;
    padding: clamp(2.5rem, 7vh, 5rem) clamp(1.2rem, 5vw, 4rem) clamp(3rem, 8vh, 6rem);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-faq__inner {
    max-width: 760px;
    margin: 0 auto;
}

.home-faq__head {
    text-align: center;
    margin-bottom: clamp(1.8rem, 4vh, 2.8rem);
}

.home-faq__title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.6rem, 3.6vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    margin: 0.4rem 0 0.7rem;
}

.home-faq__lead {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(0.92rem, 1.4vw, 1.05rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 52ch;
    margin: 0 auto;
}

.home-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.home-faq__item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(34, 13, 17, 0.45), rgba(12, 6, 8, 0.45));
    padding: 0 clamp(1rem, 2.5vw, 1.4rem);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.home-faq__item[open] {
    border-color: rgba(255, 45, 75, 0.4);
}

.home-faq__item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(0.98rem, 1.6vw, 1.1rem);
    font-weight: 600;
    color: #fff;
}

.home-faq__item summary::-webkit-details-marker { display: none; }

.home-faq__item summary::after {
    content: '+';
    flex: 0 0 auto;
    font-size: 1.4rem;
    line-height: 1;
    color: #ff5a6e;
    transition: transform 0.25s ease;
}

.home-faq__item[open] summary::after {
    content: '\2212';
    transform: rotate(180deg);
}

.home-faq__body {
    padding: 0 0 1.1rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.62);
}

.home-faq__body a {
    color: #ff5a6e;
    text-decoration: none;
}

.home-faq__body a:hover { text-decoration: underline; }

.home-faq__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-top: clamp(1.8rem, 4vh, 2.6rem);
}

.home-faq__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #ff2d4b, #ff5a6e);
    box-shadow: 0 10px 30px rgba(255, 45, 75, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-faq__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(255, 45, 75, 0.45);
}

.home-faq__link {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.25s ease;
}

.home-faq__link:hover { color: #ff5a6e; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: #080405;
    border-top: 1px solid rgba(255, 45, 75, 0.18);
    padding: clamp(2.5rem, 6vh, 4rem) clamp(1.2rem, 5vw, 4rem) 1.6rem;
    font-family: Georgia, 'Times New Roman', serif;
}

.site-footer__inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem;
}

.site-footer__brand {
    max-width: 280px;
}

.site-footer__logo {
    width: 170px;
    height: auto;
    margin-bottom: 0.9rem;
}

.site-footer__brand p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.45);
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.site-footer__links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.25s ease;
}

.site-footer__links a:hover {
    color: #ff5a6e;
}

.site-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.site-footer__contact-label {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.site-footer__contact a {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: color 0.25s ease;
}

.site-footer__contact a:hover {
    color: #ff5a6e;
}

/* Social icon buttons */
.site-footer__social {
    display: flex;
    gap: 0.7rem;
    margin-top: 1rem;
}

.site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.site-footer__social a:hover {
    color: #fff;
    background: rgba(255, 45, 75, 0.18);
    border-color: rgba(255, 45, 75, 0.55);
    transform: translateY(-2px);
}

.site-footer__social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* App download buttons in the footer */
.site-footer__apps-label {
    margin-top: 1.4rem;
}

.site-footer__apps {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.7rem;
    align-items: flex-start;
}

/* The footer buttons reuse .store-btn but sit in normal flow. */
.site-footer__apps .store-btn {
    width: 100%;
    max-width: 220px;
    min-height: 48px;
}

.site-footer__bottom {
    max-width: 1140px;
    margin: 2.5rem auto 0;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 620px) {
    .site-footer__inner { flex-direction: column; gap: 1.8rem; }
}
