* {
    box-sizing: border-box;
}

:root {
    --ink: #16123d;
    --muted: #55516f;
    --brand: #3414a7;
    --brand-light: #667eea;
    --brand-deep: #211071;
    --surface: #ffffff;
    --soft: #f5f4ff;
    --line: rgba(52, 20, 167, 0.16);
    --shadow: 0 24px 70px rgba(23, 18, 63, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.2), transparent 24rem),
        radial-gradient(circle at 88% 0%, rgba(118, 89, 255, 0.5), transparent 28rem),
        linear-gradient(135deg, #667eea 0%, #4f46d8 38%, #3414a7 100%);
}

a {
    color: inherit;
}

.site-shell {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.16), transparent 38rem);
}

.site-shell::before {
    content: '';
    position: fixed;
    inset: -14% -22%;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(112deg, transparent 0 42%, rgba(255, 255, 255, 0.22) 49%, transparent 57%),
        linear-gradient(72deg, transparent 0 58%, rgba(255, 255, 255, 0.1) 64%, transparent 70%);
    transform: translateX(-38%) skewX(-10deg);
    will-change: transform, opacity;
    animation: opening-sweep 2.4s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.topbar,
.hero,
.article-hero,
.content-band {
    position: relative;
    z-index: 1;
}

.topbar {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    will-change: transform, opacity;
    animation: nav-drop 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(20, 14, 83, 0.28);
    will-change: transform, opacity;
    animation: logo-pop 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.94);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 800;
    padding: 10px 13px;
    border-radius: 999px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
    will-change: transform, opacity;
    animation: text-rise 0.62s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.nav-links a[href="/play"] {
    color: var(--brand);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(20, 14, 83, 0.22);
    text-shadow: none;
}

.nav-links a:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-links a:nth-child(2) {
    animation-delay: 0.16s;
}

.nav-links a:nth-child(3) {
    animation-delay: 0.22s;
}

.nav-links a:nth-child(4) {
    animation-delay: 0.28s;
}

.nav-links a:nth-child(5) {
    animation-delay: 0.34s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    outline: none;
}

.hero,
.article-hero {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    color: #ffffff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    gap: clamp(30px, 5vw, 64px);
    align-items: center;
    padding: clamp(46px, 7vw, 86px) 0 clamp(70px, 8vw, 104px);
}

.article-hero {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
    min-height: auto;
    padding-top: clamp(54px, 8vw, 96px);
    padding-bottom: clamp(70px, 9vw, 118px);
    text-align: center;
}

.article-hero .lede {
    margin-left: auto;
    margin-right: auto;
}

.article-hero .actions {
    justify-content: center;
}

.article-hero .phone-preview {
    display: none;
}

.eyebrow {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.2);
    will-change: transform, opacity;
    animation: text-rise 0.74s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

h1 {
    margin: 0;
    font-size: clamp(2.85rem, 7vw, 5.65rem);
    line-height: 0.92;
    letter-spacing: 0;
    text-shadow: 0 18px 52px rgba(21, 13, 83, 0.34);
}

.hero h1,
.article-hero h1 {
    will-change: transform, opacity;
    animation: title-reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.article-hero h1 {
    font-size: clamp(2.45rem, 5.5vw, 4.65rem);
}

.stats-bar {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    margin-top: 28px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    padding: 14px 6px;
    will-change: transform, opacity;
    animation: text-rise 0.74s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.stat-item {
    flex: 1;
    min-width: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 0 16px;
}

.stat-num {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 4px 18px rgba(21, 13, 83, 0.3);
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.68);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    white-space: nowrap;
}

.stat-sep {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    margin: 2px 0;
}

.lede {
    margin: 22px 0 0;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.05rem, 2vw, 1.32rem);
    line-height: 1.62;
    text-shadow: 0 10px 38px rgba(21, 13, 83, 0.28);
    will-change: transform, opacity;
    animation: text-rise 0.78s cubic-bezier(0.16, 1, 0.3, 1) 0.52s both;
}

.actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
    will-change: transform, opacity;
    animation: text-rise 0.74s cubic-bezier(0.16, 1, 0.3, 1) 0.66s both;
}

.button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 15px 26px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.button::before {
    content: '';
    position: absolute;
    inset: -45% -80%;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.42) 50%, transparent 65%);
    transform: translateX(-70%);
    animation: button-sheen 3.8s ease-in-out 1.2s infinite;
}

.button.primary {
    color: var(--brand);
    background:
        linear-gradient(180deg, #ffffff 0%, #f4f2ff 100%);
    border: 2px solid rgba(255, 255, 255, 0.94);
    box-shadow:
        0 0 0 7px rgba(255, 255, 255, 0.14),
        0 18px 42px rgba(18, 12, 76, 0.34),
        0 0 34px rgba(255, 255, 255, 0.28);
}

.callout .button.primary,
.content-band .button.primary {
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #3414a7 100%);
    border-color: rgba(102, 126, 234, 0.24);
    box-shadow:
        0 0 0 6px rgba(102, 126, 234, 0.12),
        0 18px 38px rgba(52, 20, 167, 0.28);
}

.button.secondary {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-3px) scale(1.02);
    outline: none;
    box-shadow:
        0 0 0 8px rgba(255, 255, 255, 0.18),
        0 24px 52px rgba(18, 12, 76, 0.4),
        0 0 42px rgba(255, 255, 255, 0.34);
}

.callout .button.primary:hover,
.callout .button.primary:focus-visible,
.content-band .button.primary:hover,
.content-band .button.primary:focus-visible {
    box-shadow:
        0 0 0 8px rgba(102, 126, 234, 0.14),
        0 24px 48px rgba(52, 20, 167, 0.32);
}

.phone-preview {
    width: min(100%, 390px);
    margin-left: auto;
    padding: 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.74);
    box-shadow: 0 28px 80px rgba(23, 18, 63, 0.36);
    transform-origin: center;
    will-change: transform, opacity;
    animation:
        device-arrive 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both,
        device-float 6s ease-in-out 1.35s infinite;
}

.screenshot-preview {
    width: min(100%, 470px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.screenshot-preview img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(74vh, 760px);
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    background: transparent;
    filter: drop-shadow(0 28px 54px rgba(18, 12, 76, 0.34));
}

.preview-screen {
    min-height: 500px;
    border-radius: 22px;
    padding: 30px;
    background:
        linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(52, 20, 167, 0.1)),
        #fbfbff;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: center;
}

.preview-logo {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(52, 20, 167, 0.2);
    will-change: transform;
    animation: logo-breathe 4.8s ease-in-out 1.1s infinite;
}

.preview-card {
    padding: 22px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 16px 34px rgba(52, 20, 167, 0.1);
    will-change: transform, opacity;
    animation: panel-pop 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.preview-card:nth-of-type(1) {
    animation-delay: 0.62s;
}

.preview-card:nth-of-type(2) {
    animation-delay: 0.76s;
}

.preview-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--brand);
    font-size: 1.02rem;
}

.preview-pill-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    background: #ffffff;
    border: 1px solid var(--line);
    color: var(--brand);
    box-shadow: 0 8px 18px rgba(52, 20, 167, 0.08);
    will-change: transform, opacity;
    animation: pill-rise 0.62s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pill:nth-child(1) {
    animation-delay: 0.88s;
}

.pill:nth-child(2) {
    animation-delay: 0.96s;
}

.pill:nth-child(3) {
    animation-delay: 1.04s;
}

.pill:nth-child(4) {
    animation-delay: 1.12s;
}

.content-band {
    background:
        linear-gradient(180deg, #f8f7ff 0, #ffffff 48rem);
    border-top: 1px solid rgba(255, 255, 255, 0.55);
    will-change: transform, opacity;
    animation: content-lift 0.86s cubic-bezier(0.16, 1, 0.3, 1) 0.74s both;
}

.section {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 70px 0;
}

.section.compact {
    padding-top: 30px;
}

.ad-banner {
    width: min(970px, calc(100% - 32px));
    min-height: 90px;
    margin: 10px auto 26px;
    padding: 8px 0;
}

.section h2 {
    margin: 0 0 18px;
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    line-height: 1.12;
    color: var(--ink);
}

.section p,
.article-body p,
.article-body li {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card {
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(102, 126, 234, 0.04), rgba(255, 255, 255, 0) 42%),
        #ffffff;
    box-shadow: 0 18px 44px rgba(28, 21, 77, 0.08);
    will-change: transform, opacity;
    animation: card-rise 0.68s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.card:nth-child(1) {
    animation-delay: 0.82s;
}

.card:nth-child(2) {
    animation-delay: 0.9s;
}

.card:nth-child(3) {
    animation-delay: 0.98s;
}

.card:nth-child(4) {
    animation-delay: 1.06s;
}

.card:nth-child(5) {
    animation-delay: 1.14s;
}

.card:nth-child(6) {
    animation-delay: 1.22s;
}

.card h3 {
    margin: 0 0 10px;
    color: var(--brand);
}

.card p {
    margin: 0;
}

.mode-link {
    display: block;
    text-decoration: none;
}

.mode-link:hover,
.mode-link:focus-visible {
    transform: translateY(-3px);
    outline: none;
    box-shadow: 0 22px 50px rgba(28, 21, 77, 0.12);
}

.heat-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 12px;
    will-change: transform, opacity;
    animation: text-rise 0.74s cubic-bezier(0.16, 1, 0.3, 1) 0.78s both;
}

.heat-card {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.heat-card:hover,
.heat-card:focus-visible {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-2px);
    outline: none;
}

.article-layout {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
    padding: 64px 0 78px;
}

.article-body {
    padding: clamp(28px, 4vw, 46px);
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    will-change: transform, opacity;
    animation: article-reveal 0.82s cubic-bezier(0.16, 1, 0.3, 1) 0.64s both;
}

.article-body h2 {
    margin: 38px 0 12px;
    color: var(--ink);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.18;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body ul,
.article-body ol {
    padding-left: 1.2rem;
}

.callout {
    margin: 34px 0 0;
    padding: 26px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(52, 20, 167, 0.08)),
        #fbfbff;
    border: 1px solid var(--line);
}

.callout p {
    margin-top: 0;
}

.footer {
    padding: 34px 0 42px;
    background: #17123f;
    color: rgba(255, 255, 255, 0.74);
}

.footer-inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

@keyframes gradient-drift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 40%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes opening-sweep {
    0% {
        opacity: 0;
        transform: translateX(-42%) skewX(-10deg);
    }
    18% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(42%) skewX(-10deg);
    }
}

@keyframes nav-drop {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes text-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes title-reveal {
    from {
        opacity: 0;
        transform: translateY(26px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes logo-pop {
    0% {
        opacity: 0;
        transform: translateY(-8px) rotate(-8deg) scale(0.78);
    }
    72% {
        opacity: 1;
        transform: translateY(0) rotate(3deg) scale(1.08);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0) scale(1);
    }
}

@keyframes device-arrive {
    from {
        opacity: 0;
        transform: translateY(34px) rotateX(8deg) rotateZ(2deg) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0) rotateZ(0) scale(1);
    }
}

@keyframes device-float {
    0%,
    100% {
        transform: translateY(0) rotateZ(0);
    }
    50% {
        transform: translateY(-12px) rotateZ(-0.7deg);
    }
}

@keyframes logo-breathe {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.04);
    }
}

@keyframes panel-pop {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pill-rise {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes content-lift {
    from {
        opacity: 0;
        transform: translateY(34px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes card-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes article-reveal {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes button-sheen {
    0%,
    42% {
        transform: translateX(-70%);
    }
    64%,
    100% {
        transform: translateX(70%);
    }
}

/* Daily Poll */
.daily-poll {
    margin-top: 16px;
    padding: 13px 16px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    will-change: transform, opacity;
    animation: text-rise 0.74s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
    max-width: 520px;
}

.poll-eyebrow {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.poll-question {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.34;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.97);
}

.poll-buttons {
    display: flex;
    gap: 8px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.poll-buttons.hiding {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
}

.poll-btn {
    flex: 1;
    padding: 8px 0;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.18s ease;
    line-height: 1.2;
}

.poll-btn:hover:not(:disabled) {
    transform: translateY(-2px);
}

.poll-btn:active:not(:disabled) {
    transform: translateY(0);
}

.poll-btn.yes-btn:hover:not(:disabled) {
    background: rgba(80, 220, 140, 0.26);
    border-color: rgba(80, 220, 140, 0.52);
}

.poll-btn.no-btn:hover:not(:disabled) {
    background: rgba(255, 100, 100, 0.26);
    border-color: rgba(255, 100, 100, 0.52);
}

.poll-btn:disabled {
    cursor: default;
    opacity: 0.55;
}

.poll-results {
    display: none;
    flex-direction: column;
    gap: 7px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.poll-results.visible {
    opacity: 1;
    transform: translateY(0);
}

.poll-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.poll-bar-label {
    font-size: 0.74rem;
    font-weight: 800;
    width: 24px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.88);
}

.poll-bar-track {
    flex: 1;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

.poll-bar-fill {
    height: 100%;
    border-radius: 999px;
    width: 0%;
    transition: width 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.poll-bar-fill.yes-fill {
    background: linear-gradient(90deg, #4de8a4, #2dcf88);
}

.poll-bar-fill.no-fill {
    background: linear-gradient(90deg, #ff8a7a, #ff5252);
}

.poll-pct {
    font-size: 0.74rem;
    font-weight: 800;
    width: 32px;
    text-align: right;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.88);
    font-variant-numeric: tabular-nums;
}

.poll-meta {
    font-size: 0.63rem;
    color: rgba(255, 255, 255, 0.48);
    margin-top: 2px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

@media (max-width: 860px) {
    body {
        background-size: 130% 130%;
        animation: gradient-drift 14s ease-in-out infinite;
    }

    .topbar {
        align-items: center;
        flex-direction: row;
        gap: 14px;
    }

    .brand {
        min-width: 0;
    }

    .brand span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-links {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .nav-links a {
        display: none;
    }

    .nav-links a[href="/play"] {
        display: inline-flex;
        min-height: 42px;
        align-items: center;
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 34px;
    }

    .stats-bar {
        display: flex;
        width: 100%;
        padding: 12px 4px;
    }

    .stat-item {
        min-width: 0;
        padding: 0 6px;
    }

    .stat-num {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.58rem;
        letter-spacing: 0.04em;
    }

    .article-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 48px;
        padding-bottom: 72px;
    }

    .phone-preview {
        margin: 0;
    }

    .preview-screen {
        min-height: 410px;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .article-body {
        padding: 24px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}
