:root {
  color-scheme: dark;
  --bg: #0d1517;
  --surface: #152023;
  --surface-raised: #1b292b;
  --line: #304144;
  --text: #f1f3ec;
  --muted: #a7b8b5;
  --accent: #bce6d3;
  --accent-ink: #10211d;
  --warm: #e9ac94;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.topline { display: flex; justify-content: space-between; align-items: center; min-height: 32px; padding: 6px 32px; border-bottom: 1px solid #233134; color: #95aaa5; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.site-header { display: flex; align-items: center; gap: 38px; min-height: 86px; padding: 14px 32px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: baseline; white-space: nowrap; font: 800 22px/1 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: -.075em; }
.brand span { color: var(--accent); }
.brand small { margin-left: 12px; color: #91a8a3; font: 700 9px/1 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: .18em; }
.site-header nav { display: flex; gap: 5px; align-items: center; margin-left: auto; }
.site-header nav a { padding: 11px 14px; border-radius: 999px; color: #b7c8c2; font-size: 13px; font-weight: 600; transition: color .2s, background .2s; }
.site-header nav a:hover, .site-header nav a:focus-visible { background: #213134; color: var(--text); }
.header-cta { display: inline-flex; align-items: center; gap: 18px; padding: 11px 17px; border: 1px solid #5a8275; border-radius: 999px; color: var(--accent); font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s; }
.header-cta:hover { background: var(--accent); color: var(--accent-ink); }

.home-game { padding-block: 24px 36px; }
.frame-shell { overflow: hidden; border: 1px solid #405654; border-radius: var(--radius); background: #071011; box-shadow: 0 24px 55px #0005; }
.frame-top, .frame-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 56px; padding: 11px 21px; }
.frame-top { border-bottom: 1px solid #263637; background: #162124; }
.frame-status { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 13px; font-weight: 700; }
.status-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #8ddeba; box-shadow: 0 0 0 5px #8ddeba18; }
.age-note { color: #9db1aa; font-size: 12px; }
.iframe-wrap { aspect-ratio: 16 / 8.8; min-height: 390px; background: #050b0c; }
.iframe-wrap iframe { display: block; width: 100%; height: 100%; border: 0; background: #050b0c; }
.embed-launch { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 100%; border: 0; color: var(--text); cursor: pointer; text-align: center; }
.embed-launch strong { font-size: clamp(22px, 3vw, 34px); line-height: 1.2; }
.embed-launch small { color: #b7c9c1; font-size: 13px; }
.launch-icon { display: grid; place-items: center; width: 74px; height: 74px; padding-left: 4px; border: 1px solid #a5d9c2; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 24px; transition: transform .2s, background .2s; }
.embed-launch:hover .launch-icon { transform: scale(1.08); background: #d8f2e5; }
.game-launch { background: radial-gradient(circle at 50% 45%, #263c39, #0a1415 70%); }
.video-launch { background: radial-gradient(circle at 50% 40%, #273936, #0a1112 72%); }
.video-launch strong { font-size: 22px; }
.frame-fullscreen:disabled { opacity: .45; cursor: not-allowed; }
.frame-fullscreen:disabled:hover { border-color: #49605e; background: transparent; }
.frame-bottom { border-top: 1px solid #263637; color: #9fb3ad; font-size: 12px; }
.frame-actions { display: flex; align-items: center; gap: 10px; }
.frame-actions a, .frame-fullscreen { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 34px; padding: 7px 13px; border: 1px solid #49605e; border-radius: 999px; background: transparent; color: var(--text); font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s; }
.frame-actions a:hover, .frame-fullscreen:hover { border-color: #8fc5ad; background: #20312f; }
.frame-actions a span, .frame-fullscreen span { color: var(--accent); font-size: 16px; line-height: .7; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: stretch; padding-block: 66px 78px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 35px 0 18px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .025em; }
.kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.hero h1 { max-width: 660px; margin: 24px 0 20px; font-size: clamp(48px, 5.3vw, 78px); font-weight: 700; line-height: 1.08; letter-spacing: -.065em; }
.hero-copy > p { max-width: 560px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 48px; padding: 13px 20px; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 700; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); background: #d8f2e5; border-color: #d8f2e5; }
.button.secondary { border-color: #516865; background: transparent; color: var(--text); }
.button.secondary:hover { border-color: #8aada3; background: #1d2b2b; }
.button span { font-size: 17px; line-height: .7; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: auto; padding-top: 45px; }
.hero-meta span { padding: 8px 12px; border: 1px solid #334745; border-radius: 999px; color: #aec2b9; font-size: 11px; font-weight: 700; }
.hero-art { display: flex; position: relative; justify-content: center; align-items: center; min-height: 470px; overflow: hidden; border: 1px solid #2e4141; border-radius: 30px; background: radial-gradient(circle at 50% 34%, #1e3031, #101819 65%); }
.hero-art img { width: min(78%, 370px); height: auto; border-radius: 12px; mix-blend-mode: screen; }
.hero-art > span { position: absolute; left: 22px; bottom: 20px; padding: 8px 12px; border: 1px solid #4b6160; border-radius: 999px; background: #0d1517b5; color: #d7e2dc; font-size: 11px; font-weight: 600; }
.feature-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 21px 27px; border: 1px solid var(--line); border-radius: 18px; background: #132022; color: #a9c3b8; font-size: 12px; font-weight: 700; }
.feature-strip span + span::before { content: '•'; margin-right: 30px; color: var(--warm); }

.video-section { scroll-margin-top: 24px; padding-bottom: 36px; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.video-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.video-player { display: flex; justify-content: center; height: 640px; background: #080d0e; }
.video-player iframe { display: block; width: 100%; max-width: 360px; height: 100%; border: 0; }
.video-card-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 20px; padding: 18px 22px; color: #9fb8ad; font-size: 12px; font-weight: 700; }
.video-card-footer a { color: var(--accent); }
.video-card-footer a:hover { color: #e0f8e9; }
.video-card-footer a span { margin-left: 8px; }

.section { padding-block: 102px; }
.section-head { max-width: 650px; margin-bottom: 34px; }
.section-head h2, .split-copy h2, .end-cta h2 { margin: 18px 0 13px; font-size: clamp(38px, 4.4vw, 62px); font-weight: 700; line-height: 1.15; letter-spacing: -.055em; }
.section-head p, .split-copy p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card, .guide-card, .steps > div, .download-grid article { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); transition: border-color .2s, background .2s, transform .2s; }
.card { display: flex; flex-direction: column; min-height: 300px; padding: 29px; }
.card:hover { transform: translateY(-4px); border-color: #668b7e; background: var(--surface-raised); }
.card-index, .guide-card > span, .download-grid article > span { color: #93c3af; font-size: 12px; font-weight: 700; }
.card h3 { margin: 40px 0 13px; font-size: 25px; line-height: 1.22; letter-spacing: -.035em; }
.card p, .guide-card p, .steps p, .download-grid p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.card strong { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 24px; color: var(--accent); font-size: 13px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: center; border-top: 1px solid var(--line); }
.system-panel { overflow: hidden; border: 1px solid #415452; border-radius: 26px; background: #172426; box-shadow: 0 26px 48px #0003; }
.system-panel-top { display: flex; justify-content: space-between; padding: 21px 26px; border-bottom: 1px solid #334845; color: #a8c4b8; font-size: 12px; font-weight: 700; }
.system-row { display: grid; grid-template-columns: 44px 1fr; gap: 17px; align-items: center; min-height: 110px; padding: 22px 26px; }
.system-row + .system-row { border-top: 1px solid #304340; }
.system-row > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #2b403b; color: var(--accent); font-size: 12px; font-weight: 700; }
.system-row b { display: block; margin-bottom: 5px; font: 700 17px system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.system-row small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.split-copy p { max-width: 540px; }
.split-copy .button { margin-top: 14px; }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.faq-grid > div { padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: #111d1f; }
.faq-grid h3 { margin-bottom: 11px; font-size: 17px; letter-spacing: -.02em; }
.faq-grid p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.text-link { display: inline-flex; gap: 16px; margin-top: 28px; color: var(--accent); font-size: 13px; font-weight: 700; }
.text-link:hover, .related a:hover, .footer-links a:hover { color: #e0f8e9; }
.end-cta { padding: 68px 0; background: #c2e9d6; color: #11231f; }
.end-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.end-cta .kicker { color: #28594a; }
.end-cta .kicker-dot { background: #28594a; }
.end-cta h2 { margin-bottom: 7px; }
.end-cta p { margin-bottom: 0; color: #3c6155; }
.end-cta .button { border-color: #142b25; background: #142b25; color: #edf8f0; }
.end-cta .button:hover { border-color: #284a3b; background: #284a3b; }

.site-footer { padding: 60px 0 26px; background: #0a1113; }
.footer-inner { display: flex; justify-content: space-between; gap: 50px; }
.footer-inner p { max-width: 350px; margin: 21px 0 0; color: #93a8a4; font-size: 13px; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 14px 26px; max-width: 460px; color: #b9cac5; font-size: 13px; }
.fine { display: flex; justify-content: space-between; gap: 18px; margin-top: 58px; padding-top: 20px; border-top: 1px solid #2b3b3d; color: #788f8a; font-size: 11px; }

.page-hero { padding-block: 82px 52px; }
.page-hero h1 { max-width: 900px; margin: 21px 0; font-size: clamp(47px, 6vw, 78px); font-weight: 700; line-height: 1.08; letter-spacing: -.06em; }
.lead { max-width: 700px; margin-bottom: 0; color: var(--muted); font-size: 18px; line-height: 1.72; }
.sub-section { padding-bottom: 100px; }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 32px; padding: 26px 29px; border: 1px solid #446059; border-radius: 22px; background: #1a2a2a; }
.callout b { font: 700 20px system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: -.02em; }
.callout p { max-width: 600px; margin: 9px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.callout .button { flex: none; }
.steps, .download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps > div, .download-grid article { padding: 28px; }
.steps span { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 14px; background: #2b403b; color: var(--accent); font-size: 13px; font-weight: 700; }
.steps h3, .download-grid h2, .guide-card h2 { margin: 26px 0 11px; font-size: 23px; letter-spacing: -.035em; }
.related { margin: 38px 0 0; color: var(--muted); font-size: 14px; }
.related a, .faq-list a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.guide-card { min-height: 230px; padding: 29px; }
.download-grid article { display: flex; flex-direction: column; align-items: flex-start; min-height: 315px; }
.download-grid article .button, .download-grid article strong { margin-top: auto; }
.download-grid article strong { color: #8fb3a5; font-size: 12px; }
.faq-list { max-width: 900px; }
.faq-list details { margin-bottom: 12px; padding: 23px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; font: 700 18px system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: -.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--accent); font-size: 24px; line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { max-width: 760px; margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }

@media (max-width: 1000px) {
  .brand small { display: none; }
  .site-header { gap: 18px; }
  .site-header nav a { padding-inline: 10px; }
  .hero { gap: 24px; }
  .hero-art { min-height: 390px; }
  .feature-strip span + span::before { margin-right: 14px; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 36px, 560px); }
  .topline { padding-inline: 18px; font-size: 10px; }
  .site-header { flex-wrap: wrap; gap: 15px; padding: 17px 18px 12px; }
  .brand { font-size: 20px; }
  .site-header nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; padding-bottom: 3px; }
  .site-header nav a { padding: 8px 11px; white-space: nowrap; }
  .header-cta { margin-left: auto; padding: 9px 13px; }
  .home-game { padding-block: 14px 25px; }
  .frame-shell { border-radius: 18px; }
  .frame-top, .frame-bottom { padding-inline: 14px; }
  .age-note { display: none; }
  .iframe-wrap { aspect-ratio: auto; height: min(75svh, 640px); min-height: 420px; }
  .frame-bottom { align-items: flex-start; flex-direction: column; }
  .frame-actions { flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 45px 58px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(43px, 11vw, 64px); }
  .hero-copy > p { font-size: 16px; }
  .hero-meta { margin-top: 0; padding-top: 29px; }
  .hero-art { min-height: 330px; }
  .hero-art img { width: min(70%, 280px); }
  .feature-strip { justify-content: flex-start; gap: 10px; padding: 14px; }
  .feature-strip span { padding: 6px 10px; border-radius: 999px; background: #263936; font-size: 11px; }
  .feature-strip span + span::before { display: none; }
  .video-section { padding-bottom: 12px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-player { height: min(165vw, 640px); min-height: 480px; }
  .section { padding-block: 72px; }
  .cards, .faq-grid, .steps, .download-grid, .guide-grid, .split { grid-template-columns: 1fr; }
  .card { min-height: 235px; }
  .card h3 { margin-top: 27px; }
  .split { gap: 38px; }
  .system-row { min-height: 95px; }
  .end-cta .wrap { align-items: flex-start; flex-direction: column; }
  .footer-inner, .fine { flex-direction: column; }
  .footer-links { max-width: none; }
  .fine { margin-top: 38px; }
  .page-hero { padding-block: 64px 34px; }
  .page-hero h1 { font-size: clamp(42px, 10vw, 64px); }
  .lead { font-size: 16px; }
  .sub-section { padding-bottom: 72px; }
  .callout { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 380px) {
  .topline span:first-child { display: none; }
  .topline { justify-content: flex-end; }
  .site-header nav { gap: 0; }
  .site-header nav a { font-size: 12px; }
  .iframe-wrap { min-height: 390px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Share icons sit below the game frame. */
.home-game { padding-bottom: 0; }
.play-game-section { padding-bottom: 100px; }
.share-row { display: flex; justify-content: center; margin-block: 16px 32px; }
.share-row.play-share { margin-block: 16px 30px; }
.share-links { display: flex; align-items: center; gap: 12px; }
.share-links a { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #49625c; border-radius: 50%; background: #223431; color: var(--accent); transition: background .2s, border-color .2s, transform .2s; }
.share-links a:hover { transform: translateY(-2px); border-color: #8cb8a8; background: #2d4840; }
.share-links svg { display: block; width: 21px; height: 21px; }
@media (max-width: 760px) {
  .home-game { padding-bottom: 0; }
  .play-game-section { padding-bottom: 72px; }
  .share-row { margin-block: 14px 26px; }
  .share-row.play-share { margin-block: 14px 25px; }
}

/* Game preview and the reference site's module rhythm */
.game-launch { position: relative; isolation: isolate; overflow: hidden; background: #0a1415; }
.game-poster { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.game-launch::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #07111255, #071112b8); }
.game-launch-content { display: flex; flex-direction: column; align-items: center; gap: 13px; width: min(92%, 360px); padding: 28px 22px; border: 1px solid #a4cbbb71; border-radius: 24px; background: #081312d9; box-shadow: 0 20px 55px #0009; backdrop-filter: blur(8px); }
.game-launch-content strong { font-size: clamp(23px, 3vw, 33px); font-weight: 800; letter-spacing: -.035em; }
.game-launch-content small { max-width: 240px; line-height: 1.5; }
.game-launch .launch-icon { width: 82px; height: 82px; font-size: 26px; }
.game-status { color: #b7c9c1; }
.gallery-section { padding-top: 82px; }
.gallery-card { display: block; position: relative; overflow: hidden; border: 1px solid #435955; border-radius: 25px; background: #0b1315; }
.gallery-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-card > span { display: flex; justify-content: space-between; gap: 20px; position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 24px 20px; background: linear-gradient(transparent, #081111e9); color: var(--text); font-size: 13px; font-weight: 700; }
.gallery-card:hover > span { color: var(--accent); }
.guide-preview { border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .game-launch-content { width: min(87%, 310px); padding: 21px 17px; }
  .game-launch .launch-icon { width: 70px; height: 70px; }
  .gallery-section { padding-top: 55px; }
  .gallery-card { border-radius: 18px; }
  .gallery-card > span { padding: 30px 14px 12px; font-size: 11px; }
}
.home-game { scroll-margin-top: 12px; }
.home-faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 7%; border-top: 1px solid var(--line); }
.home-faq .section-head { margin-bottom: 0; }
.home-faq .faq-list { max-width: none; }
@media (max-width: 760px) { .home-faq { grid-template-columns: 1fr; gap: 28px; } }
