/* Storefront layout; the cozy design system supplies colors and interactions. */
@font-face { font-family: 'NFG Display'; src: url('../fonts/space-grotesk-latin.woff2') format('woff2'); font-style: normal; font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'NFG Body'; src: url('../fonts/outfit-latin.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
.nfg-landing {
    --font-display: 'NFG Display', 'Segoe UI', sans-serif;
    --font-body: 'NFG Body', 'Segoe UI', sans-serif;
    --bg-body: #fff; --surface: #fff; --surface-2: #f4f6f5;
    --text-primary: #18231e; --text-secondary: #58645d; --text-muted: #647068;
    --glass-border: #e4e9e6; --accent-primary: #0b7263; --accent-secondary: #0b7263;
    --navbar-bg: #fff; background: #fff; color-scheme: only light;
}
.nfg-landing main > .container { max-width: 1280px; padding: 0 32px; margin-top: 0 !important; }
.nfg-landing .navbar { background: #fff; padding: 14px 0; border-bottom: 1px solid var(--glass-border); box-shadow: none; backdrop-filter: none; }
.nfg-landing .navbar > .container-fluid { max-width: 1280px; padding: 0 32px; }
.nfg-landing .brand-text { display: inline; font-size: 17px; letter-spacing: -.6px; }
.nfg-landing .logo-img { border-radius: 4px; }
.nfg-landing .nav-center { border: 0; background: transparent; gap: 4px; }
.nfg-landing .nav-center .nav-link { border-radius: 6px; }
.nfg-landing .nav-center .nav-link i { display: none; }
.nfg-landing .nav-center .nav-link.active { background: #f1f7f4; box-shadow: none; }
.nfg-landing .nav-signup { border-radius: 7px !important; }
.nfg-mobile-cart { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; gap: 4px; margin-left: auto; color: var(--text-primary); text-decoration: none; font-size: 18px; }
.nfg-mobile-cart span { font-size: 11px; }
.nfg-skip { position: fixed; top: 8px; left: 16px; transform: translateY(-160%); padding: 10px 20px; background: #fff; color: var(--accent-primary); z-index: 1040; border: 2px solid currentColor; }
.nfg-skip:focus { transform: none; }
.nfg-home { padding: 28px 0 56px; }
.nfg-home:focus { outline: none; }
.nfg-home a { color: inherit; text-decoration: none; }
.nfg-home h1, .nfg-home h2, .nfg-home h3 { margin: 0; }
.nfg-landing :is(a, button, input, summary):focus-visible { outline: 3px solid var(--accent-primary); outline-offset: 4px; }
.nfg-home a:hover { color: var(--accent-primary); }
.nfg-kicker { color: var(--accent-primary); font-size: 13px; font-weight: 500; margin: 0 0 13px; }
.nfg-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 50px; padding: 38px; background: #f4f8f5; border-radius: 14px; }
.nfg-hero-copy { min-width: 0; }
.nfg-hero h1 { max-width: 480px; font-size: clamp(40px, 4.2vw, 58px); font-weight: 700; line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; }
.nfg-hero-description { max-width: 340px; font-size: 16px; color: var(--text-secondary); line-height: 1.6; margin: 18px 0 24px; }
.nfg-search { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 5px 5px 5px 15px; background: #fff; border: 1px solid #dbe3dd; border-radius: 8px; }
.nfg-search > i { color: var(--text-secondary); font-size: 17px; }
.nfg-search input { width: 100%; min-width: 0; border: 0; padding: 7px 0; background: transparent; color: var(--text-primary); font: inherit; font-size: 14px; }
.nfg-search input::placeholder { color: var(--text-secondary); opacity: 1; }
.nfg-search button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 15px; flex-shrink: 0; border: 0; border-radius: 5px; background: var(--accent-primary); color: #fff; font-size: 13px; font-weight: 500; }
.nfg-browse-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; font-weight: 500; margin-top: 4px; }
.nfg-shelf { min-width: 0; }
.nfg-shelf-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 12px; margin-bottom: 14px; }
.nfg-shelf-heading > span:first-child { font-weight: 500; }
.nfg-shelf-heading > span:last-child { color: var(--text-secondary); }
.nfg-shelf-games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nfg-shelf-game { min-width: 0; display: flex; flex-direction: column; }
.nfg-cover { display: grid; position: relative; place-items: center; width: 100%; aspect-ratio: 460 / 215; border-radius: 8px; background: #edf1ee; overflow: hidden; isolation: isolate; transition: transform .2s ease; }
.nfg-cover > i { position: absolute; color: #627169; font-size: 34px; }
.nfg-cover img { position: relative; width: 100%; height: 100%; object-fit: cover; display: block; }
.nfg-cover img[hidden] { display: none; }
.nfg-cover-contained img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.nfg-shelf-game h2 { font: 500 14px/1.35 var(--font-body); letter-spacing: 0; margin-top: 12px; overflow-wrap: anywhere; }
.nfg-price { font-weight: 600; font-size: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.nfg-price > span { font-size: 12px; font-weight: 400; color: var(--text-secondary); }
.nfg-shelf-game .nfg-price { display: block; font-size: 15px; margin-top: auto; padding-top: 5px; }
.nfg-price-options { font-size: 13px; }
.nfg-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 17px 0; border-bottom: 1px solid var(--glass-border); }
.nfg-shortcuts a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 22px; border-right: 1px solid var(--glass-border); font-size: 14px; font-weight: 500; }
.nfg-shortcuts a:first-child { padding-left: 6px; }
.nfg-shortcuts a:last-child { border-right: 0; padding-right: 6px; }
.nfg-shortcuts a > i:first-child { color: var(--accent-primary); font-size: 19px; }
.nfg-shortcuts a > i:last-child { margin-left: auto; font-size: 13px; color: var(--text-secondary); }
.nfg-collection { padding: 46px 0 50px; scroll-margin-top: 90px; }
.nfg-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.nfg-section-heading .nfg-kicker { color: var(--text-secondary); margin-bottom: 8px; }
.nfg-section-heading h2 { font-size: 30px; font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.nfg-text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 13px; font-weight: 500; }
.nfg-collection-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0; border-bottom: 1px solid var(--glass-border); }
.nfg-filters { display: flex; gap: 24px; }
.nfg-filters a { padding: 0 0 12px; display: flex; align-items: center; min-height: 44px; border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: 14px; color: var(--text-secondary); }
.nfg-filters a[aria-current] { color: var(--accent-primary); border-color: var(--accent-primary); font-weight: 500; }
.nfg-collection-note { font-size: 12px; color: var(--text-secondary); padding-bottom: 12px; }
.nfg-game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 24px; }
.nfg-game { min-width: 0; display: flex; flex-direction: column; }
.nfg-game-platform { display: block; font-size: 11px; color: var(--text-secondary); margin: 13px 0 5px; }
.nfg-game h3 { font: 500 17px/1.35 var(--font-body); letter-spacing: -.015em; overflow-wrap: anywhere; }
.nfg-game-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.nfg-cover { flex-shrink: 0; }
.nfg-card-arrow { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--glass-border); border-radius: 50%; font-size: 14px; }
.nfg-game:hover .nfg-card-arrow { border-color: var(--accent-primary); background: #f0f7f3; }
.nfg-game:hover h3, .nfg-shelf-game:hover h2 { color: var(--accent-primary); }
.nfg-game:hover .nfg-cover, .nfg-shelf-game:hover .nfg-cover { transform: translateY(-3px); }
.nfg-collection[aria-busy="true"] .nfg-game-grid { opacity: .5; pointer-events: none; }
.nfg-collection-status:not(.visually-hidden) { padding: 14px 18px; margin: 20px 0 0; border: 1px solid #e4d1ac; border-radius: 8px; background: #fffaf0; color: #684d1e; font-size: 14px; }
.nfg-empty { padding: 40px 24px; background: var(--surface-2); border-radius: 8px; }
.nfg-empty h3 { font-size: 22px; }
.nfg-empty p { margin: 12px 0; color: var(--text-secondary); }
.nfg-player-help { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 28px 32px; border: 1px solid var(--glass-border); border-radius: 10px; }
.nfg-help-copy { display: flex; align-items: center; gap: 20px; }
.nfg-help-copy > i { font-size: 35px; color: var(--accent-primary); }
.nfg-player-help h2 { font-size: 22px; letter-spacing: -.035em; }
.nfg-player-help p { color: var(--text-secondary); font-size: 14px; margin: 7px 0 0; }
.nfg-home .nfg-button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; flex-shrink: 0; min-height: 46px; padding: 10px 20px; background: var(--accent-primary); color: #fff; border-radius: 7px; font-size: 14px; }
.nfg-home .nfg-button:hover, .nfg-search button:hover { background: #095c50; color: #fff; }
.nfg-home .nfg-button:active, .nfg-search button:active { transform: translateY(1px); }
.nfg-guide { display: grid; grid-template-columns: 1fr 1.3fr; gap: 90px; padding: 54px 0 4px; scroll-margin-top: 100px; }
.nfg-guide h2 { font-size: 34px; letter-spacing: -.04em; }
.nfg-guide-intro > p:not(.nfg-kicker) { max-width: 310px; margin: 16px 0 24px; color: var(--text-secondary); font-size: 15px; line-height: 1.6; }
.nfg-payment-note { display: inline-flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 12px; }
.nfg-questions details { border-bottom: 1px solid var(--glass-border); }
.nfg-questions summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; padding: 18px 0; font-size: 15px; font-weight: 500; list-style: none; }
.nfg-questions summary::-webkit-details-marker { display: none; }
.nfg-questions summary i { font-size: 23px; }
.nfg-questions details[open] summary i { transform: rotate(45deg); }
.nfg-questions p { margin: 0 0 18px; color: var(--text-secondary); font-size: 14px; line-height: 1.7; padding-right: 28px; }
.nfg-questions p a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.nfg-footer { background: #fff; border-top: 1px solid var(--glass-border); }
.nfg-footer-inner { max-width: 1280px; margin: auto; padding: 30px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.nfg-footer a { color: var(--text-secondary); text-decoration: none; }
.nfg-footer a:hover { color: var(--accent-primary); }
.nfg-footer .nfg-footer-brand { font: 600 19px var(--font-display); color: var(--text-primary); letter-spacing: -.6px; }
.nfg-footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 13px; }
.nfg-footer-legal { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--glass-border); font-size: 12px; color: var(--text-secondary); }
.nfg-footer-legal > div { display: flex; flex-wrap: wrap; gap: 24px; }
@media (max-width: 1100px) {
    .nfg-hero { padding: 28px; gap: 30px; }
    .nfg-hero h1 { font-size: 46px; }
    .nfg-shelf-games { gap: 10px; }
    .nfg-search button i { display: none; }
    .nfg-shortcuts a { padding-inline: 14px; }
}
@media (max-width: 767px) {
    .nfg-landing main > .container, .nfg-landing .navbar > .container-fluid { padding-inline: 18px; }
    .nfg-landing .navbar { padding: 9px 0; }
    .nfg-landing .brand-text { font-size: 15px; }
    .nfg-landing .navbar-toggler { margin-left: 8px; padding: 10px 0 10px 8px; }
    .nfg-home { padding: 16px 0 34px; }
    .nfg-hero { grid-template-columns: 1fr; padding: 24px 20px 22px; gap: 24px; border-radius: 11px; }
    .nfg-hero h1 { max-width: 400px; font-size: clamp(34px, 8.3vw, 44px); }
    .nfg-kicker { font-size: 12px; margin-bottom: 10px; }
    .nfg-hero-description { font-size: 14px; margin: 12px 0 18px; max-width: 430px; }
    .nfg-search { padding-left: 11px; gap: 8px; }
    .nfg-search input { font-size: 16px; }
    .nfg-search input::placeholder { font-size: 12px; }
    .nfg-search button { font-size: 12px; padding-inline: 13px; }
    .nfg-browse-link { margin-top: 2px; }
    .nfg-shelf-heading { font-size: 11px; margin-bottom: 11px; }
    .nfg-shelf-heading > span:last-child { display: none; }
    .nfg-shelf-games { gap: 10px; }
    .nfg-cover { border-radius: 6px; }
    .nfg-shelf-game h2 { font-size: 12px; margin-top: 8px; }
    .nfg-shelf-game .nfg-price { font-size: 13px; margin-top: 4px; }
    .nfg-shelf-game .nfg-price > span { font-size: 10px; }
    .nfg-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding: 12px 0; }
    .nfg-shortcuts a, .nfg-shortcuts a:first-child, .nfg-shortcuts a:last-child { padding: 8px 0; gap: 9px; border: 0; font-size: 12px; }
    .nfg-shortcuts a > i:first-child { font-size: 17px; }
    .nfg-collection { padding: 30px 0; scroll-margin-top: 78px; }
    .nfg-section-heading { align-items: start; gap: 14px; }
    .nfg-section-heading h2 { font-size: 25px; max-width: 240px; }
    .nfg-section-heading .nfg-text-link { font-size: 12px; gap: 8px; flex-shrink: 0; align-self: end; }
    .nfg-section-heading .nfg-text-link i { display: none; }
    .nfg-collection-toolbar { margin: 14px 0 20px; }
    .nfg-collection-note { display: none; }
    .nfg-filters { gap: 25px; }
    .nfg-filters a { font-size: 13px; padding-bottom: 10px; }
    .nfg-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    .nfg-game-platform { margin-top: 10px; }
    .nfg-game h3 { font-size: 15px; }
    .nfg-game-bottom { margin-top: 8px; gap: 5px; }
    .nfg-price { font-size: 17px; }
    .nfg-price > span { font-size: 11px; }
    .nfg-card-arrow { width: 26px; height: 26px; }
    .nfg-player-help { padding: 23px; flex-direction: column; align-items: stretch; gap: 20px; }
    .nfg-help-copy { gap: 16px; align-items: start; }
    .nfg-help-copy > i { font-size: 28px; }
    .nfg-player-help h2 { font-size: 21px; }
    .nfg-player-help p { font-size: 13px; }
    .nfg-guide { grid-template-columns: 1fr; padding-top: 36px; gap: 20px; }
    .nfg-guide h2 { font-size: 30px; }
    .nfg-guide-intro > p:not(.nfg-kicker) { margin: 12px 0 16px; }
    .nfg-questions summary { font-size: 14px; }
    .nfg-footer-inner { padding: 26px 18px; }
    .nfg-footer nav { gap: 10px 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .nfg-landing *, .nfg-landing *::before, .nfg-landing *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .nfg-game:hover .nfg-cover, .nfg-shelf-game:hover .nfg-cover { transform: none; }
}
