:root {
    --app-height: 100vh;
    --watermark-opacity: 0.18;
    --watermark-color: rgba(255, 255, 255, 0.55);
    --watermark-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    --watermark-stroke: 0.5px rgba(0, 0, 0, 0.35);
    --watermark-scrim: rgba(0, 0, 0, 0.12);
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #0a0f1f;
    background-image:
        radial-gradient(120% 120% at 15% 20%, rgba(90, 195, 255, 0.26), rgba(10, 15, 31, 0.92) 65%),
        radial-gradient(120% 120% at 85% 25%, rgba(255, 127, 197, 0.28), rgba(10, 15, 31, 0.94) 60%),
        radial-gradient(150% 140% at 50% 85%, rgba(142, 91, 255, 0.24), rgba(10, 15, 31, 0.93) 70%);
    color: var(--surface-contrast);
    text-shadow: 0 12px 35px rgba(0, 0, 0, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: var(--app-height, 100vh);
    padding: calc(env(safe-area-inset-top) + 1.5rem) clamp(1.25rem, 4vw, 2rem) calc(env(safe-area-inset-bottom) + 1.5rem);
    box-sizing: border-box;
    text-align: center;
    position: relative;
    transition: background 0.5s ease-in-out, background-color 0.5s ease-in-out;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body[data-theme="light"] {
    background-color: #e4e9f3;
    background-image:
        radial-gradient(120% 120% at 15% 20%, rgba(111, 69, 255, 0.18), rgba(228, 233, 243, 0.95) 65%),
        radial-gradient(120% 120% at 85% 25%, rgba(255, 127, 197, 0.2), rgba(226, 232, 244, 0.97) 60%),
        radial-gradient(150% 140% at 50% 85%, rgba(111, 69, 255, 0.16), rgba(222, 228, 241, 0.97) 70%);
    color: #0b1224;
    text-shadow: none;
    --watermark-opacity: 0.2;
    --watermark-color: rgba(0, 0, 0, 0.55);
    --watermark-shadow: 0 1px 2px rgba(255, 255, 255, 0.25);
    --watermark-stroke: 0.5px rgba(255, 255, 255, 0.25);
    --watermark-scrim: rgba(255, 255, 255, 0.18);
}

.countdown {
    text-align: center;
    margin: 0.5rem 0;
    font-size: clamp(1rem, 4vw, 1.8rem);
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.countdown.red-on-black {
    color: var(--theme-color, #8E5BFF);
    background-color: #02140a;
}

.countdown.black-on-red {
    color: #02140a;
    background-color: var(--theme-color, #8E5BFF);
}


.overlay {
    background: var(--card-bg);
    padding: clamp(1.5rem, 5vw, 2.75rem);
    border-radius: 24px;
    position: relative;
    z-index: 1;
    color: #f3fdf7;
    max-width: min(92vw, 860px);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(142, 91, 255, 0.25);
}

body[data-theme="light"] .overlay {
    color: #0f172a;
    border-color: var(--surface-border);
    box-shadow: 0 25px 60px rgba(17, 24, 39, 0.18);
}

h1, p, .feature-card, footer {
    color: inherit;
}

.page-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: clamp(2.25rem, 4vw, 2.85rem);
    font-family: 'Roboto Slab', 'Montserrat', sans-serif;
    margin: 0;
}

p {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    margin: 0;
    line-height: 1.6;
}

a {
    color: #bbf7d0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 3vw, 1.75rem);
}

.visualization-engine {
    position: relative;
    width: min(100%, 720px);
    height: clamp(320px, 55vw, 520px);
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(69, 243, 255, 0.18), rgba(5, 5, 13, 0.9));
    border: 1px solid rgba(122, 247, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.visualizer-selector {
    position: absolute;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    background: rgba(6, 10, 22, 0.75);
    border: 1px solid rgba(122, 247, 255, 0.2);
    backdrop-filter: blur(12px);
}

.visualizer-selector__button {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: none;
    color: #d9f7ff;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.visualizer-selector__button--active {
    background: linear-gradient(120deg, rgba(69, 243, 255, 0.9), rgba(176, 87, 255, 0.85));
    color: #05050d;
    box-shadow: 0 0 18px rgba(122, 247, 255, 0.6);
}

.music-player {
    display: grid;
    gap: 1rem;
}

.music-player__header h2 {
    margin-bottom: 0.35rem;
}

.music-player__visualizer {
    width: 100%;
}

.hero-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1rem, 3vw, 1.25rem);
    border-radius: 18px;
    background: linear-gradient(120deg, rgba(18, 28, 72, 0.85), rgba(33, 26, 64, 0.9));
    border: 1px solid rgba(142, 91, 255, 0.28);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

body[data-theme="light"] .hero-banner {
    background: linear-gradient(120deg, #edf0f8, #e4e9f4);
    border-color: var(--surface-border);
    color: #0b1224;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.18);
}

.logo-lockup {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.logo-mark {
    font-family: 'Eczar', 'Roboto Slab', serif;
    font-size: clamp(2.1rem, 5vw, 2.6rem);
    letter-spacing: 0.08em;
    color: #ffe8cc;
    text-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.logo-subtitle {
    margin: 0;
    color: rgba(232, 252, 239, 0.86);
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    max-width: 40ch;
    line-height: 1.5;
}

body[data-theme="light"] .logo-mark {
    color: #2a1a4b;
    text-shadow: none;
}

body[data-theme="light"] .logo-subtitle {
    color: #334155;
}

.banner-pill {
    align-self: flex-start;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(142, 91, 255, 0.2);
    border: 1px solid rgba(142, 91, 255, 0.4);
    color: #c8e1ff;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body[data-theme="light"] .banner-pill {
    background: rgba(111, 69, 255, 0.18);
    border-color: rgba(111, 69, 255, 0.35);
    color: #2c0e63;
}

.hero-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 3vw, 1.75rem);
    align-items: center;
}

.announcement-banner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    background: rgba(12, 18, 43, 0.75);
    border: 1px solid rgba(142, 91, 255, 0.35);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

body[data-theme="light"] .announcement-banner {
    background: rgba(244, 246, 252, 0.95);
    border-color: rgba(111, 69, 255, 0.25);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.15);
}

.announcement-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(142, 91, 255, 0.25), rgba(255, 127, 197, 0.4));
    color: #f8fafc;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

body[data-theme="light"] .announcement-pill {
    color: #2c0e63;
}

.announcement-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.announcement-headline {
    font-weight: 700;
    color: #f1f5f9;
    font-size: clamp(1.05rem, 2.4vw, 1.2rem);
}

body[data-theme="light"] .announcement-headline {
    color: #0f172a;
}

.announcement-copy {
    color: rgba(232, 252, 239, 0.86);
    font-size: clamp(0.95rem, 2.2vw, 1rem);
}

body[data-theme="light"] .announcement-copy {
    color: #2c3a4f;
}

.hero-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.6vw, 1.1rem);
    color: rgba(232, 252, 239, 0.9);
}

.cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1rem, 3vw, 2rem);
}

.cta-copy {
    flex: 1 1 55%;
}

.hero-animate {
    will-change: transform, opacity;
}

.cta-text {
    font-size: clamp(0.95rem, 2.4vw, 1.05rem);
    color: rgba(232, 252, 239, 0.88);
}

body[data-theme="light"] .hero-subtitle,
body[data-theme="light"] .cta-text {
    color: #334155;
}

.enter-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 1.1rem;
    background: linear-gradient(135deg, rgba(142, 91, 255, 0.35), rgba(255, 127, 197, 0.65));
    border: 1px solid rgba(142, 91, 255, 0.45);
    border-radius: 18px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fffdf5;
}

.enter-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 30px rgba(255, 127, 197, 0.35);
}

.enter-button.clicked {
    transform: scale(0.95);
}

.enter-icon {
    width: 56px;
    height: 56px;
    transition: transform 0.3s ease-in-out;
}

.enter-icon.clicked {
    animation: click-animation 0.3s;
}

.enter-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

@keyframes click-animation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.85rem, 2.5vw, 1.5rem);
}

.feature-card {
    background: rgba(14, 20, 44, 0.7);
    border: 1px solid rgba(142, 91, 255, 0.2);
    border-radius: 18px;
    padding: clamp(1rem, 3vw, 1.35rem);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    box-shadow: 0 20px 35px rgba(5, 18, 12, 0.6);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0.82;
}

body[data-theme="light"] .feature-card {
    background: #eef1f8;
    border-color: var(--surface-border);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.18);
    color: #0b1224;
}

.feature-card:hover,
.feature-card.feature-active {
    transform: translateY(-6px);
    border-color: rgba(255, 127, 197, 0.55);
    box-shadow: 0 25px 40px rgba(142, 91, 255, 0.35);
    opacity: 1;
}

body[data-theme="light"] .feature-card.feature-active,
body[data-theme="light"] .feature-card:hover {
    border-color: rgba(111, 69, 255, 0.5);
    box-shadow: 0 22px 38px rgba(111, 69, 255, 0.25);
}

.feature-icon {
    font-size: 1.8rem;
}

.feature-title {
    font-size: 1.05rem;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

.feature-copy {
    font-size: 0.9rem;
    color: rgba(226, 250, 233, 0.85);
}

body[data-theme="light"] .feature-copy {
    color: #3b4b63;
}

.feature-link {
    align-self: flex-start;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(142, 91, 255, 0.25);
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.feature-link:hover {
    background: rgba(255, 127, 197, 0.35);
    transform: translateY(-1px);
}

.experience-hints {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.hint-text {
    font-size: clamp(0.8rem, 2.4vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.04rem;
    color: rgba(240, 255, 244, 0.95);
}

.hint-subtext {
    font-size: clamp(0.75rem, 2.2vw, 0.9rem);
    color: rgba(226, 250, 233, 0.8);
}

body[data-theme="light"] .hint-text {
    color: #1f2937;
}

body[data-theme="light"] .hint-subtext {
    color: #475569;
}

.footer-note {
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    color: rgba(214, 240, 219, 0.75);
}

body[data-theme="light"] .footer-note {
    color: #475569;
}

.footer-note p {
    margin: 0;
}
.footer-note .footer-updated {
    margin-top: 0.35rem;
    color: #8E5BFF;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .overlay {
        text-align: center;
        align-items: center;
    }
    .hero-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-body {
        grid-template-columns: 1fr;
    }
    .hero-header {
        align-items: center;
    }
    .cta-row {
        flex-direction: column;
    }
    .cta-copy {
        flex-basis: auto;
    }
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-height: 700px) {
    body {
        padding: calc(env(safe-area-inset-top) + 1rem) clamp(1rem, 3vw, 1.5rem) calc(env(safe-area-inset-bottom) + 1rem);
    }
    .overlay {
        padding: clamp(1rem, 4vw, 1.75rem);
    }
    h1 {
        font-size: clamp(1.75rem, 6vw, 2.1rem);
    }
    .cta-row {
        flex-direction: column;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .enter-icon {
        width: 48px;
        height: 48px;
    }
}

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

#speaker-container {
    position: absolute;
    z-index: 2;
    top: calc(env(safe-area-inset-top) + 0.75rem);
    right: calc(env(safe-area-inset-right) + 0.75rem);
    width: 60px;
    height: 60px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-color, #8E5BFF);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

#speaker-container:focus-visible {
    outline: none;
    border-color: var(--theme-color, #8E5BFF);
    box-shadow: 0 0 0 3px rgba(142, 91, 255, 0.45);
}

#speaker-container[aria-pressed="true"],
#speaker-container:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

#speaker-icon {
    animation: bounce 1s infinite;
    width: 36px;
    height: 36px;
    fill: currentColor;
    stroke: currentColor;
}
.floating-watermarks {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 900;
}

/* Visual QA: verify home overlay watermarks in light/dark, plus hero/video imagery sections. */
.watermark {
    position: absolute;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.85rem, 3.2vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--watermark-color);
    opacity: var(--watermark-opacity);
    text-shadow: var(--watermark-shadow);
    -webkit-text-stroke: var(--watermark-stroke);
    white-space: nowrap;
    z-index: 0;
}

.watermark--adaptive {
    isolation: isolate;
}

.watermark--adaptive::before {
    content: '';
    position: absolute;
    inset: -0.2em -0.45em;
    background: var(--watermark-scrim);
    border-radius: 999px;
    opacity: 0.7;
    filter: blur(4px);
    z-index: -1;
}

@supports (mix-blend-mode: soft-light) {
    .watermark--adaptive {
        mix-blend-mode: soft-light;
    }
}

.exploding-watermark span {
    display: inline-block;
    animation: letter-explode 2s ease-in-out infinite;
    animation-delay: calc(0.1s * var(--i));
}

@keyframes letter-explode {
    0% {
        transform: translate(0, 0) rotate(0);
        opacity: 1;
    }
    100% {
        transform: translate(calc(100px * (var(--x) - 0.5)), calc(100px * (var(--y) - 0.5))) rotate(calc(360deg * var(--r)));
        opacity: 0;
    }
}

/* Fullscreen background container */
#background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

/* Individual background layers */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

/* Initial visible layer */
#bg1 {
    opacity: 1;
    background-image: url('Naija AI1.png');
}

#timer-bar {
    position: fixed;
    top: calc(env(safe-area-inset-top) + 1rem);
    left: 50%;
    transform: translateX(-50%);
    width: min(420px, 90vw);
    height: 10px;
    background: rgba(142, 91, 255, 0.24);
    z-index: 10000;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

#timer-progress {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #00c2ff 0%, #8E5BFF 50%, #FF7FC5 100%);
    position: relative;
    border-radius: inherit;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.25);
}

#timer-progress::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.8);
}

@media (max-width: 600px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    #timer-bar {
        top: calc(env(safe-area-inset-top) + 0.5rem);
        height: 8px;
    }
    .enter-button {
        width: 100%;
    }
}

.social-proof {
    color: #b9fbc0;
    font-weight: 700;
}

.enter-button.inline {
    width: auto;
    padding-inline: 1.5rem;
}

.enter-button.ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.experience-upgrades,
.profile-gate,
.pillar-dashboard,
.cta-footer {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    padding: clamp(1rem, 3vw, 1.5rem);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-top: 1.25rem;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cta-stack {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cta-hint {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.badge-button {
    --badge-bg: linear-gradient(135deg, #8E5BFF 0%, #6bdcff 100%);
    --badge-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--badge-bg);
    color: #0c0c17;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: var(--badge-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.badge-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.badge-button:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35) inset, 0 8px 18px rgba(0, 0, 0, 0.25);
}

.badge-button:focus-visible {
    outline: 2px solid #c1f4e3;
    outline-offset: 3px;
}

.badge-button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.badge-button__icon {
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
}

.badge-button__label {
    letter-spacing: 0.01em;
}

.notification-toast {
    position: fixed;
    left: 50%;
    bottom: env(safe-area-inset-bottom, 1rem);
    transform: translate(-50%, calc(100% + 1rem));
    background: rgba(15, 11, 30, 0.9);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.45);
    width: min(560px, calc(100% - 2rem));
    padding: 1.1rem 1.2rem 1rem 1.2rem;
    backdrop-filter: blur(16px);
    color: #fff;
    z-index: 1200;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
}

.notification-toast.is-open {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}

.notification-toast__content {
    display: grid;
    gap: 0.35rem;
}

.notification-toast__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
    margin: 0;
}

.notification-toast__title {
    font-weight: 800;
    margin: 0;
    font-size: 1.05rem;
}

.notification-toast__copy {
    margin: 0;
    opacity: 0.9;
    line-height: 1.45;
}

.notification-toast__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.notification-toast__primary {
    background: var(--badge-bg);
}

.notification-toast__secondary {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    padding: 0.6rem 1rem;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.notification-toast__secondary:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-1px);
}

.notification-toast__secondary:focus-visible {
    outline: 2px solid #c1f4e3;
    outline-offset: 3px;
}

.notification-toast__close {
    align-self: flex-start;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.16);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: grid;
    place-items: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.notification-toast__close:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-1px);
}

.notification-toast__close:focus-visible {
    outline: 2px solid #c1f4e3;
    outline-offset: 3px;
}

.onboarding {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    align-items: center;
}

.intro-video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.carousel {
    display: grid;
    gap: 0.75rem;
}

.carousel-slide {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(142, 91, 255, 0.12);
    border: 1px dashed rgba(255,255,255,0.2);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.eyebrow {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c1f4e3;
    font-weight: 700;
    font-size: 0.85rem;
}

.profile-card form {
    display: grid;
    gap: 0.5rem;
    max-width: 320px;
}

.profile-card select,
.newsletter input,
.story-form textarea {
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.2);
    color: #fff;
}

.cta-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.pillar-dashboard .tablist {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.pillar-dashboard [role="tab"] {
    padding: 0.6rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.pillar-dashboard [role="tab"][aria-selected="true"] {
    background: var(--theme-color, #8E5BFF);
}

.game-embeds {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.game-embeds iframe {
    width: 100%;
    min-height: 280px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.2);
}

.story-snippet {
    display: grid;
    gap: 0.75rem;
}

.story-form {
    display: grid;
    gap: 0.5rem;
}

.social-buttons {
    display: flex;
    gap: 0.75rem;
}

.social-buttons a {
    color: #fff;
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.3);
}

.email-gate-status {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
}

.email-gate {
    position: fixed;
    inset: 0;
    background: rgba(7, 7, 14, 0.72);
    display: grid;
    place-items: center;
    padding: 1.5rem;
    z-index: 12000;
}

.email-gate[hidden] {
    display: none;
}

.email-gate__card {
    width: min(520px, 100%);
    background: rgba(20, 17, 36, 0.98);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    padding: 2rem;
    display: grid;
    gap: 1.25rem;
    position: relative;
}

.email-gate__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

.email-gate__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
}

.email-gate__copy,
.email-gate__note {
    color: rgba(255,255,255,0.78);
    line-height: 1.5;
}

.email-gate__form {
    display: grid;
    gap: 0.75rem;
}

.email-gate__form input {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 1rem;
}

.email-gate__form input::placeholder {
    color: rgba(255,255,255,0.5);
}

body[data-theme="light"] .email-gate {
    background: rgba(241, 242, 249, 0.85);
}

body[data-theme="light"] .email-gate__card {
    background: #fff;
    color: #1b1b1b;
    box-shadow: 0 30px 80px rgba(37, 40, 89, 0.18);
}

body[data-theme="light"] .email-gate__close,
body[data-theme="light"] .email-gate__copy,
body[data-theme="light"] .email-gate__note,
body[data-theme="light"] .email-gate__eyebrow,
body[data-theme="light"] .email-gate-status {
    color: rgba(26, 28, 38, 0.75);
}

body[data-theme="light"] .email-gate__form input {
    color: #1b1b1b;
    background: rgba(142, 91, 255, 0.08);
    border-color: rgba(142, 91, 255, 0.2);
}
