/* style.css — FLOW Infinite Microsite */
/* Comprehensive responsive overhaul */

/* ═══════════════════════════════════════
   FONTS
   ═══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

@font-face {
    font-family: 'Breadley Sans';
    src: url('assets/fonts/BreadleySans-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Breadley Sans';
    src: url('assets/fonts/BreadleySans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Breadley Sans';
    src: url('assets/fonts/BreadleySans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ═══════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════ */
:root {
    --ej-deep-blue: #0a1628;
    --ej-midnight: #0d1f3c;
    --ej-stardust: rgba(255, 255, 255, 0.06);
    --ej-silver: #c8cdd4;
    --ej-gold: #d4a853;
    --ej-white: #f0f2f5;

    /* Dynamic viewport height — works on iOS Safari */
    --app-height: 100vh;
    --app-height: 100dvh;

    /* Header safe area */
    --header-height: 140px;
}

/* ═══════════════════════════════════════
   RESET & GLOBAL
   ═══════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    width: 100%;
    height: var(--app-height);
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--ej-deep-blue);
    color: var(--ej-white);
}

.brand-text {
    font-family: 'Breadley Sans', serif;
    font-weight: 400;
    letter-spacing: 2px;
}

/* ═══════════════════════════════════════
   APP CONTAINER
   ═══════════════════════════════════════ */
#app-container {
    width: 100%;
    height: var(--app-height);
    max-width: 430px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: 
        radial-gradient(ellipse at 70% 20%, rgba(25, 50, 85, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 70%, rgba(8, 18, 38, 0.8) 0%, transparent 60%),
        radial-gradient(circle at 50% 40%, #12263f 0%, var(--ej-deep-blue) 70%),
        var(--ej-deep-blue);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

/* Spotlight from top-right corner */
#app-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 75%;
    background: radial-gradient(ellipse at 100% 0%,
        rgba(200, 215, 235, 0.22) 0%,
        rgba(160, 185, 220, 0.10) 25%,
        rgba(140, 170, 210, 0.04) 45%,
        transparent 65%
    );
    pointer-events: none;
    z-index: 1;
}

/* ═══════════════════════════════════════
   HERO BACKGROUND
   ═══════════════════════════════════════ */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
    pointer-events: none;
    display: none;
}

@media (min-width: 768px) {
    #bg-video {
        display: block;
    }
    body {
        background-color: transparent !important;
    }
}

#hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: url('assets/images/hero-bg.png') center center / cover no-repeat;
    opacity: 0.85;
}

/* ═══════════════════════════════════════
   PERSISTENT HEADER
   ═══════════════════════════════════════ */
#main-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    pointer-events: none;
    padding-top: env(safe-area-inset-top, 15px);
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(to bottom,
        rgba(4, 8, 18, 0.7) 0%,
        rgba(4, 8, 18, 0.4) 60%,
        transparent 100%
    );
}

.header-logo {
    height: auto;
}

/* Chrome ring icon — quiz/early screens */
.header-logo-ring {
    width: auto;
    max-height: calc(var(--header-height) - 30px);
    object-fit: contain;
}

/* FLOW Infinite logo — post-quiz screens */
.header-logo-flow {
    display: none;
    width: clamp(120px, 35vw, 180px);
}

/* When FLOW logo is active, swap visibility */
#main-header.flow-mode #header-logo-ej {
    display: none;
}

#main-header.flow-mode .header-logo-flow {
    display: block;
}

/* ═══════════════════════════════════════
   SLIDES — CORE LAYOUT
   ═══════════════════════════════════════ */
.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: var(--header-height) 20px 20px 20px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
}

.slide::-webkit-scrollbar {
    display: none;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.slide.prev {
    transform: translateX(-30%);
    opacity: 0;
}

.slide.next {
    transform: translateX(100%);
}

/* ═══════════════════════════════════════
   .content — UNIVERSAL FLEX CONTAINER
   ═══════════════════════════════════════ */
.content {
    width: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* ═══════════════════════════════════════
   SLIDE 1: WELCOME — SCROLLABLE HERO
   ═══════════════════════════════════════ */

/* Make the welcome slide scrollable */
#slide-welcome {
    padding: 0;
}

#slide-welcome .content {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: y mandatory;
    justify-content: flex-start;
}

/* First viewport — exactly one screen, nothing overflows */
.hero-viewport {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* Logo — steel/chrome icon at top, large and fixed */
.hero-icon {
    position: absolute;
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(75px, 20vw, 100px);
    height: auto;
    z-index: 10;
}

/* Bottle container — pushed lower, bottom extends behind subtitle */
.bottle-container {
    position: absolute;
    top: 22%;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 1;
}

/* Bottle — fits within container */
.bottle-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.7));
    animation: floatBottle 8s ease-in-out infinite;
}

/* Bottom fade — sits on the VIEWPORT bottom, not on the bottle.
   Creates the smooth dark gradient over the bottle's lower portion
   that the subtitle text sits on top of. */
.bottle-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(10, 22, 40, 0.6) 40%,
        rgba(10, 22, 40, 0.9) 70%,
        var(--ej-deep-blue) 100%
    );
    pointer-events: none;
    z-index: 2;
}

@keyframes floatBottle {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

/* Title text — positioned at bottom, ON TOP of the fade and bottle */
.subtitle {
    position: absolute;
    bottom: 8%;
    left: 20px;
    right: 20px;
    font-size: clamp(24px, 6.5vw, 32px);
    color: #c0c8d0;
    letter-spacing: 0.5px;
    line-height: 1.3;
    font-weight: 300;
    text-align: center;
    z-index: 5;
}

/* Scroll indicator — subtle steel chevron at bottom */
.scroll-indicator {
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    z-index: 10;
    animation: scrollBounce 2.5s ease-in-out infinite;
    opacity: 0.5;
}

.scroll-indicator svg {
    width: 22px;
    height: 22px;
    stroke: #9eaab8;
    stroke-width: 2;
    fill: none;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50%      { transform: translateX(-50%) translateY(5px); opacity: 0.8; }
}

/* Below fold — scroll to reveal */
.hero-below-fold {
    width: 100%;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 25px 40px;
    scroll-snap-align: start;
    text-align: center;
    background: var(--ej-deep-blue);
}

.hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 4.2vw, 20px);
    color: var(--ej-white);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.hero-desc-sub {
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 3.8vw, 17px);
    color: var(--ej-silver);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
    letter-spacing: 0.2px;
    max-width: 320px;
}

/* Welcome page hero logo — large and prominent (unused, kept for compat) */
.welcome-hero-logo {
    width: clamp(200px, 60vw, 280px);
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.1));
}

@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

h1 {
    font-size: clamp(22px, 5vw, 28px);
    margin-bottom: 8px;
    font-weight: 400;
}

/* Legacy welcome layout (kept for compat) */
.welcome-layout {
    justify-content: space-between !important;
}

.welcome-top {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.welcome-bottom {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn {
    padding: 16px 28px;
    border: none;
    border-radius: 40px;
    font-size: clamp(16px, 4.5vw, 20px);
    font-weight: 600;
    cursor: pointer;
    font-family: 'Breadley Sans', sans-serif;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin-top: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: scale(0.96);
}

/* Chrome / Steel metallic button — matches chrome wheel pattern */
.primary-btn {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.2) 100%),
        conic-gradient(
            #ffffff   0deg,
            #b0abb4  30deg,
            #ffffff  60deg,
            #b0abb4  90deg,
            #ffffff 120deg,
            #b0abb4 150deg,
            #ffffff 180deg,
            #b0abb4 210deg,
            #ffffff 240deg,
            #b0abb4 270deg,
            #ffffff 300deg,
            #b0abb4 330deg,
            #ffffff 360deg
        );
    background-size: 100% 100%;
    background-position: center;
    color: #0d1520;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        1px 1px 3px rgba(0, 0, 0, 0.4),
       -1px -1px 2px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 50px rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    -webkit-filter: blur(0);
}

/* Shimmer sweep */
.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: steelShimmer 3s ease-in-out infinite;
}

@keyframes steelShimmer {
    0%, 100% { left: -100%; }
    50%      { left: 150%; }
}

.primary-btn:hover,
.primary-btn:active {
    box-shadow:
        1px 1px 3px rgba(0, 0, 0, 0.4),
       -1px -1px 2px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.7),
        0 0 60px rgba(255, 255, 255, 0.3);
}

#btn-claim-prize {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

#btn-claim-prize.revealed {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.primary-btn.glow {
    box-shadow:
        1px 1px 3px rgba(0, 0, 0, 0.4),
       -1px -1px 2px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 50px rgba(255, 255, 255, 0.2);
    animation: steelPulse 2s infinite alternate;
}

@keyframes steelPulse {
    from {
        box-shadow:
            1px 1px 3px rgba(0, 0, 0, 0.4),
           -1px -1px 2px rgba(255, 255, 255, 0.3),
            0 0 15px rgba(255, 255, 255, 0.4),
            0 0 40px rgba(255, 255, 255, 0.15);
    }
    to {
        box-shadow:
            1px 1px 3px rgba(0, 0, 0, 0.4),
           -1px -1px 2px rgba(255, 255, 255, 0.3),
            0 0 30px rgba(255, 255, 255, 0.7),
            0 0 70px rgba(255, 255, 255, 0.3);
    }
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ej-gold);
    color: var(--ej-gold);
    backdrop-filter: blur(5px);
}

/* ═══════════════════════════════════════
   SLIDE 1.5: VIDEO WELCOME
   ═══════════════════════════════════════ */
#slide-video {
    padding-left: 0;
    padding-right: 0;
}

#slide-video .content {
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
}

#slide-video .slide-center {
    padding: 0;
}

#slide-video .brand-text {
    font-size: clamp(18px, 4.5vw, 24px);
    flex-shrink: 0;
}

.video-wrapper {
    width: 100%;
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Fill the full height, crop left/right */
    width: 300%;
    height: 100%;
    border: none;
}

/* ═══ Fullscreen native video player ═══ */
.video-fullscreen {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
}

/* Video slide — no header padding, full bleed */
#slide-video {
    padding: 0;
}

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

/* Play/pause overlay button */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-play-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

/* "Find Your Flow" CTA over video — centered */
.video-cta {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    width: calc(100% - 50px);
    max-width: 380px;
    text-align: center;
}

/* Glass backdrop behind logo — full width translucent band */
.logo-glass-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(6, 14, 30, 0.45) 0%, rgba(6, 14, 30, 0.25) 60%, transparent 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 3;
    pointer-events: none;
}

/* Steel ring logo overlay on video — in the top bar area */
.video-logo-overlay {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(50px, 14vw, 70px);
    height: auto;
    z-index: 4;
    opacity: 0.95;
    filter: drop-shadow(0 0 8px rgba(6, 14, 30, 0.9))
            drop-shadow(0 0 20px rgba(6, 14, 30, 0.7))
            drop-shadow(0 0 40px rgba(6, 14, 30, 0.5));
}

/* ═══════════════════════════════════════
   BACK BUTTON
   ═══════════════════════════════════════ */
.back-btn {
    background: none;
    border: none;
    color: var(--ej-silver);
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    z-index: 101;
    display: flex;
    align-items: center;
    align-self: flex-start;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    padding: 6px 0 4px;
    margin: 0;
}

.back-btn:hover {
    color: var(--ej-white);
}

/* ═══════════════════════════════════════
   QUIZ SLIDES — QUESTION + OPTIONS
   ═══════════════════════════════════════ */

/* Quiz slides get tighter padding — no header space needed */
.quiz-slide {
    padding: 10px 16px 16px 16px !important;
}

.quiz-slide .content {
    justify-content: flex-start;
    overflow: hidden;
}

.quiz-header {
    flex-shrink: 0;
    width: 100%;
    margin-bottom: 10px;
}

/* Flowing energy progress bar */
.quiz-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
}

.quiz-progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    background: linear-gradient(90deg,
        rgba(14, 128, 192, 0.4) 0%,
        #0E80C0 20%,
        #53C1B0 50%,
        #52A6DD 80%,
        rgba(82, 166, 221, 0.4) 100%
    );
    box-shadow: 0 0 8px rgba(14, 128, 192, 0.5),
                0 0 16px rgba(83, 193, 176, 0.3);
    animation: energyPulse 4s ease-in-out infinite;
}

/* Flowing shimmer sweep */
.quiz-progress-fill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 45%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0.2) 55%,
        transparent 100%
    );
    background-size: 300% 100%;
    animation: energySweep 4s ease-in-out infinite;
    border-radius: 3px;
}

/* Flowing particle dots */
.quiz-progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle 2px, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(circle 1.5px, rgba(83,193,176,0.6) 0%, transparent 100%),
        radial-gradient(circle 1px, rgba(255,255,255,0.4) 0%, transparent 100%);
    background-size: 20px 6px, 28px 6px, 14px 6px;
    background-position: 0 50%, 8px 50%, 4px 50%;
    animation: energyParticles 3s linear infinite;
    border-radius: 3px;
}

@keyframes energyPulse {
    0%, 100% { box-shadow: 0 0 6px rgba(14, 128, 192, 0.4), 0 0 12px rgba(83, 193, 176, 0.15); }
    50% { box-shadow: 0 0 10px rgba(14, 128, 192, 0.6), 0 0 20px rgba(83, 193, 176, 0.3); }
}

@keyframes energySweep {
    0% { background-position: -300% 0; }
    100% { background-position: 300% 0; }
}

@keyframes energyParticles {
    0% { background-position: 0 50%, 8px 50%, 4px 50%; }
    100% { background-position: 20px 50%, 36px 50%, 18px 50%; }
}

.question-text {
    font-family: 'Breadley Sans', serif;
    font-size: clamp(20px, 5vw, 26px);
    margin-bottom: 0;
    line-height: 1.35;
    font-weight: 300;
    color: var(--ej-white);
    flex-shrink: 0;
    text-align: center;
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    flex: 1;
    min-height: 0;
}

.option-card {
    position: relative;
    background: #0a1628;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex: 1;
    min-height: 0;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.option-card img {
    width: 100%;
    height: 100%;
    flex: 1;
    min-height: 0;
    object-fit: cover;
    object-position: center center;
    display: block;
    filter: brightness(0.85) saturate(1.1);
    transition: all 0.4s ease;
    background: #0a1628;
    transform: scale(1.05);
}

/* Compass image: show full N/S/E/W */
.option-card[data-answer="C"][data-question="q2"] img {
    object-fit: contain;
    background: #0c1424;
    transform: scale(1);
}

.option-card span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: clamp(12px, 3vw, 15px);
    text-align: center;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    padding: 14px 10px 10px;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to top, rgba(4, 10, 22, 0.85) 0%, rgba(4, 10, 22, 0.5) 60%, transparent 100%);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.option-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.015);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4),
                0 0 15px rgba(100, 140, 200, 0.1);
}

.option-card:hover img {
    filter: brightness(1) saturate(1.2);
}

.option-card.selected {
    border-color: var(--ej-gold);
    transform: scale(1.02);
    box-shadow: 0 0 18px rgba(212, 168, 83, 0.25),
                0 4px 20px rgba(0, 0, 0, 0.4);
}

.option-card.selected img {
    filter: brightness(1.05) saturate(1.2);
}

.option-card.selected span {
    color: var(--ej-gold);
    font-weight: 600;
    text-shadow: 0 0 12px rgba(212, 168, 83, 0.3);
}

/* ═══════════════════════════════════════
   PROFILE BUILDING ANIMATION SCREEN
   ═══════════════════════════════════════ */
.profiling-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Orb container */
.profile-orb {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Soft ambient glow behind the orb */
.orb-glow {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowBreathe 4s ease-in-out infinite;
}

/* The solid golden core */
.orb-core-lg {
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, #f5d998, var(--ej-gold));
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.6), 0 0 60px rgba(212, 168, 83, 0.3);
    z-index: 2;
    animation: corePulse 3s ease-in-out infinite;
}

/* Three expanding rings */
.orb-ring-1, .orb-ring-2, .orb-ring-3 {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(212, 168, 83, 0.4);
}

.orb-ring-1 {
    width: 60px;
    height: 60px;
    animation: ringExpand 3s ease-out infinite;
}

.orb-ring-2 {
    width: 60px;
    height: 60px;
    animation: ringExpand 3s ease-out 1s infinite;
}

.orb-ring-3 {
    width: 60px;
    height: 60px;
    animation: ringExpand 3s ease-out 2s infinite;
}

@keyframes glowBreathe {
    0%   { opacity: 0.5; transform: scale(0.9); }
    50%  { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.5; transform: scale(0.9); }
}

@keyframes corePulse {
    0%   { transform: scale(1); box-shadow: 0 0 30px rgba(212, 168, 83, 0.6), 0 0 60px rgba(212, 168, 83, 0.3); }
    50%  { transform: scale(1.15); box-shadow: 0 0 40px rgba(212, 168, 83, 0.8), 0 0 80px rgba(212, 168, 83, 0.4); }
    100% { transform: scale(1); box-shadow: 0 0 30px rgba(212, 168, 83, 0.6), 0 0 60px rgba(212, 168, 83, 0.3); }
}

@keyframes ringExpand {
    0%   { transform: scale(0.5); opacity: 0.8; border-color: rgba(212, 168, 83, 0.5); }
    100% { transform: scale(2); opacity: 0; border-color: rgba(212, 168, 83, 0); }
}

/* Status text that cycles */
.profiling-status {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--ej-silver);
    letter-spacing: 1.5px;
    margin-bottom: 40px;
    min-height: 20px;
    transition: opacity 0.4s ease;
}

.profiling-status.fade-out {
    opacity: 0;
}

/* Energy flow progress bar */
.energy-flow-container {
    width: 100%;
    max-width: 280px;
    height: 60px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 4px;
}
.energy-flow-container svg#energy-flow {
    filter: drop-shadow(0 0 5px rgba(255 255 255 / 20%));
}
.energy-flow-container svg#energy-flow #hexagons {
    filter: drop-shadow(0 0 5px rgba(255 255 255 / 60%));
}
.energy-flow-container svg#energy-flow path,
.energy-flow-container svg#energy-flow #waves use {
    transform-box: fill-box;
    transform-origin: center;
}
.energy-flow-container svg#energy-flow #waves {
    filter: drop-shadow(0 0 5px rgba(255 255 255 / 80%));
}

/* ═══════════════════════════════════════
   UNIVERSAL SLIDE LAYOUT — Button at bottom
   ═══════════════════════════════════════ */
.slide-layout {
    justify-content: space-between !important;
}

.slide-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    width: 100%;
    text-align: center;
}

/* ═══════════════════════════════════════
   RESULT REVEAL — TAROT CARD FLIP
   ═══════════════════════════════════════ */

/* 3D scene container */
.tarot-scene {
    flex: 1;
    min-height: 0;
    width: 100%;
    margin-top: 15px;
    perspective: 1200px;
}

/* Flipper — holds both faces */
.tarot-flipper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.tarot-flipper.flipped {
    transform: rotateY(180deg);
}

/* Shared card face styles */
.tarot-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border: 1px solid rgba(212, 168, 83, 0.35);
    border-radius: 18px;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-shadow:
        0 0 40px rgba(212, 168, 83, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(212, 168, 83, 0.15);
}

/* BACK face — logo + profiling */
.tarot-back {
    background: transparent;
    z-index: 2;
    border: none;
    box-shadow: none;
    padding: 20px;
    background: radial-gradient(ellipse at center, rgba(15, 25, 45, 0.6) 0%, rgba(10, 22, 40, 0.85) 100%);
}

/* FRONT face — fullscreen image reveal */
.tarot-front {
    transform: rotateY(180deg);
    border: none;
    box-shadow: none;
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
}

.result-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    z-index: 0;
}

/* Top gradient bar for "Your Energy Profile" text */
.result-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 24px 30px;
    background: linear-gradient(to bottom,
        rgba(4, 8, 18, 0.9) 0%,
        rgba(4, 8, 18, 0.65) 35%,
        rgba(4, 8, 18, 0.3) 65%,
        transparent 100%
    );
    z-index: 2;
    text-align: center;
}

.result-top-bar .result-eyebrow {
    margin-bottom: 0;
}

.result-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 24px 28px;
    background: linear-gradient(to top,
        rgba(4, 8, 18, 0.95) 0%,
        rgba(4, 8, 18, 0.88) 30%,
        rgba(4, 8, 18, 0.6) 60%,
        rgba(4, 8, 18, 0.2) 80%,
        transparent 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.result-divider {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ej-gold), transparent);
    margin: 8px auto 10px;
    opacity: 0.7;
}

/* Inner inset border for double-frame luxury feel */
.tarot-inner-border {
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(212, 168, 83, 0.15);
    border-radius: 12px;
    pointer-events: none;
}

/* Decorative corner flourishes */
.tarot-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 2;
}

.tarot-corner::before,
.tarot-corner::after {
    content: '';
    position: absolute;
    background: var(--ej-gold);
    opacity: 0.5;
}

.tarot-corner::before {
    width: 1px;
    height: 20px;
}

.tarot-corner::after {
    width: 20px;
    height: 1px;
}

.tarot-tl { top: 16px; left: 16px; }
.tarot-tl::before { top: 0; left: 0; }
.tarot-tl::after { top: 0; left: 0; }

.tarot-tr { top: 16px; right: 16px; }
.tarot-tr::before { top: 0; right: 0; }
.tarot-tr::after { top: 0; right: 0; }

.tarot-bl { bottom: 16px; left: 16px; }
.tarot-bl::before { bottom: 0; left: 0; }
.tarot-bl::after { bottom: 0; left: 0; }

.tarot-br { bottom: 16px; right: 16px; }
.tarot-br::before { bottom: 0; right: 0; }
.tarot-br::after { bottom: 0; right: 0; }

/* --- Back face content: Profiling Logo Scene --- */
.profiling-logo-scene {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 0;
    width: 100%;
}

.profiling-logo {
    width: clamp(90px, 28vw, 140px);
    height: auto;
    z-index: 2;
    animation: logoScan 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(14, 128, 192, 0.4))
            drop-shadow(0 0 40px rgba(83, 193, 176, 0.2));
}

@keyframes logoScan {
    0%   { filter: drop-shadow(0 0 15px rgba(14, 128, 192, 0.3)) drop-shadow(0 0 30px rgba(83, 193, 176, 0.15)); transform: scale(1); }
    50%  { filter: drop-shadow(0 0 30px rgba(14, 128, 192, 0.6)) drop-shadow(0 0 60px rgba(83, 193, 176, 0.35)); transform: scale(1.04); }
    100% { filter: drop-shadow(0 0 15px rgba(14, 128, 192, 0.3)) drop-shadow(0 0 30px rgba(83, 193, 176, 0.15)); transform: scale(1); }
}

.profiling-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(14, 128, 192, 0.4);
    animation: profilingRingPulse 3s ease-out infinite;
}

.profiling-ring-1 {
    width: 120px; height: 120px;
    animation-delay: 0s;
}
.profiling-ring-2 {
    width: 120px; height: 120px;
    animation-delay: 1s;
}
.profiling-ring-3 {
    width: 120px; height: 120px;
    animation-delay: 2s;
}

@keyframes profilingRingPulse {
    0%   { transform: scale(1); opacity: 0.6; border-color: rgba(14, 128, 192, 0.5); }
    50%  { transform: scale(2); opacity: 0.2; border-color: rgba(83, 193, 176, 0.3); }
    100% { transform: scale(2.8); opacity: 0; border-color: rgba(82, 166, 221, 0); }
}

.tarot-back .profiling-status {
    z-index: 1;
    margin-top: 16px;
    font-size: clamp(16px, 4vw, 20px);
    letter-spacing: 1px;
}

/* Energy flow bar — wider & taller */
.tarot-back .energy-flow-container {
    max-width: 90%;
    height: 80px;
    margin-top: 12px;
}

/* --- Front face content --- */
.result-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--ej-gold);
    margin-bottom: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    opacity: 0.9;
}

.result-name {
    color: #fff;
    font-size: clamp(32px, 9vw, 48px);
    line-height: 1.1;
    margin-bottom: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.result-tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(13px, 3.5vw, 16px);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.result-cta-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 3.5vw, 17px);
    color: var(--ej-gold);
    font-weight: 400;
    letter-spacing: 0.5px;
    text-align: center;
    opacity: 0.9;
}

.result-subtitle-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(12px, 3vw, 15px);
    color: var(--ej-gold);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.9;
}

.result-flow-msg {
    font-family: 'Breadley Sans', serif;
    font-size: clamp(13px, 3.5vw, 16px);
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-weight: 300;
    text-align: center;
    margin-top: 4px;
}


/* ═══════════════════════════════════════
   FORM — LEAD CAPTURE (Luxury Redesign)
   ═══════════════════════════════════════ */
.lead-eyebrow {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--ej-gold);
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    opacity: 0.9;
}

.lead-gold-line {
    width: 1px;
    height: 25px;
    background: linear-gradient(to bottom, transparent, var(--ej-gold), transparent);
    margin-bottom: 15px;
}

.lead-title {
    font-size: clamp(22px, 6vw, 30px);
    margin-bottom: 8px;
    color: var(--ej-white);
}

.lead-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(12px, 3vw, 14px);
    color: var(--ej-silver);
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.6;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 14px;
    width: 100%;
}

.input-group label {
    font-size: 10px;
    margin-bottom: 5px;
    color: var(--ej-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.input-group input {
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: white;
    font-size: 16px;
    transition: border-color 0.3s, background 0.3s;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

.input-group input:focus {
    outline: none;
    border-color: var(--ej-gold);
    background: rgba(255, 255, 255, 0.08);
}

/* ═══════════════════════════════════════
   REWARD DELIVERY PAGE
   ═══════════════════════════════════════ */
#slide-reward {
    padding: 0 !important;
}

/* Scrollable container — matches welcome-scroll pattern */
.reward-scroll-container {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: y mandatory;
    justify-content: flex-start;
}

/* First viewport — exactly one screen */
.reward-viewport {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: relative;
    scroll-snap-align: start;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--header-height) + 4px);
}

.reward-layout-inner {
    display: flex;
    flex-direction: column;
    padding: 0 20px 6px;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

/* Scroll chevron on reward page */
.reward-scroll-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

/* Below fold: Feedback section */
.reward-below-fold {
    width: 100%;
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 25px 20px;
    scroll-snap-align: start;
    text-align: center;
    background: var(--ej-deep-blue);
}

.feedback-heading {
    color: var(--ej-gold);
    font-size: clamp(20px, 5vw, 28px);
    margin-bottom: 12px;
}

/* --- Header: shrink to content --- */
.reward-header {
    flex: 0 0 auto;
    text-align: center;
    margin-top: 6px;
    margin-bottom: 4px;
}

.reward-title {
    color: var(--ej-gold);
    font-size: clamp(22px, 5.5vw, 30px);
    line-height: 1.1;
    margin-bottom: 0;
    text-align: center;
}

.reward-divider {
    margin-bottom: 4px;
}

.reward-header .result-eyebrow {
    margin-bottom: 2px;
    font-size: 9px;
}

.reward-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(11px, 3vw, 14px);
    color: var(--ej-silver);
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* --- Scroll area: grows to fill --- */
.reward-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: row;
    gap: 0;
    padding: 4px 0 4px 0;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.reward-scroll::-webkit-scrollbar { height: 0; }

.reward-scroll .reward-card {
    min-width: 100%;
    max-width: 100%;
    scroll-snap-align: start;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* --- Bottom: dots + swipe + footer, pinned to bottom --- */
.reward-bottom {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 2px 0 0;
}

.reward-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
}

.reward-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.reward-dot.active {
    background: var(--ej-gold);
    border-color: var(--ej-gold);
    box-shadow: 0 0 8px rgba(212, 168, 83, 0.4);
}

.reward-counter {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.5px;
    margin-left: 8px;
    font-weight: 500;
}

.reward-swipe-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 12px;
    background: rgba(10, 22, 40, 0.85);
    border: 1px solid rgba(212, 168, 83, 0.6);
    border-radius: 14px;
    width: fit-content;
    transition: opacity 0.3s ease;
}

.reward-swipe-label:empty {
    display: none;
}

.reward-swipe-label span {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    color: var(--ej-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.reward-swipe-label .swipe-arrow {
    display: inline-block;
    animation: swipeHint 1.5s ease-in-out infinite;
    color: var(--ej-gold);
    font-size: 12px;
    font-weight: 600;
}

.reward-footer-line {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    letter-spacing: 1px;
    font-style: italic;
    padding: 5px 16px;
    background: rgba(10, 22, 40, 0.6);
    border-radius: 12px;
}

.reward-footer-line:empty {
    display: none;
}

@keyframes swipeHint {
    0%, 100% { transform: translateX(0); opacity: 0.4; }
    50% { transform: translateX(6px); opacity: 0.8; }
}

/* --- Feedback Section --- */
.feedback-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
}

.feedback-textarea {
    flex: 1;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(212, 168, 83, 0.2);
    background: rgba(10, 22, 40, 0.6);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 300;
    resize: none;
    outline: none;
    transition: border-color 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.feedback-textarea:focus {
    border-color: var(--ej-gold);
}

.feedback-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

.feedback-pill-btn {
    flex-shrink: 0;
    padding: 5px 20px;
    border: 1px solid var(--ej-gold);
    background: transparent;
    color: var(--ej-gold);
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.feedback-pill-btn:active {
    background: rgba(212, 168, 83, 0.2);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.shake {
    animation: shake 0.3s ease;
}

/* --- Reward Card (premium glass) --- */
.reward-card {
    background: linear-gradient(160deg,
        rgba(20, 35, 60, 0.7) 0%,
        rgba(12, 24, 42, 0.6) 100%
    );
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 16px;
    padding: 14px 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}

.reward-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.reward-download-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--ej-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

.reward-download-btn:hover,
.reward-download-btn:active {
    background: rgba(212, 168, 83, 0.2);
    border-color: var(--ej-gold);
}

.reward-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.reward-card-icon.soundcloud {
    background: linear-gradient(135deg, #ff5500, #ff8800);
}

.reward-card-icon.video {
    background: linear-gradient(135deg, #0E80C0, #53C1B0);
}

.reward-card-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--ej-gold);
    font-weight: 500;
}

.reward-card-title {
    font-family: 'Breadley Sans', serif;
    font-size: clamp(15px, 4vw, 18px);
    color: #fff;
    font-weight: 300;
}

.reward-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 10px;
}

/* --- SoundCloud Album Art Card --- */
.soundcloud-artwork-link {
    display: flex;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    margin-bottom: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    flex: 1;
    min-height: 160px;
}

.soundcloud-artwork {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.soundcloud-artwork-link:hover .soundcloud-artwork,
.soundcloud-artwork-link:active .soundcloud-artwork {
    transform: scale(1.03);
    filter: brightness(0.7);
}

.soundcloud-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: opacity 0.3s;
}

.soundcloud-play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 85, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 85, 0, 0.4);
    transition: transform 0.2s;
}

.soundcloud-artwork-link:hover .soundcloud-play-btn {
    transform: scale(1.1);
}

.soundcloud-play-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
    font-weight: 600;
}

.reward-card-artist {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    text-align: center;
}

/* --- Gold Confetti Celebration --- */
.gold-confetti {
    position: absolute;
    top: -10px;
    border-radius: 2px;
    z-index: 100;
    pointer-events: none;
    animation: confettiFall var(--duration, 2.5s) ease-in forwards;
    animation-delay: var(--delay, 0s);
    opacity: 0;
}

@keyframes confettiFall {
    0% {
        opacity: 1;
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) translateX(var(--drift, 0px)) rotate(var(--rotate, 360deg));
    }
}

/* --- Video Reward Items --- */
.video-reward-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.video-reward-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: linear-gradient(135deg,
        rgba(14, 128, 192, 0.08) 0%,
        rgba(83, 193, 176, 0.06) 100%
    );
    border: 1px solid rgba(14, 128, 192, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-reward-item:hover,
.video-reward-item:active {
    background: linear-gradient(135deg,
        rgba(14, 128, 192, 0.15) 0%,
        rgba(83, 193, 176, 0.12) 100%
    );
    border-color: rgba(14, 128, 192, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(14, 128, 192, 0.15);
}

.video-thumb {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0E80C0, #53C1B0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(14, 128, 192, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.video-reward-item:hover .video-thumb {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(14, 128, 192, 0.4);
}

.video-info {
    flex: 1;
    min-width: 0;
}

.video-info-title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 2px;
}

.video-info-desc {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.video-download-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(212, 168, 83, 0.25);
    background: rgba(212, 168, 83, 0.08);
    color: var(--ej-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    text-decoration: none;
}

.video-download-btn:hover {
    background: rgba(212, 168, 83, 0.2);
    border-color: var(--ej-gold);
    transform: scale(1.1);
}

/* --- Inline Video Player Modal --- */
.video-player-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.video-player-overlay video {
    width: 100%;
    max-height: 75vh;
    border-radius: 12px;
    outline: none;
}

.video-player-close {
    position: absolute;
    top: env(safe-area-inset-top, 16px);
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

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



/* ═══════════════════════════════════════
   LOADING REVEAL (legacy, kept for compat)
   ═══════════════════════════════════════ */
.reveal-loader {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px auto;
    position: relative;
    animation: pulseLogo 2s infinite ease-in-out;
}

@keyframes pulseLogo {
    0%   { transform: scale(0.9); opacity: 0.7; }
    50%  { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5)); }
    100% { transform: scale(0.9); opacity: 0.7; }
}
