
:root {
  --ink: #071f22;
  --brand: #03373B;
  --brand-2: #075d63;
  --mint: #7cf8e7;
  --cyan: #34c9ff;
  --sun: #ffd166;
  --coral: #ff6b6b;
  --violet: #a879ff;
  --paper: #f6fffd;
  --white: #ffffff;
  --muted: #5e7779;
  --line: rgba(3, 55, 59, .14);
  --shadow: 0 18px 50px rgba(3, 55, 59, .13);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(124,248,231,.22), transparent 29rem),
    radial-gradient(circle at 100% 24%, rgba(168,121,255,.15), transparent 31rem),
    var(--paper);
  font-family: Inter, ui-rounded, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
::selection { color: var(--ink); background: var(--mint); }
.nav-open { overflow: hidden; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 900; }
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(3,55,59,.96);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: white; font-weight: 1000; letter-spacing: -.03em; font-size: clamp(1.22rem, 2vw, 1.55rem); }
.brand img { width: 45px; height: 45px; filter: drop-shadow(0 7px 12px rgba(0,0,0,.25)); }
.nav-toggle { display: none; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: white; width: 46px; height: 46px; border-radius: 14px; cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 21px; height: 2px; margin: 5px auto; border-radius: 10px; background: currentColor; transition: .25s; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { color: rgba(255,255,255,.84); padding: 11px 14px; border-radius: 12px; font-weight: 800; font-size: .95rem; transition: .2s ease; }
.site-nav a:hover, .site-nav a.active { background: rgba(124,248,231,.15); color: var(--mint); }
.site-nav .nav-cta { background: var(--sun); color: var(--ink); box-shadow: 0 8px 22px rgba(255,209,102,.25); }
.site-nav .nav-cta:hover { background: #ffe195; color: var(--ink); transform: translateY(-1px); }

.game-hero { padding: 18px 0 52px; background: linear-gradient(180deg, var(--brand) 0%, #052c31 74%, transparent 74%); }
.game-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: white; margin-bottom: 12px; }
.game-toolbar h1 { margin: 0; font-size: clamp(1rem, 3vw, 1.35rem); letter-spacing: -.02em; }
.game-toolbar p { margin: 0; color: rgba(255,255,255,.68); font-size: .9rem; }
.game-actions { display: flex; gap: 8px; }
.icon-button { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.1); color: white; min-height: 42px; padding: 9px 13px; border-radius: 12px; cursor: pointer; font-weight: 900; display: inline-flex; align-items: center; gap: 8px; }
.icon-button:hover { background: rgba(124,248,231,.18); color: var(--mint); }
.game-frame-wrap { position: relative; overflow: hidden; width:100%; aspect-ratio:16/9; border: 4px solid rgba(124,248,231,.58); border-radius: 28px; background: #030710; box-shadow: 0 28px 80px rgba(0,0,0,.42), 0 0 0 8px rgba(255,255,255,.05); }
.game-frame { position:absolute; inset:0; display:block; visibility:hidden; width:100%; height:100%; border:0; background:#030710; }
.game-frame-wrap.is-playing .game-frame { visibility:visible; }
.game-poster { position:absolute; inset:0; z-index:2; width:100%; height:100%; padding:0; border:0; color:white; background:#030710; cursor:pointer; overflow:hidden; }
.game-poster img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease, filter .45s ease; }
.game-poster-shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(1,7,16,.08),rgba(1,7,16,.68)); }
.game-poster-content { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; padding:20px; text-align:center; text-shadow:0 2px 12px rgba(0,0,0,.8); }
.game-poster-content strong { font-size:clamp(1.2rem,3vw,2rem); line-height:1.1; }
.game-poster-content small { color:rgba(255,255,255,.84); font-weight:800; }
.game-play-icon { display:grid; place-items:center; width:clamp(58px,8vw,82px); aspect-ratio:1; padding-left:5px; border:2px solid rgba(255,255,255,.72); border-radius:50%; background:rgba(3,55,59,.88); color:var(--mint); font-size:clamp(1.35rem,3vw,2rem); box-shadow:0 14px 35px rgba(0,0,0,.36); transition:transform .25s ease, background-color .25s ease; }
.game-poster:hover img { transform:scale(1.025); filter:brightness(.92); }
.game-poster:hover .game-play-icon { transform:scale(1.08); background:var(--brand-2); }
.game-frame-wrap.is-playing .game-poster { display:none; }
.game-frame-wrap:fullscreen { border: 0; border-radius: 0; background: #030710; }
.game-frame-wrap:fullscreen .game-frame { width: 100vw; height: 100vh; min-height: 0; aspect-ratio: auto; }
.game-tip { text-align: center; color: rgba(255,255,255,.76); margin: 13px 0 0; font-size: .9rem; }
.game-toolbar-light { color:var(--ink); }
.game-toolbar-light h2 { margin:0; }
.game-toolbar-light p { color:var(--muted); }
.icon-button-dark { background:var(--brand); color:white; }
.game-instructions { margin-bottom:0; text-align:center; color:var(--muted); }
.text-center, .error-actions { text-align:center; }
.lead-center { margin-inline:auto; }

.section { padding: 82px 0; }
.section.compact { padding: 62px 0; }
.section-dark { color: white; background: var(--brand); position: relative; overflow: hidden; }
.section-dark::before { content:""; position:absolute; width:380px; height:380px; right:-120px; top:-160px; border-radius:50%; background:rgba(124,248,231,.1); }
.section-tag { display: inline-flex; align-items:center; gap:8px; padding: 7px 12px; border-radius: 999px; background: rgba(3,55,59,.08); color: var(--brand); font-weight: 1000; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; }
.section-dark .section-tag { background: rgba(124,248,231,.12); color: var(--mint); }
.section-title { margin: 14px 0 14px; font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.08; letter-spacing: -.045em; }
.section-lead { max-width: 760px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-lead { color: rgba(255,255,255,.73); }
.intro-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items:center; }
.cosmic-card { min-height: 390px; border-radius: 32px; position:relative; overflow:hidden; background: radial-gradient(circle at 30% 20%, rgba(52,201,255,.72), transparent 13rem), radial-gradient(circle at 80% 70%, rgba(168,121,255,.8), transparent 16rem), #041b22; box-shadow: var(--shadow); }
.cosmic-card::before, .cosmic-card::after { content:""; position:absolute; border-radius:50%; }
.cosmic-card::before { width:128px; height:128px; left:12%; top:17%; background:var(--sun); box-shadow: inset -22px -18px 0 rgba(255,107,107,.35); }
.cosmic-card::after { width:240px; height:58px; left:4%; top:26%; border:11px solid rgba(255,255,255,.88); transform:rotate(-14deg); }
.mini-keyboard { position:absolute; left:10%; right:10%; bottom:9%; display:grid; grid-template-columns:repeat(8,1fr); gap:7px; transform:perspective(500px) rotateX(12deg); }
.mini-keyboard span { aspect-ratio:1.12; border-radius:9px; display:grid; place-items:center; color:var(--brand); background:white; font-weight:1000; box-shadow:0 5px 0 rgba(124,248,231,.4); }
.stats-row { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:28px; }
.stat { padding:18px; border:1px solid var(--line); border-radius:18px; background:white; }
.stat strong { display:block; font-size:1.65rem; color:var(--brand); }
.stat span { color:var(--muted); font-size:.9rem; }

.steps-grid, .features-grid, .posts-grid { display:grid; gap:20px; margin-top:34px; }
.steps-grid { grid-template-columns:repeat(3,1fr); }
.step-card { position:relative; padding:28px; border-radius:24px; background:white; border:1px solid var(--line); box-shadow:0 13px 34px rgba(3,55,59,.08); transition:transform .25s ease, box-shadow .25s ease; }
.step-card:hover { transform:translateY(-4px); box-shadow:0 20px 42px rgba(3,55,59,.12); }
.step-number { width:52px; height:52px; border-radius:17px; display:grid; place-items:center; background:var(--sun); color:var(--brand); font-weight:1000; font-size:1.25rem; box-shadow:0 8px 0 rgba(255,209,102,.25); }
.step-card h3, .feature-card h3 { margin:19px 0 8px; font-size:1.25rem; }
.step-card p, .feature-card p { margin:0; color:var(--muted); }
.features-grid { grid-template-columns:repeat(3,1fr); }
.feature-card { padding:26px; border-radius:24px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.13); position:relative; z-index:1; }
.feature-card { transition:transform .25s ease, background-color .25s ease, border-color .25s ease; }
.feature-card:hover { transform:translateY(-4px); background:rgba(255,255,255,.12); border-color:rgba(124,248,231,.35); }
.feature-icon { width:52px; height:52px; display:grid; place-items:center; border-radius:16px; background:var(--mint); color:var(--brand); font-size:1.45rem; }
.feature-card:nth-child(2) .feature-icon { background:var(--sun); }
.feature-card:nth-child(3) .feature-icon { background:#ff9a9a; }
.feature-card:nth-child(4) .feature-icon { background:#d3b8ff; }
.feature-card:nth-child(5) .feature-icon { background:#86e0ff; }
.feature-card:nth-child(6) .feature-icon { background:#b9ff9d; }
.feature-card p { color:rgba(255,255,255,.72); }

.posts-grid { grid-template-columns:repeat(3,1fr); }
.post-card { overflow:hidden; border-radius:24px; background:white; border:1px solid var(--line); box-shadow:0 14px 38px rgba(3,55,59,.09); transition:.25s ease; display:flex; flex-direction:column; }
.post-card:hover { transform:translateY(-6px); box-shadow:0 22px 52px rgba(3,55,59,.16); }
.post-card > a:first-child { display:block; width:100%; aspect-ratio:16/9; overflow:hidden; background:#022a2e; }
.post-card img { display:block; width:100%; height:100%; aspect-ratio:16/9; object-fit:cover; object-position:center; transition:transform .35s ease; }
.post-card:hover img { transform:scale(1.025); }
.post-card-body { padding:22px; display:flex; flex-direction:column; flex:1; }
.post-card h3 { margin:8px 0 9px; font-size:1.22rem; line-height:1.3; }
.post-card p { color:var(--muted); margin:0 0 18px; }
.post-meta { color:var(--brand-2); text-transform:uppercase; letter-spacing:.07em; font-weight:1000; font-size:.72rem; }
.read-more { margin-top:auto; color:var(--brand); display:inline-flex; align-items:center; gap:8px; font-weight:1000; }
.read-more span { transition:.2s; }
.post-card:hover .read-more span { transform:translateX(4px); }

.faq-list { max-width:900px; margin:34px auto 0; display:grid; gap:12px; }
.faq-item { border:1px solid var(--line); border-radius:18px; background:white; overflow:hidden; }
.faq-question { width:100%; border:0; background:transparent; color:var(--ink); display:flex; justify-content:space-between; align-items:center; gap:16px; padding:20px 22px; text-align:left; cursor:pointer; font-weight:1000; }
.faq-question .plus { width:34px; height:34px; border-radius:12px; background:rgba(3,55,59,.08); display:grid; place-items:center; flex:0 0 auto; transition:.25s; }
.faq-item.open .plus { transform:rotate(45deg); background:var(--sun); }
.faq-answer { max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-answer-inner { padding:0 22px 22px; color:var(--muted); }

.cta-card { display:grid; grid-template-columns:1fr auto; gap:30px; align-items:center; padding:44px; border-radius:32px; background:linear-gradient(135deg,var(--brand),#075d63); color:white; box-shadow:0 28px 70px rgba(3,55,59,.24); position:relative; overflow:hidden; }
.cta-card::after { content:"🚀"; position:absolute; right:20%; top:-23px; font-size:8rem; opacity:.11; transform:rotate(18deg); }
.cta-card h2 { margin:0 0 8px; font-size:clamp(1.8rem,4vw,3rem); }
.cta-card p { margin:0; color:rgba(255,255,255,.75); }
.button { display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:13px 20px; border-radius:14px; border:0; background:var(--sun); color:var(--ink); font-weight:1000; cursor:pointer; box-shadow:0 10px 24px rgba(255,209,102,.22); }
.button:hover { transform:translateY(-2px); background:#ffe19a; }
.button.secondary { background:white; color:var(--brand); }

.page-hero { padding:72px 0 58px; color:white; background:linear-gradient(145deg,var(--brand),#075d63); position:relative; overflow:hidden; }
.page-hero::after { content:""; position:absolute; width:320px; height:320px; right:-80px; top:-130px; border:60px solid rgba(124,248,231,.1); border-radius:50%; }
.page-hero .container { position:relative; z-index:1; }
.breadcrumbs { color:rgba(255,255,255,.72); font-weight:800; font-size:.9rem; }
.breadcrumbs a:hover { color:var(--mint); }
.page-hero h1 { margin:13px 0 12px; font-size:clamp(2.35rem,6vw,4.35rem); line-height:1.04; letter-spacing:-.05em; max-width:900px; }
.page-hero p { max-width:760px; color:rgba(255,255,255,.76); font-size:1.08rem; }
.content-wrap { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:42px; align-items:start; }
.prose { font-size:1.04rem; }
.prose-narrow { max-width:900px; margin-inline:auto; }
.prose h2 { margin:2.1em 0 .65em; font-size:1.8rem; line-height:1.2; color:var(--brand); letter-spacing:-.025em; }
.prose h3 { margin:1.7em 0 .5em; font-size:1.28rem; }
.prose p { color:#38585a; margin:0 0 1.15em; }
.prose ul, .prose ol { color:#38585a; padding-left:1.25rem; }
.prose li { margin:.55em 0; }
.prose strong { color:var(--ink); }
.article-cover { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; object-position:center; border-radius:28px; border:1px solid var(--line); box-shadow:var(--shadow); margin-bottom:32px; }
.article-meta { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.article-meta span { padding:7px 10px; border-radius:999px; background:rgba(124,248,231,.13); color:var(--mint); font-size:.84rem; font-weight:900; }
.sidebar-card { position:sticky; top:102px; border:1px solid var(--line); background:white; border-radius:24px; padding:23px; box-shadow:0 14px 36px rgba(3,55,59,.08); }
.sidebar-card h3 { margin:0 0 12px; }
.sidebar-card p { color:var(--muted); font-size:.94rem; }
.sidebar-card .button { width:100%; }
.sidebar-divider { border:0; border-top:1px solid var(--line); margin:22px 0; }
.notice { padding:20px; border-left:5px solid var(--sun); background:#fff8df; border-radius:0 16px 16px 0; margin:24px 0; color:#5a4a18; }
.contact-card { padding:30px; border-radius:24px; background:white; border:1px solid var(--line); box-shadow:var(--shadow); }
.contact-line { padding:14px 0; border-bottom:1px solid var(--line); }
.contact-line:last-child { border-bottom:0; }
.contact-line span { display:block; color:var(--muted); font-size:.88rem; }
.contact-line strong { font-size:1.08rem; }
.contact-line strong { overflow-wrap:anywhere; }

.site-footer { margin-top:70px; padding:62px 0 24px; background:#e8eee8; border-top:1px solid rgba(3,55,59,.08); }
.footer-grid { display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:46px; padding-bottom:38px; }
.footer-brand { color:var(--brand); }
.footer-brand img { width:44px; height:44px; }
.footer-about p { color:#687778; max-width:330px; }
.footer-heading { margin:0 0 17px; font-size:1.05rem; color:var(--ink); }
.footer-links { display:grid; gap:10px; color:#667676; }
.footer-links a:hover { color:var(--brand); transform:translateX(2px); }
.footer-bottom { border-top:1px solid rgba(3,55,59,.09); padding-top:24px; text-align:center; color:#536668; }
.footer-bottom a { color:var(--brand); font-weight:900; }
.back-to-top { position:fixed; right:20px; bottom:20px; width:50px; height:50px; border:1px solid rgba(124,248,231,.7); border-radius:50%; display:grid; place-items:center; background:linear-gradient(145deg,var(--brand-2),var(--brand)); color:var(--mint); font-size:1.25rem; font-weight:1000; box-shadow:0 0 0 5px rgba(52,201,255,.1),0 14px 32px rgba(3,55,59,.3); cursor:pointer; opacity:0; pointer-events:none; transform:translateY(10px) scale(.9); transition:.25s; z-index:900; }
.back-to-top::after { content:""; position:absolute; inset:5px; border-radius:50%; border:1px dashed rgba(255,255,255,.25); }
.back-to-top:hover { color:white; box-shadow:0 0 0 6px rgba(52,201,255,.16),0 16px 38px rgba(3,55,59,.36); transform:translateY(-2px); }
.back-to-top.show { opacity:1; pointer-events:auto; transform:none; }
.reveal { opacity:0; transform:translateY(18px); transition:.6s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 980px) {
  .nav-toggle { display:block; }
  .site-nav { position:absolute; top:calc(100% + 10px); left:0; right:0; padding:14px; display:flex; visibility:hidden; opacity:0; pointer-events:none; transform:translateY(-8px); flex-direction:column; align-items:stretch; border:1px solid rgba(255,255,255,.12); border-radius:18px; background:#052c31; box-shadow:0 22px 48px rgba(0,0,0,.27); transition:opacity .2s ease, transform .2s ease, visibility .2s; }
  .site-nav.open { visibility:visible; opacity:1; pointer-events:auto; transform:none; }
  .nav-toggle[aria-expanded="true"] span { opacity:0; }
  .nav-toggle[aria-expanded="true"]::before { transform:translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"]::after { transform:translateY(-7px) rotate(-45deg); }
  .site-nav a { padding:13px 14px; }
  .intro-grid, .content-wrap { grid-template-columns:1fr; }
  .cosmic-card { min-height:340px; }
  .steps-grid, .features-grid { grid-template-columns:repeat(2,1fr); }
  .posts-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
  .sidebar-card { position:static; }
}
@media (max-width: 650px) {
  .container { width:calc(100% - 22px); }
  .header-inner { min-height:68px; }
  .brand img { width:40px; height:40px; }
  .site-nav { left:0; right:0; }
  .game-hero { padding-top:10px; background:linear-gradient(180deg,var(--brand) 0%,#052c31 88%,transparent 88%); }
  .game-toolbar { align-items:flex-start; }
  .game-toolbar p { display:none; }
  .game-actions .label { display:none; }
  .icon-button { padding:9px 11px; }
  .game-frame-wrap { border-width:2px; border-radius:18px; }
  .game-frame { min-height:0; }
  .game-poster-content small { font-size:.72rem; }
  .game-tip { font-size:.82rem; }
  .section { padding:62px 0; }
  .section-title { font-size:2.15rem; }
  .stats-row { grid-template-columns:1fr; }
  .steps-grid, .features-grid, .posts-grid { grid-template-columns:1fr; }
  .cta-card { grid-template-columns:1fr; padding:30px 24px; }
  .cta-card .button { width:100%; }
  .page-hero { padding:54px 0 45px; }
  .page-hero h1 { font-size:2.55rem; }
  .footer-grid { grid-template-columns:1fr; gap:30px; }
  .site-footer { padding-top:48px; }
  .back-to-top { right:12px; bottom:12px; }
}
@media (max-width: 390px) {
  .brand { font-size:1.1rem; }
  .game-toolbar { gap:8px; }
  .game-toolbar h1 { font-size:.98rem; }
  .section-title { font-size:1.9rem; }
  .page-hero h1 { font-size:2.15rem; }
  .cta-card { padding:26px 20px; }
}
@media (hover: none) {
  .step-card:hover, .feature-card:hover, .post-card:hover, .button:hover, .site-nav .nav-cta:hover { transform:none; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior:auto !important; animation:none !important; transition:none !important; }
  .reveal { opacity:1; transform:none; }
}
