@font-face {
    font-family: "Bricolage Grotesque";
    src: url("../fonts/bricolage-grotesque.ttf") format("truetype");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

:root,
html[data-theme="light"] {
    --ww-paper: #f5f1e8;
    --ww-surface: #fffdf7;
    --ww-ink: #173b32;
    --ww-muted: #56685c;
    --ww-line: #d8dcd1;
    --ww-forest: #173b32;
    --ww-copper: #965130;
    --ww-peach: #edc9b2;
    --ww-soft: #e9edde;
    --ww-focus: #94502f;
    --nv-background: var(--ww-paper);
    --nv-foreground: var(--ww-ink);
    --nv-card: var(--ww-ink);
    --nv-helper: var(--ww-soft);
    --nv-muted: var(--ww-muted);
    --nv-border: var(--ww-line);
    --nv-primary: var(--ww-forest);
    --nv-primary-hover: #275640;
    --nv-secondary: var(--ww-peach);
    --nv-container: 1320px;
    --ink: var(--ww-ink);
    --cream: var(--ww-surface);
    --cream-2: var(--ww-paper);
    --mist: var(--ww-muted);
    --muted: var(--ww-muted);
    --line: var(--ww-line);
    --gold: var(--ww-peach);
    --gold-bright: var(--ww-peach);
    --gold-deep: var(--ww-copper);
    --font-sans: "IBM Plex Sans", sans-serif;
    --font-display: "Bricolage Grotesque", sans-serif;
}

html[data-theme="dark"] {
    --ww-paper: #101d19;
    --ww-surface: #1c3028;
    --ww-ink: #f4f1e5;
    --ww-muted: #becbc0;
    --ww-line: #40554a;
    --ww-copper: #e3ac83;
    --ww-peach: #edc9b2;
    --ww-soft: #263d31;
    --ww-focus: #edc9b2;
    --nv-background: var(--ww-paper);
    --nv-foreground: var(--ww-ink);
    --nv-card: var(--ww-ink);
    --nv-helper: var(--ww-soft);
    --nv-muted: var(--ww-muted);
    --nv-border: var(--ww-line);
    --nv-primary: #e3c3a9;
    --nv-primary-hover: #f0d9c5;
    --night-surface: var(--ww-surface);
    --night-raised: var(--ww-soft);
    --night-action: #275640;
    --ink: var(--ww-ink);
    --cream: var(--ww-surface);
    --cream-2: var(--ww-paper);
    --mist: var(--ww-muted);
    --muted: var(--ww-muted);
    --line: var(--ww-line);
}

[hidden] { display: none !important; }
html { scroll-padding-top: 110px; scrollbar-color: #88998b var(--ww-paper); }
body { background: var(--ww-paper); color: var(--ww-ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; }
::selection { background: var(--ww-peach); color: #173b32; }
:focus-visible { outline: 3px solid var(--ww-focus); outline-offset: 5px; }
input, select, textarea { caret-color: var(--ww-copper); }
input::placeholder, textarea::placeholder { color: var(--ww-muted); opacity: 1; }
a { text-underline-offset: 5px; }
button, input, select, textarea { font-family: var(--font-sans); }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; opacity: .6; }
/* The existing navigation keeps its controls and state hooks. */
html[data-theme] .figma-utility { background: var(--ww-forest); color: #f5f1e8; border: 0; }
html[data-theme] .figma-utility__inner { width: min(1320px, calc(100% - 80px)); min-height: 32px; color: #f5f1e8; font-size: 11px; letter-spacing: .03em; }
html[data-theme] .figma-utility__inner strong { background: transparent; color: #edc9b2; padding: 0; }
html[data-theme] .figma-utility__inner a { color: #f5f1e8; }
html[data-theme] .figma-header { position: relative; background: var(--ww-paper); border-bottom: 1px solid var(--ww-line); color: var(--ww-ink); box-shadow: none; }
.figma-header__nav { width: min(1320px, calc(100% - 80px)); min-height: 88px; gap: 28px; }
html[data-theme] .figma-brand { color: var(--ww-ink); gap: 11px; font-family: var(--font-display); font-size: 26px; font-weight: 750; letter-spacing: -.04em; white-space: nowrap; }
.figma-brand img { width: 43px; height: 43px; }
.figma-header__links { gap: 23px; justify-content: center; }
html[data-theme] .figma-header__links a { font-size: 13px; color: var(--ww-muted); font-weight: 500; padding-block: 16px; }
html[data-theme] .figma-header__links a:hover, html[data-theme] .figma-header__links a[aria-current="page"] { color: var(--ww-ink); }
.figma-header__links a[aria-current="page"]::after { background: var(--ww-copper); }
.figma-header__actions { gap: 16px; }
html[data-theme] .figma-launch { background: var(--ww-forest); color: #fffdf7; border-radius: 9px; min-height: 44px; padding: 12px 18px; font-size: 12px; }
html[data-theme] .figma-signin { color: var(--ww-ink); font-size: 13px; }
html[data-theme] .figma-theme-toggle { background: var(--ww-surface); color: var(--ww-ink); border: 1px solid var(--ww-line); }
html[data-theme] .figma-theme-toggle:hover { background: var(--ww-soft); }
html[data-theme] .figma-balance, html[data-theme] .figma-avatar { background: var(--ww-soft); color: var(--ww-ink); }
html[data-theme] .figma-menu-button { color: #fffdf7; background: var(--ww-forest); }
html[data-theme] .figma-menu-button > span:not(.sr-only) { flex: none; width: 20px; height: 2px; margin: 0; background: #fffdf7; }
html[data-theme] .figma-search, html[data-theme] .figma-mobile-menu { background: var(--ww-surface); border-color: var(--ww-line); color: var(--ww-ink); }
html[data-theme] .figma-search__control input { background: var(--ww-paper); border: 1px solid var(--ww-line); color: var(--ww-ink); }
html[data-theme] .figma-mobile-menu a { color: var(--ww-ink); }
html[data-theme] .figma-search .search-suggestions a:hover { background: var(--ww-soft); }

/* Footer, consent and native browser states share the same club materials. */
html[data-theme] .figma-footer { background: var(--ww-surface); color: var(--ww-ink); border-top: 1px solid var(--ww-line); padding-top: 60px; }
.figma-footer__grid, .figma-footer__bottom { width: min(1320px, calc(100% - 80px)); }
html[data-theme] .figma-footer p, html[data-theme] .figma-footer address, html[data-theme] .figma-footer small { color: var(--ww-muted); }
html[data-theme] .figma-footer h2 { font-family: var(--font-display); color: var(--ww-ink); font-size: 18px; font-weight: 650; }
html[data-theme] .figma-footer__age { color: #173b32; background: var(--ww-peach); }
.figma-footer__bottom { padding-block: 26px; border-color: var(--ww-line); }
html[data-theme] .cookie-banner { background: var(--ww-surface); color: var(--ww-ink); border: 1px solid var(--ww-line); border-radius: 14px; box-shadow: 0 16px 60px rgb(16 29 25 / 18%); }
.cookie-banner .eyebrow { display: none; }
.cookie-banner h2 { font-family: var(--font-display); color: var(--ww-ink); font-size: 23px; }
.cookie-banner p, .cookie-banner a { color: var(--ww-muted); }
html[data-theme] .age-gate { background: var(--ww-surface); color: var(--ww-ink); border: 1px solid var(--ww-line); border-radius: 16px; box-shadow: 0 20px 80px rgb(0 0 0 / 20%); }
.age-gate::backdrop { background: rgb(16 29 25 / 65%); }
.age-gate__brand, .age-gate h2 { font-family: var(--font-display); color: var(--ww-ink); }
.age-gate p, .age-gate__policy { color: var(--ww-muted); }
html[data-theme] .age-gate .nv-button--primary { color: #fffdf7; background: var(--ww-forest); }
html[data-theme] .age-gate .nv-button--outline { color: var(--ww-ink); background: transparent; border-color: var(--ww-line); }
html[data-theme] .toast { background: var(--ww-surface); color: var(--ww-ink); border-color: var(--ww-line); }
html[data-theme] .account-verification-notice { background: var(--ww-soft); color: var(--ww-ink); }
.fp-not-found-art { object-fit: contain; max-height: 380px; }
.figma-loading-screen picture img { max-height: 340px; object-fit: contain; }

/* Rebrand the existing home sections in their original order. */
.nv-home { background: var(--ww-paper); }
.nv-container, .nv-wide { width: min(1320px, calc(100% - 80px)); }
html[data-theme] .nv-home :is(h1, h2, h3) { font-family: var(--font-display); color: var(--ww-ink); letter-spacing: -.035em; }
html[data-theme] .nv-home h2 { font-size: clamp(34px, 3.7vw, 52px); font-weight: 650; line-height: 1.1; }
html[data-theme] .nv-home h3 { font-weight: 650; }
.nv-section { min-height: 0; padding-block: 76px; }
.nv-kicker { display: none; }
html[data-theme] .nv-home :is(.nv-button--primary, .nv-button--secondary) { background: var(--ww-forest); color: #fffdf7; border: 0; border-radius: 9px; min-height: 48px; }
html[data-theme] .nv-home :is(.nv-button--primary, .nv-button--secondary):hover { background: #275640; }
html[data-theme] .nv-home .nv-button--muted { background: var(--ww-soft); color: var(--ww-ink); }
html[data-theme] .nv-home .nv-text-link { color: var(--ww-ink); text-underline-offset: 5px; }
html[data-theme] .nv-home :is(.nv-pill, .nv-muted, .nv-disclaimer) { color: var(--ww-muted); }
html[data-theme] .nv-home .nv-pill { background: var(--ww-soft); border-color: var(--ww-line); }

html[data-theme] :is(.nv-promo, .nv-bottom-promo) { display: grid; grid-template-columns: 1.04fr 1fr; aspect-ratio: auto; min-height: 560px; width: min(1320px, calc(100% - 80px)); margin-inline: auto; color: var(--ww-ink); background: var(--ww-paper); overflow: visible; }
.nv-promo::before, .nv-bottom-promo::before { display: none; }
html[data-theme] .nv-promo__visual { position: relative; inset: auto; grid-column: 2; grid-row: 1; height: 530px; width: 100%; align-self: center; }
html[data-theme] .nv-promo__visual img { width: 100%; height: 100%; object-fit: contain; object-position: center; transform: none; }
.nv-promo .nv-promo__visual img { animation: whisker-settles 700ms cubic-bezier(.16,1,.3,1) both; }
html[data-theme] .nv-promo__content { position: relative; inset: auto; grid-column: 1; grid-row: 1; align-self: center; max-width: 550px; width: auto; padding: 50px 30px 50px 0; margin: 0; color: var(--ww-ink); }
html[data-theme] .nv-promo__title { font-family: var(--font-display); font-size: clamp(45px, 5.1vw, 73px); letter-spacing: -.04em; font-weight: 700; line-height: 1.03; color: var(--ww-ink); margin-bottom: 24px; }
html[data-theme] .nv-promo__eyebrow { color: var(--ww-muted); font-size: 11px; letter-spacing: .02em; margin-bottom: 25px; }
html[data-theme] .nv-promo__content > p:not(.nv-promo__eyebrow,.nv-promo__title) { color: var(--ww-muted); font-size: 17px; line-height: 1.65; max-width: 42ch; }
.nv-promo__content .nv-button { margin-top: 16px; }

html[data-theme] .nv-hero { background: #173b32; color: #f5f1e8; padding-block: 56px; }
.nv-hero__grid { grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
html[data-theme] .nv-hero h1 { color: #f5f1e8; font-size: clamp(38px, 4.2vw, 60px); font-weight: 650; line-height: 1.08; }
html[data-theme] .nv-hero__copy > p { color: #cbd6cc; font-size: 15px; }
html[data-theme] .nv-hero .nv-button--secondary { background: #f5f1e8; color: #173b32; }
html[data-theme] .nv-hero .nv-button--outline-light { color: #f5f1e8; border-color: #728d7c; background: transparent; }
.nv-hero .nv-actions > * { width: auto; }
.nv-section-heading--split { align-items: end; }
.nv-section-heading p { color: var(--ww-muted); line-height: 1.6; }

html[data-theme] .nv-highlight-card { background: var(--ww-surface); color: var(--ww-ink); border: 0; border-radius: 14px; box-shadow: none; }
.nv-highlight-card__image { aspect-ratio: 4 / 3; }
.nv-highlight-card__image img { height: 100%; object-fit: cover; }
.nv-highlight-card__body { padding: 28px; }
html[data-theme] .nv-highlight-card__body h3 { font-size: 27px; }
html[data-theme] .nv-highlight-card__body > p { color: var(--ww-muted); }
.nv-highlight-card__meta { font-size: 11px; }
html[data-theme] .nv-coins { background: var(--ww-paper); }
html[data-theme] .nv-fact-grid article, html[data-theme] .nv-fact-grid article.is-outlined { background: transparent; color: var(--ww-ink); border: 0; border-bottom: 1px solid var(--ww-line); border-radius: 0; padding: 20px 0; }
html[data-theme] .nv-fact-grid h3 { color: var(--ww-ink); }
html[data-theme] .nv-fact-grid p { color: var(--ww-muted); }
html[data-theme] .nv-home .nv-earn-panel { background: #173b32; color: #f5f1e8; border-radius: 14px; }
html[data-theme] .nv-earn-panel h3 { color: #f5f1e8; }
html[data-theme] .nv-earn-panel .nv-button--secondary { background: #edc9b2; color: #173b32; }
html[data-theme] .nv-earn-panel .nv-button--outline-light { background: transparent; color: #f5f1e8; border-color: #728d7c; }
html[data-theme] .nv-practice, html[data-theme] .nv-practice > div { background: var(--ww-surface); color: var(--ww-ink); border-color: var(--ww-line); }
html[data-theme] .nv-practice p { color: var(--ww-muted); }
html[data-theme] .nv-tip-row { background: var(--ww-soft); color: var(--ww-ink); border-radius: 12px; }
html[data-theme] .nv-feature-band { background: var(--ww-soft); color: var(--ww-ink); padding-block: 65px; }
html[data-theme] .nv-feature-card { background: var(--ww-surface); border: 0; color: var(--ww-ink); border-radius: 14px; }
html[data-theme] .nv-feature-card h2, html[data-theme] .nv-feature-card:nth-child(6) h2 { font-size: 23px; color: var(--ww-ink); }
html[data-theme] .nv-feature-card p { color: var(--ww-muted); }
html[data-theme] .nv-feature-card:nth-child(6) { background: var(--ww-peach); }
html[data-theme] .nv-feature-card:nth-child(6) :is(h2,p) { color: #173b32; }
html[data-theme] .nv-daily { background: var(--ww-paper); }
html[data-theme] .nv-daily-how { background: transparent; border: 0; color: var(--ww-ink); }
html[data-theme] .nv-daily-note { background: var(--ww-soft); color: var(--ww-ink); }
html[data-theme] .nv-daily-note p, html[data-theme] .nv-daily-note small { color: var(--ww-muted); }
html[data-theme] .nv-home .nv-streak { background: var(--ww-surface); color: var(--ww-ink); border: 1px solid var(--ww-line); border-radius: 14px; box-shadow: none; }
html[data-theme] .nv-home .nv-streak :is(h3,ol li strong) { color: var(--ww-ink); }
html[data-theme] .nv-home .nv-streak :is(p,small,[data-streak-countdown]) { color: var(--ww-muted); }
html[data-theme] .nv-home .nv-streak ol li { background: var(--ww-paper); color: var(--ww-ink); border-color: var(--ww-line); }
html[data-theme] .nv-home .nv-streak ol li.is-complete { background: var(--ww-soft); border-color: var(--ww-copper); }
html[data-theme] .nv-home .nv-streak ol li.is-next { background: var(--ww-peach); color: #173b32; border-color: #965130; }
html[data-theme] .nv-home .nv-streak ol li.is-next :is(span,strong) { color: #173b32; }
html[data-theme] .nv-topup { background: var(--ww-soft); }
html[data-theme] .nv-pack { background: var(--ww-surface); color: var(--ww-ink); border-color: var(--ww-line); box-shadow: none; border-radius: 14px; }
html[data-theme] .nv-pack.is-selected { background: var(--ww-paper); border-color: var(--ww-copper); }
html[data-theme] .nv-pack small { color: var(--ww-muted); }
.nv-pack__top em { color: var(--ww-copper); font-style: normal; }
html[data-theme] .nv-transparency { background: transparent; color: var(--ww-ink); border: 0; }
html[data-theme] .nv-home .nv-pack-summary { background: #173b32; color: #f5f1e8; border: 0; border-radius: 14px; }
html[data-theme] .nv-home .nv-pack-summary :is(h3,dt,dd,p,small) { color: #f5f1e8; }
html[data-theme] .nv-home .nv-pack-summary .nv-button--secondary { background: #edc9b2; color: #173b32; }
html[data-theme] .nv-home .nv-pack-summary .nv-button--muted { background: #275640; color: #f5f1e8; }
html[data-theme] .nv-responsible { background: var(--ww-paper); }
html[data-theme] .nv-responsible__support article:first-child, html[data-theme] .nv-responsible__support article:last-child, html[data-theme] .nv-guidance { background: var(--ww-surface); color: var(--ww-ink); border: 1px solid var(--ww-line); border-radius: 14px; }
html[data-theme] .nv-responsible__support :is(p,li) { color: var(--ww-muted); }
html[data-theme] .nv-community { background: var(--ww-soft); min-height: 0; }
html[data-theme] .nv-review-rail article { background: var(--ww-surface); color: var(--ww-ink); border-color: var(--ww-line); border-radius: 12px; }
html[data-theme] .nv-review-rail article:nth-child(odd) { background: var(--ww-paper); }
html[data-theme] .nv-review-rail article > div { color: var(--ww-copper); }
html[data-theme] .nv-faq-preview, html[data-theme] .nv-popular { background: var(--ww-paper); }
.nv-faq-preview { min-height: 0; }
html[data-theme] .nv-faq-search input { background: var(--ww-surface); color: var(--ww-ink); border-color: var(--ww-line); }
html[data-theme] .nv-faq-box { background: var(--ww-surface); border-color: var(--ww-line); }
html[data-theme] .nv-home .nv-faq-grid .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--ww-line); border-radius: 0; }
html[data-theme] .nv-home .nv-faq-grid button { color: var(--ww-ink); }
html[data-theme] .nv-home .nv-faq-grid .accordion-panel { color: var(--ww-muted); }
html[data-theme] .nv-home .nv-faq-notice { background: var(--ww-soft); color: var(--ww-ink); }
html[data-theme] .nv-bottom-promo { min-height: 440px; border-block: 1px solid var(--ww-line); }
.nv-bottom-promo .nv-promo__visual { height: 390px; }
html[data-theme] .nv-game-card { background: var(--ww-surface); color: var(--ww-ink); border-color: var(--ww-line); border-radius: 14px; }
html[data-theme] .nv-game-card.is-featured { background: var(--ww-forest); color: #f5f1e8; border-color: var(--ww-forest); }
html[data-theme] .nv-game-card h3 { font-size: 22px; }
html[data-theme] .nv-game-card > p { color: var(--ww-muted); }
html[data-theme] .nv-game-card.is-featured :is(h3,p) { color: #f5f1e8; }
html[data-theme] .nv-game-card__link { border-color: var(--ww-line); }
.nv-game-card > a:first-child { aspect-ratio: 4 / 3; }
.nv-game-card img { height: 100%; object-fit: cover; }
.ww-companion__action, .ww-companion__stages li.is-reached .ww-companion__stage-number { color: #fffdf7; }

@keyframes whisker-settles { from { transform: translateY(-10px) rotate(-1deg); } to { transform: translateY(0) rotate(0); } }
@media (max-width: 1200px) {
    .figma-header__nav { gap: 16px; }
    .figma-header__links { gap: 17px; }
    .figma-launch { display: none; }
    .nv-hero__grid { gap: 36px; }
}
@media (max-width: 900px) {
    .nv-container, .nv-wide, .figma-header__nav, .figma-utility__inner, .figma-footer__grid, .figma-footer__bottom { width: calc(100% - 48px); }
    .figma-header__links { display: none; }
    .figma-menu-button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
    html[data-theme] :is(.nv-promo,.nv-bottom-promo) { width: calc(100% - 48px); }
    html[data-theme] .nv-promo__visual { height: 430px; }
    html[data-theme] .nv-promo__title { font-size: 52px; }
    .nv-section { padding-block: 58px; }
    .figma-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .figma-footer__identity { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .nv-container, .nv-wide, .figma-header__nav, .figma-footer__grid, .figma-footer__bottom { width: calc(100% - 40px); }
    .figma-header__nav { min-height: 74px; }
    html[data-theme] .figma-brand { font-size: 23px; gap: 7px; }
    .figma-brand img { width: 35px; height: 35px; }
    .figma-brand__desktop { display: inline; }
    .figma-brand__mobile { display: none; }
    .figma-header__actions { gap: 9px; }
    .figma-theme-toggle--header, .figma-search-button, .figma-signin, .figma-balance { display: none; }
    .figma-menu-button { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
    html[data-theme] .figma-utility__inner { width: calc(100% - 32px); justify-content: center; font-size: 9px; min-height: 28px; }
    .figma-utility__inner a, .figma-utility__inner strong { display: none; }
    html[data-theme] :is(.nv-promo,.nv-bottom-promo) { width: calc(100% - 40px); grid-template-columns: 1fr; min-height: 0; gap: 0; padding-block: 28px 20px; }
    html[data-theme] .nv-promo__content { grid-column: 1; grid-row: 1; padding: 10px 0 15px; text-align: left; width: 100%; }
    html[data-theme] .nv-promo__title { font-size: 47px; }
    html[data-theme] .nv-promo__content > p:not(.nv-promo__eyebrow,.nv-promo__title) { font-size: 15px; }
    html[data-theme] .nv-promo__visual { grid-column: 1; grid-row: 2; height: 335px; }
    .nv-hero__grid { grid-template-columns: 1fr; gap: 25px; }
    html[data-theme] .nv-hero h1 { font-size: 38px; }
    .nv-section { padding-block: 46px; }
    html[data-theme] .nv-home h2 { font-size: 35px; }
    .nv-highlight-card__body { padding: 24px; }
    .nv-highlight-card__image { aspect-ratio: 4 / 3; }
    .nv-section-heading--split { gap: 20px; }
    .nv-daily__grid, .nv-coins__details, .nv-topup__layout, .nv-responsible__grid { grid-template-columns: 1fr; }
    .nv-pack-grid { grid-template-columns: 1fr; }
    .nv-pack-summary { padding: 25px; }
    .nv-game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
    .nv-game-card { grid-column: auto; padding: 12px; }
    html[data-theme] .nv-game-card h3 { font-size: 16px; }
    .nv-game-card > p { font-size: 10px; }
    .cookie-banner { inset: auto 12px 12px; max-width: none; padding: 22px; }
    .figma-footer__grid { grid-template-columns: 1fr; }
    .figma-footer { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .nv-promo .nv-promo__visual img { animation: none; }
}
