/* Home-only party-card design. The game does not load this file. */
:root {
    --bg-darker: #151d28;
    --bg-dark: #202b38;
    --text-main: #faf8f3;
    --text-muted: #bcc6d0;
    --accent-secondary: #d7ec72;
    --party-paper: #f3f0e8;
    --party-ink: #19232d;
    --party-lime: #d7ec72;
}
body::before, .particle, .features::before, .feature-card::after, .mode-card::after { display: none; }
html { scroll-padding-top: 100px; }
.home-skip { position: fixed; top: 8px; left: 16px; z-index: 500; padding: 12px 18px; color: var(--party-ink); background: var(--party-lime); transform: translateY(-160%); }
.home-skip:focus { transform: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--party-lime); outline-offset: 5px; }
nav { background: #151d28f5; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: #ffffff18; }
.nav-logo, .hero h1 .gradient, .hero-stat-value { background: none; -webkit-text-fill-color: currentColor; }
.nav-logo { color: var(--party-paper); }
.nav-cta, .btn-hero-primary { background: var(--party-lime); color: var(--party-ink); box-shadow: 0 5px 0 #82964a; }
.nav-cta, .btn-hero { border-radius: 12px; transition: transform 160ms ease; letter-spacing: 0; }
.nav-cta:hover, .btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #82964a; }
.nav-link:focus-visible { outline: 3px solid var(--party-lime); }
.hero { min-height: 680px; min-height: min(800px, 100svh); padding: 132px 32px 76px; isolation: isolate; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; max-width: 1160px; }
.hero-text { max-width: 630px; }
.hero-bg { left: 48%; top: 112px; bottom: 68px; right: 24px; border-radius: 32px; overflow: hidden; opacity: .38; }
.hero-bg img { object-position: 52% 45%; }
.hero-bg::after { display: none; }
.hero-badge { padding: 0; border: 0; background: transparent; color: var(--party-lime); letter-spacing: .05em; font-size: .8rem; text-transform: uppercase; animation: none; margin-bottom: 24px; }
.hero h1 { font-size: clamp(3.3rem, 5.5vw, 5.1rem); line-height: .99; margin-bottom: 24px; animation: none; text-wrap: balance; }
.hero h1 .gradient { color: var(--party-lime); }
.hero-subtitle { color: #ced5dc; text-shadow: none; font-size: 1.08rem; max-width: 440px; margin-bottom: 28px; animation: none; }
.hero-actions, .hero-stats { animation: none; }
.hero-actions { gap: 12px; }
.btn-hero { padding: 17px 25px; font-size: 1rem; }
.btn-hero-secondary { border-color: #87939f; background: #202b38; backdrop-filter: none; }
.hero-stats { gap: 30px; margin-top: 36px; }
.hero-stat-value { font-size: 1.5rem; color: var(--party-paper); }
.hero-stat-label { font-size: .75rem; }
.hero-card { justify-self: center; position: relative; width: min(100%, 320px); min-height: 360px; padding: 28px; background: var(--party-paper); color: var(--party-ink); border: 1px solid #fff; border-radius: 22px; transform: rotate(7deg); box-shadow: -12px 15px 0 #d7ec72, 0 30px 55px #0b111c66; display: flex; flex-direction: column; }
.hero-card-kicker { font-size: .66rem; font-weight: 800; letter-spacing: .13em; }
.hero-card-question { font: 850 clamp(4.5rem, 7vw, 6.3rem)/.92 'Outfit', sans-serif; letter-spacing: -.055em; margin: 34px 0; }
.hero-card-foot { font-size: .92rem; line-height: 1.5; margin-top: auto; }
.social-proof { padding: 24px; background: #202b38; }
.social-proof-inner { max-width: 1100px; justify-content: space-between; }
.proof-item { font-size: .88rem; }
.features, .how-to-play, .modes { padding: clamp(64px, 8vw, 108px) 24px; }
.section-header { margin-bottom: 40px; }
.section-heading { font-weight: 800; letter-spacing: -.035em; }
.section-label { color: var(--party-lime); font-size: .75rem; }
.feature-card, .mode-card { background: #202b38; border-color: #ffffff20; border-radius: 16px; backdrop-filter: none; -webkit-backdrop-filter: none; transition: transform 180ms ease; }
.feature-card:hover, .mode-card:hover { box-shadow: none; border-color: #82964a; }
.feature-card { padding: 28px; }
.feature-icon { background: #2e3a47 !important; width: 48px; height: 48px; border-radius: 12px; }
.how-to-play { background: var(--party-paper); color: var(--party-ink); --text-muted: #4f5c65; }
.how-to-play .section-label { color: #526c1d; }
.step { padding: 28px 0; border-color: #19232d26; }
.step-number { background: var(--party-ink); color: var(--party-lime); box-shadow: none; border-radius: 14px; }
.mode-card { text-align: left; }
.mode-tags { justify-content: flex-start; }
.mode-tag { background: #34404c; color: #e0e5e9; }
.final-cta { background: var(--party-lime); color: var(--party-ink); padding: 80px 24px; }
.final-cta .cta-sub { color: #37471e; }
.final-cta .btn-hero-primary { color: var(--party-paper); background: var(--party-ink); box-shadow: 0 5px 0 #718135; }
.final-cta a:focus-visible { outline-color: var(--party-ink); }
footer { background: #111923; }
.footer-links { flex-wrap: wrap; justify-content: center; gap: 12px 22px; }
.animate-on-scroll { opacity: 1; transform: none; }
/* Enhance native flow; no pinning, wheel interception, or perpetual rendering loop. */
@media (prefers-reduced-motion: no-preference) {
    .home-motion .animate-on-scroll { opacity: 0; transform: translateY(14px); transition: opacity 400ms ease, transform 400ms ease; }
    .home-motion .animate-on-scroll.visible { opacity: 1; transform: none; }
    @supports (animation-timeline: view()) {
        .hero-card { animation: card-settle linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
        @keyframes card-settle { from { transform: translateY(8px) rotate(9deg); } to { transform: translateY(-10px) rotate(3deg); } }
    }
}
.practice { max-width: 1160px; margin: 0 auto; padding: 96px 32px; display: grid; grid-template-columns: 1fr 1.12fr; gap: 72px; align-items: center; }
.practice-label { color: var(--party-lime); font-size: .72rem; font-weight: 800; letter-spacing: .11em; margin-bottom: 18px; }
.practice-heading h2 { font-size: clamp(2.6rem, 4.2vw, 4.1rem); line-height: 1.02; letter-spacing: -.045em; margin-bottom: 24px; }
.practice-heading > p:not(.practice-label) { font-size: 1.08rem; color: var(--text-muted); max-width: 35ch; }
.practice-play { display: inline-flex; align-items: center; gap: 32px; color: var(--party-lime); padding: 16px 0; margin-top: 8px; font-weight: 800; text-decoration: none; }
.practice-play span { font-size: 1.5rem; }
.practice-demo { min-width: 0; border-radius: 24px; padding: 28px; background: #253342; border: 1px solid #ffffff24; }
.practice-stage { height: 270px; position: relative; overflow: hidden; }
.practice-person { position: absolute; top: 64px; left: calc(50% - 55px); width: 110px; height: 138px; border: 2px solid #8999a5; border-radius: 48% 48% 43% 43%; opacity: 0; transform: translateY(14px); transition: opacity 220ms ease, transform 300ms ease; }
.practice-person::before { content: ''; position: absolute; width: 190px; height: 95px; border: 2px solid #8999a5; border-radius: 50% 50% 0 0; left: -42px; top: 146px; }
.practice-person span::before, .practice-person span::after { content: ''; position: absolute; top: 58px; width: 7px; height: 7px; border-radius: 50%; background: #bac6cf; }
.practice-person span::before { left: 28px; }.practice-person span::after { right: 28px; }
.practice-phone { position: absolute; width: 280px; height: 176px; left: calc(50% - 140px); top: 32px; border: 6px solid #0b121c; border-radius: 18px; box-shadow: 0 12px 24px #10172270; background: var(--party-paper); color: var(--party-ink); transform: rotate(-5deg); transition: transform 350ms ease; overflow: hidden; }
.practice-back, .practice-front { position: absolute; inset: 0; padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; transition: opacity 160ms ease; }
.practice-back { flex-wrap: wrap; background: var(--party-lime); }
.practice-back span { font: 800 1.1rem/1.12 'Outfit', sans-serif; }.practice-back b { font: 800 5rem/1 'Outfit', sans-serif; }.practice-back small { flex-basis: 100%; font-size: .72rem; }
.practice-front { gap: 14px; opacity: 0; visibility: hidden; }.practice-front small { display: block; font-size: .55rem; letter-spacing: .1em; font-weight: 800; margin-bottom: 8px; }.practice-front strong { font: 800 1.6rem/1.05 'Outfit', sans-serif; }
.practice-sample-photo { width: 90px; height: 116px; border-radius: 9px; flex: 0 0 90px; overflow: hidden; }.practice-sample-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.practice-view-label { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: #c2cdd7; }
[data-practice-step="1"] .practice-phone { transform: translateY(-18px) rotate(0deg) scale(.8); }
[data-practice-step="1"] .practice-person { opacity: 1; transform: none; }
[data-practice-step="2"] .practice-phone { transform: rotate(0deg); }
[data-practice-step="2"] .practice-back { opacity: 0; visibility: hidden; }
[data-practice-step="2"] .practice-front { opacity: 1; visibility: visible; }
.practice-caption { min-height: 100px; margin: 14px 0 12px; }.practice-caption strong { font: 750 1.3rem/1.25 'Outfit', sans-serif; }.practice-caption p { color: #c6d0d8; font-size: .92rem; margin-top: 8px; line-height: 1.5; }
.practice-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.practice-controls[hidden] { display: none; }.practice-steps { display: flex; gap: 6px; }.practice-steps button { width: 44px; height: 44px; border: 1px solid #81929f; background: transparent; border-radius: 50%; color: #f3f0e8; font-weight: 800; cursor: pointer; }.practice-steps button[aria-pressed="true"] { background: var(--party-lime); color: var(--party-ink); border-color: var(--party-lime); }.practice-next { min-height: 44px; padding: 9px 12px; border: 0; border-radius: 8px; color: var(--party-ink); background: var(--party-paper); font-weight: 750; cursor: pointer; }.practice-next span { margin-left: 8px; }
.practice-note { font-size: .71rem; color: #b7c4ce; margin-top: 20px; }.practice-static { color: #ced8e0; font-size: .95rem; }.practice-credit { color: #c2cdd7; font-size: .7rem; }
@media (max-width: 900px) {
    .hero { padding: 126px 24px 68px; min-height: auto; }.hero-inner { gap: 24px; grid-template-columns: 1.3fr .7fr; }.hero h1 { font-size: clamp(3rem, 6vw, 4rem); }.hero-card { min-height: 300px; padding: 22px; }.hero-card-question { font-size: 4.3rem; }.hero-bg { left: 45%; }
    .practice { gap: 32px; padding: 72px 24px; }.practice-demo { padding: 22px; }.practice-controls { gap: 8px; }.practice-steps { gap: 4px; }.practice-steps button { width: 40px; }.practice-next { font-size: .8rem; padding: 10px; }
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 700px) {
    nav { padding: 12px 16px; flex-wrap: wrap; row-gap: 8px; }.nav-logo { font-size: 1.15rem; }.nav-actions { gap: 0; }.nav-link { font-size: .75rem; padding: 8px; }.nav-cta { font-size: .8rem; padding: 10px 13px; min-height: 40px; }
    .hero { padding: 112px 24px 48px; }.hero-inner { display: block; text-align: left; }.hero-text { max-width: 540px; }.hero h1 { font-size: clamp(2.75rem, 9.8vw, 4.3rem); max-width: 520px; }.hero-subtitle { font-size: 1rem; line-height: 1.6; margin: 0 0 24px; max-width: 36ch; }.hero-actions { justify-content: flex-start; }.btn-hero { width: auto; font-size: .92rem; padding: 15px 21px; }.hero-stats { justify-content: flex-start; margin-top: 28px; gap: 30px; }.hero-card { display: none; }.hero-bg { inset: auto 20px 18px auto; width: 35%; height: 105px; border-radius: 16px; opacity: .15; }.hero-stat-value { font-size: 1.35rem; }.hero-badge { font-size: .72rem; margin-bottom: 20px; }
    .social-proof-inner { justify-content: center; gap: 16px 24px; }.proof-item { font-size: .78rem; }.proof-item .icon { font-size: 1rem; }
    .practice { grid-template-columns: 1fr; gap: 24px; padding: 56px 20px; }.practice-heading h2 { font-size: 2.6rem; margin-bottom: 16px; }.practice-heading > p:not(.practice-label) { max-width: 42ch; font-size: 1rem; }.practice-play { margin-top: 0; padding-bottom: 0; }.practice-demo { padding: 24px; max-width: 480px; width: 100%; justify-self: center; }.practice-stage { height: 248px; }.practice-caption { min-height: 92px; }.practice-steps button { width: 44px; }.practice-next { font-size: .85rem; }
    .features-grid { max-width: 520px; }.features .section-header, .modes .section-header { text-align: left; max-width: 520px; }.section-sub { margin-left: 0; }.section-heading { font-size: 2.3rem; }.section-label { margin-bottom: 12px; }.feature-card { padding: 24px; }.features, .how-to-play, .modes { padding: 56px 24px; }.feature-icon { margin-bottom: 16px; }.modes-grid { max-width: 520px; }.mode-card { padding: 28px; }.aka { padding: 56px 24px !important; }.footer-links { gap: 12px 20px; }.footer-links a { font-size: .85rem; }.final-cta { padding: 64px 24px; }
}
@media (max-width: 380px) {
    nav { padding: 10px 12px; }.nav-logo { font-size: 1rem; }.nav-link { padding: 8px 6px; font-size: .7rem; }.nav-cta { padding: 9px 11px; font-size: .75rem; }.hero { padding-top: 102px; }.hero-stats { gap: 22px; }.hero-stat-label { font-size: .69rem; }.practice-demo { padding: 20px 16px; }.practice-phone { width: 260px; left: calc(50% - 130px); }.practice-next { padding: 9px; }.practice-controls { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }.hero-card { animation: none; }.practice-phone, .practice-person, .practice-front, .practice-back { transition: none; }.home-motion .animate-on-scroll { opacity: 1; transform: none; }
}
/* Keep the optional practice card in view when arriving from How It Works. */
#try-it { scroll-margin-top: 16px; }
@media (min-width: 701px) {
    .practice { padding-top: 64px; padding-bottom: 64px; }
    .practice-stage { height: 220px; }
    .practice-caption { min-height: 94px; margin-top: 12px; margin-bottom: 8px; }
    .practice-demo { padding: 24px; }
    .practice-person { top: 54px; }
}
@media (max-width: 700px) {
    .practice-stage { height: 216px; }
    .practice-phone { top: 18px; }
    .practice-person { top: 44px; }
}
.practice-stage { height: 232px; }
.practice-phone { top: 24px; }

/* Let the game and the words carry the personality. */
.nav-logo, .hero h1, .section-heading, .final-cta h2 { font-family: 'DM Sans', sans-serif; font-weight: 650; letter-spacing: -.045em; }
.nav-logo { letter-spacing: -.04em; }
.hero h1 { font-size: clamp(3rem, 5.3vw, 4.9rem); line-height: 1.03; }
.nav-cta, .btn-hero-primary, .final-cta .btn-hero-primary { box-shadow: none; border-radius: 10px; }
.nav-cta:hover, .btn-hero-primary:hover { box-shadow: none; transform: none; filter: brightness(1.05); }
.hero-bg { display: none; }
.hero-card { transform: rotate(3deg); border-radius: 14px; box-shadow: -8px 10px 0 #79864d; animation: none; }
.hero-card-question { font-family: 'DM Sans', sans-serif; font-weight: 650; }
.hero-badge { letter-spacing: .06em; }
.social-proof { background: transparent; border-top: 1px solid #3e4a57; border-bottom: 1px solid #3e4a57; }
.proof-item { color: #bcc6d0; }
.feature-card { background: transparent; border: 0; border-top: 1px solid #53606b; border-radius: 0; padding: 24px 0; }
.feature-card:hover, .mode-card:hover { transform: none; }
.features-grid { gap: 32px 44px; }
.feature-card h3 { font-size: 1.15rem; font-weight: 650; margin-bottom: 10px; }
.mode-card { border-radius: 12px; }
.mode-card h3 { font-size: 1.5rem; }
.step-number { border-radius: 50%; width: 42px; height: 42px; font-size: 1rem; flex: 0 0 42px; }
.section-heading { font-size: clamp(2rem, 4vw, 3rem); }
@media (max-width: 700px) {
    .hero h1 { font-size: clamp(2.65rem, 10vw, 4rem); }
    .social-proof-inner { justify-content: flex-start; }
    .features-grid { gap: 20px; }
}

@media (max-width: 700px) {
    .nav-actions .nav-feedback { display: none; }
    .nav-link, .nav-cta { min-height: 44px; display: inline-flex; align-items: center; }
    .hero { padding-top: 104px; }
    .hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
    .hero-actions .btn-hero { width: 100%; justify-content: center; min-height: 52px; }
    .hero-actions .btn-hero-secondary { background: transparent; border: 0; min-height: 44px; padding: 8px; color: #c8d0d7; box-shadow: none; }
    .hero-stats { margin-top: 22px; }
}
