/* Homepage only. App support and legal styles remain unchanged in styles.css. */
.homepage {
    --ink: #f6f3ff;
    --muted: #b8b5ca;
    --surface: #151426;
    --line: #39364c;
    --mint: #a8efd8;
    --lavender: #c2afff;
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: 'Nunito', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    line-height: 1.85;
    -webkit-text-size-adjust: 100%;
}
.homepage *, .homepage *::before, .homepage *::after { box-sizing: border-box; }
.homepage a { color: inherit; text-decoration: none; }
.homepage button { font: inherit; cursor: pointer; }
.homepage img { display: block; max-width: 100%; height: auto; }
.homepage h1, .homepage h2, .homepage h3, .homepage p, .homepage figure { margin: 0; }
.homepage h1, .homepage h2, .homepage h3 { line-height: 1.5; letter-spacing: -.045em; }
.homepage h2 { font-size: clamp(28px, 3.1vw, 42px); }
.homepage :focus-visible { outline: 3px solid var(--mint); outline-offset: 5px; }
.homepage [hidden] { display: none !important; }
.homepage section[id], .homepage #main-content { scroll-margin-top: 112px; }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 100px; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--lavender); }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 12px 20px; background: var(--surface); border: 2px solid var(--mint); }
.skip-link:focus { top: 20px; }
.site-header { position: sticky; top: 16px; z-index: 50; width: min(1280px, calc(100% - 40px)); min-height: 76px; margin: 16px auto 0; padding: 12px 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(21, 20, 38, .96); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { font-family: 'Fredoka', sans-serif; font-size: 25px; font-weight: 600; white-space: nowrap; letter-spacing: -.03em; display: inline-flex; align-items: center; gap: 7px; }
.brand span:not(.brand-dot) { color: var(--mint); }
.brand-dot, .status-dot { display: inline-block; background: var(--mint); width: 9px; height: 9px; border-radius: 50%; }
.brand-dot { width: 7px; height: 7px; align-self: start; margin-top: 9px; }
.desktop-nav { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; font-size: 13px; font-weight: 700; }
.desktop-nav a, .footer-links a { padding-block: 10px; }
.desktop-nav a:hover, .footer-links a:hover, .legal-links a:hover { color: var(--mint); }
.menu-toggle { border: 1px solid var(--line); color: var(--ink); background: transparent; border-radius: 50%; width: 44px; height: 44px; display: none; align-items: center; justify-content: center; flex-shrink: 0; }
.mobile-menu { width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 26px; border: 1px solid #696277; border-radius: 24px; background: #201e33; color: var(--ink); overflow-y: auto; }
.mobile-menu::backdrop { background: rgba(9, 8, 19, .78); }
.menu-heading { display: flex; justify-content: space-between; align-items: center; color: var(--lavender); font-size: 12px; letter-spacing: .1em; }
.menu-close { color: var(--ink); background: transparent; border: 0; min-height: 44px; }
.menu-close span { font-size: 26px; margin-left: 10px; }
.mobile-menu nav { display: grid; margin-top: 20px; }
.mobile-menu nav a { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 700; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 16px 40px; padding-top: 76px; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero h1 { font-size: clamp(34px, 4.3vw, 60px); margin-top: 26px; line-height: 1.5; letter-spacing: -.055em; font-weight: 800; }
.accent { color: var(--mint); }
.hero-description { color: var(--muted); font-size: 16px; margin-top: 24px !important; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; border-radius: 999px; padding: 14px 26px; font-size: 14px; font-weight: 800; transition: background .2s, box-shadow .2s; }
.homepage .button-primary { background: var(--mint); color: #182c29; }
.homepage .button-primary:hover { background: #caf9e9; box-shadow: 0 4px 24px #a8efd81a; }
.text-link { display: inline-flex; align-items: center; gap: 20px; padding-block: 12px; font-size: 14px; font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.hero-art { position: relative; isolation: isolate; aspect-ratio: 1; display: grid; place-items: center; }
.hero-art picture { width: 94%; z-index: 1; }
.hero-orbit { position: absolute; inset: 5%; border: 1px solid #5d526e; border-radius: 48% 52% 44% 56%; background: #322942; transform: rotate(-12deg); }
.hero-orbit::after { content: ''; position: absolute; inset: 20px -12px -14px 16px; border: 1px dashed #796284; border-radius: 50%; }
.hero-spark { position: absolute; top: 6%; right: 5%; font-size: 52px; color: #efc88e; z-index: 2; }
.hero-art figcaption { position: absolute; bottom: 0; right: 0; z-index: 2; background: #efe6ff; color: #342747; padding: 8px 18px; border-radius: 999px; font-size: 12px; font-weight: 700; transform: rotate(-5deg); }
.hero-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; padding-block: 48px 25px; border-bottom: 1px solid var(--line); font-size: 10px; color: var(--muted); letter-spacing: .13em; }
.hero-footer span span { margin-left: 18px; }
.mobile-break { display: none; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 36px; }
.section-heading h2, .company h2 { margin-top: 10px; }
.section-heading > p, .company > div > p:last-child { color: var(--muted); font-size: 14px; }
.featured-game { display: grid; grid-template-columns: 1.1fr 1fr; background: #211f34; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; }
.game-visual { position: relative; min-height: 550px; padding: 65px 34px 36px; display: flex; gap: 18px; align-items: center; justify-content: center; background: #292e4a; overflow: hidden; }
.visual-label { position: absolute; top: 25px; left: 28px; font-size: 10px; letter-spacing: .17em; color: #bbc3e4; }
.homepage .game-shot { width: 45%; height: auto; border-radius: 14px; border: 1px solid #5c5e84; box-shadow: 0 15px 30px #0005; }
.shot-main { transform: translateY(-14px) rotate(-5deg); }
.shot-secondary { transform: translateY(14px) rotate(5deg); }
.game-copy { padding: 40px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.game-title-row { display: flex; align-items: center; gap: 15px; margin-top: 22px; }
.game-title-row img { border-radius: 14px; width: 56px; height: 56px; }
.game-title-row h3 { font-size: clamp(19px, 2.1vw, 27px); }
.game-title-row h3 span { font-size: 16px; color: var(--muted); letter-spacing: .02em; word-break: keep-all; }
.game-tagline { font-size: 24px; font-weight: 700; line-height: 1.65; margin-top: 24px !important; }
.game-copy > p:not(.eyebrow):not(.game-tagline) { font-size: 14px; color: var(--muted); margin-top: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 28px; list-style: none; }
.tags li { border: 1px solid #4d4962; border-radius: 999px; padding: 4px 12px; color: #d5cfe3; font-size: 10px; }
.mission { background: #201d30; border-block: 1px solid var(--line); }
.mission-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; }
.mission-art { background: #2d2942; border-radius: 50%; max-width: 390px; aspect-ratio: 1; display: grid; place-items: center; }
.mission-art img { width: 92%; }
.mission h2 { margin-top: 18px; }
.mission p:not(.eyebrow) { color: var(--muted); font-size: 14px; max-width: 460px; margin-top: 22px; }
.motion-toggle { margin-top: 22px; padding: 9px 16px; color: #d7cee8; background: transparent; border: 1px solid #655978; border-radius: 999px; font-size: 12px !important; min-height: 44px; }
.company { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.company > div > p:last-child { margin-top: 20px; }
.company-details { margin: 0; }
.company-details > div { display: grid; grid-template-columns: 100px 1fr; gap: 25px; padding: 24px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.company-details dt { color: var(--muted); }
.company-details dd { margin: 0; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 44px; border-radius: 28px; background: #d9cfef; color: #282139; }
.contact .eyebrow { color: #665475; }
.contact h2 { margin-top: 10px; font-size: 32px; }
.contact p:last-child { font-size: 13px; margin-top: 12px; }
.contact-link { display: flex; gap: 24px; border-bottom: 1px solid #8f7aab; padding-block: 16px; font-size: clamp(16px, 2vw, 23px); font-weight: 700; overflow-wrap: anywhere; }
.contact-link:hover { border-color: #282139; }
.site-footer { padding-block: 42px 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; margin-left: auto; font-size: 12px; color: var(--muted); }
.site-footer small { flex-basis: 100%; color: var(--muted); font-size: 10px; }
.homepage .mascot-stage { opacity: .18; }
@media (max-width: 960px) {
    .desktop-nav { gap: 16px; font-size: 12px; }
    .brand { font-size: 22px; }
    .hero { gap: 20px; padding-top: 60px; }
    .hero-actions { gap: 12px; }
    .game-copy { padding: 28px; }
    .game-visual { padding-inline: 22px; min-height: 480px; }
    .game-tagline { font-size: 21px; }
    .mission-grid, .company { gap: 40px; }
    .contact { align-items: flex-start; flex-direction: column; gap: 14px; }
}
@media (max-width: 767px) {
    .container { width: calc(100% - 40px); }
    .section { padding-block: 64px; }
    .site-header { width: calc(100% - 24px); margin-top: 12px; top: 12px; min-height: 66px; padding: 10px 16px; border-radius: 20px; flex-wrap: wrap; gap: 8px; }
    .brand { font-size: 22px; }
    .desktop-nav { width: 100%; gap: 10px 18px; }
    .homepage.has-js .desktop-nav { display: none; }
    .menu-toggle { display: flex; }
    .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 32px; }
    .hero h1 { font-size: clamp(32px, 7vw, 48px); margin-top: 20px; }
    .hero .eyebrow { font-size: 9px; letter-spacing: .12em; }
    .hero-description { font-size: 14px; margin-top: 20px !important; }
    .hero-actions { margin-top: 24px; gap: 10px 20px; }
    .button { padding: 12px 22px; min-height: 52px; gap: 20px; font-size: 13px; }
    .text-link { font-size: 12px; gap: 10px; }
    .hero-art { width: min(90%, 380px); margin-inline: auto !important; }
    .hero-art figcaption { font-size: 10px; }
    .hero-spark { font-size: 38px; }
    .hero-footer { padding-top: 12px; font-size: 8px; letter-spacing: .06em; }
    .hero-footer span span { margin-left: 4px; }
    .section-heading { display: block; margin-bottom: 26px; }
    .section-heading > p { margin-top: 16px; font-size: 13px; }
    .featured-game, .mission-grid, .company { grid-template-columns: 1fr; }
    .featured-game { border-radius: 24px; }
    .game-visual { min-height: 0; padding: 58px 30px 30px; gap: 18px; }
    .homepage .game-shot { max-width: 170px; border-radius: 10px; }
    .game-copy { padding: 28px 24px 32px; }
    .game-title-row h3 { font-size: 23px; }
    .game-tagline { font-size: 23px; }
    .mission-grid { gap: 32px; }
    .mission-art { max-width: 250px; width: 75%; margin-inline: auto; }
    .company { gap: 24px; }
    .company-details > div { grid-template-columns: 76px 1fr; gap: 14px; font-size: 13px; padding-block: 20px; }
    .contact { padding: 28px 24px; border-radius: 24px; }
    .contact h2 { font-size: 27px; }
    .contact-link { font-size: 16px; gap: 12px; max-width: 100%; }
    .footer-links { width: 100%; margin-left: 0; gap: 20px; }
    .site-footer { gap: 10px; padding-top: 32px; }
}
@media (max-width: 360px) {
    .container { width: calc(100% - 32px); }
    .brand { font-size: 19px; }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .mobile-break { display: block; }
    .game-title-row h3 { font-size: 19px; }
    .game-title-row { gap: 10px; }
    .game-title-row img { width: 46px; height: 46px; }
    .contact-link { font-size: 14px; }
}

/* Existing app-specific policies are hosted on the game's official support site. */
.game-policy-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 14px; }
.game-policy-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.game-policy-links a:hover { color: var(--mint); }

/* Additional game cards and the Kuruban board render (no store screenshots in the repo). */
.featured-game + .featured-game { margin-top: 28px; }
.game-visual-board { background: radial-gradient(circle at 50% 55%, #2f4d55 0%, #292e4a 68%); }
.board-art { display: block; width: 100%; max-width: 480px; }
.board-art img { width: 100%; height: auto; filter: drop-shadow(0 22px 26px #0007); transform: rotate(-4deg); }
.new-badge { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--mint); color: #151426; font-size: 9px; font-weight: 700; letter-spacing: .1em; vertical-align: middle; }
@media (max-width: 767px) {
    .featured-game + .featured-game { margin-top: 20px; }
    .game-visual-board { padding-block: 58px 34px; }
    .board-art { max-width: 340px; }
}
