:root {
  --navy: #0c1730;
  --navy2: #08101f;
  --navy-mid: #152a4a;
  --ivory: #f4f1e8;
  --ivory2: #ebe6d8;
  --ink: #1a2233;
  --muted: #5a6474;
  --gold: #f0b41e;
  --gold2: #d99400;
  --gold-bright: #ffd657;
  --radius: 14px;
  --shadow-soft: 0 16px 40px rgba(8, 16, 31, 0.14);
  --shadow-premium: 0 24px 56px rgba(8, 16, 31, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--ivory);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), filter 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 55%, var(--gold2));
  color: #241300;
  box-shadow: 0 8px 22px rgba(240, 180, 30, 0.32);
}
.btn-gold:hover { filter: brightness(1.04); }
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #eef2ff;
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Nav / Hero ---------- */
.hero-band {
  position: relative;
  background: linear-gradient(165deg, #1a2d55 0%, var(--navy) 45%, var(--navy2) 100%);
  color: #eef2ff;
  padding: 22px 0 0;
  overflow: hidden;
  min-height: min(88vh, 780px);
}

.topbar {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0 4px; gap: 16px;
}
.hero-logo img { height: 58px; width: auto; }
.top-nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.top-nav a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; color: #c3cce4; padding: 8px 12px; border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.top-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.top-nav .nav-demo {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #241300 !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(240, 180, 30, 0.3);
  white-space: nowrap;
  margin-left: 6px;
}
.top-nav .nav-demo:hover { filter: brightness(1.04); }

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px;
  align-items: center; padding: 48px 0 56px;
}

.hero-title {
  font-size: clamp(32px, 4.6vw, 44px); font-weight: 800; line-height: 1.12;
  letter-spacing: -0.01em; margin-bottom: 16px;
  color: #fff;
}
.hero-sub {
  font-size: 16px; color: #b8c3de; max-width: 480px;
  margin-bottom: 28px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stage {
  position: relative;
  align-self: end;
  min-height: 400px;
  display: flex; align-items: flex-end; justify-content: center;
}



.hero-art {
  position: relative; z-index: 2;
}
.hero-art img {
  margin: 0 auto;
  max-height: 440px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.4));
  user-select: none;
}

.hero-wave {
  position: relative; z-index: 3; margin-top: -1px;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 56px; display: block; }

/* ---------- Sections ---------- */
section { padding: 80px 0; position: relative; }
.lobby-band { padding-top: 0; }

.sec-title {
  font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.01em;
  padding-bottom: 12px; margin-bottom: 16px; position: relative;
}
.sec-title::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 64px; height: 3px; border-radius: 2px;
  background: var(--gold);
}
.sec-body { font-size: 15px; color: var(--muted); }
.sec-body + .sec-body { margin-top: 12px; }
.lab-name {
  font-size: 20px; font-weight: 800; color: #a01828;
  margin: 4px 0 12px;
}
.lab-name small {
  color: var(--muted); font-weight: 600; font-size: 13px;
  margin-left: 6px; letter-spacing: 0.04em;
}

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}

.panel {
  background: #fff;
  border: 1px solid rgba(16, 29, 58, 0.08);
  border-left: 4px solid var(--gold);
  padding: 28px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.checks { list-style: none; margin-top: 18px; }
.checks li {
  position: relative; padding: 6px 0 6px 30px;
  font-size: 14.5px; color: var(--ink); font-weight: 600;
}
.checks li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
}

.art-frame {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(16, 29, 58, 0.1);
  background: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.art-frame img {
  width: 100%; height: auto;
  transition: transform 0.45s var(--ease);
}
.art-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px rgba(8, 16, 31, 0.26);
}
.art-frame:hover img { transform: scale(1.02); }
.art-frame.soft-bg {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  overflow: visible;
}
.art-frame.soft-bg:hover {
  transform: none;
  box-shadow: none;
}
.art-frame.soft-bg:hover img { transform: none; }
.art-frame.soft-bg img {
  filter: drop-shadow(0 18px 28px rgba(8, 16, 31, 0.12));
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.from-left { transform: translateX(-28px); }
.reveal.from-right { transform: translateX(28px); }
.reveal.scale-in { transform: scale(0.96); }
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ---------- Games ---------- */
.games-band {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory2) 100%);
  color: var(--ink);
  padding: 72px 0;
}
.games-band .sec-title { color: var(--navy); text-align: center; }
.games-band .sec-title::after {
  left: 50%; transform: translateX(-50%);
  width: 64px;
}
.games-intro {
  text-align: center; max-width: 560px; margin: 0 auto 32px;
  color: var(--muted); font-size: 15px;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.game-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 10px 24px rgba(8, 16, 31, 0.12);
  border: 1px solid rgba(16, 29, 58, 0.08);
  background: #0b1428;
}
.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.game-card:hover .game-thumb img { transform: scale(1.04); }

.games-catalog {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid rgba(16, 29, 58, 0.1);
}
.catalog-title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.catalog-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 14px;
}
.catalog-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
}
.catalog-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 10px 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(16, 29, 58, 0.08);
  box-shadow: 0 8px 18px rgba(8, 16, 31, 0.06);
}
.catalog-item img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0,0,0,0.28);
}
.catalog-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.catalog-note {
  text-align: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}


.game-card {
  background: #fff;
  border: 1px solid rgba(16, 29, 58, 0.08);
  border-radius: 12px;
  padding: 16px 14px 18px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(8, 16, 31, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 180, 30, 0.45);
  box-shadow: 0 16px 32px rgba(8, 16, 31, 0.1);
}
.game-card h3 {
  font-size: 14px; font-weight: 700; color: var(--navy);
  margin-bottom: 6px;
}
.game-card p { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* ---------- Video showcase ---------- */
.showcase {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory2) 100%);
}
.showcase-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.showcase-head .sec-title { display: inline-block; }
.showcase-head .sec-title::after {
  left: 50%; transform: translateX(-50%);
}
.video-shell {
  max-width: 900px; margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(16, 29, 58, 0.1);
  background: #0a1224;
}
.video-shell video {
  width: 100%; display: block; aspect-ratio: 16 / 9;
  background: #0a1224;
}
.video-caption {
  max-width: 680px; margin: 18px auto 0;
  text-align: center; font-size: 14px; color: var(--muted);
  padding: 0 12px; line-height: 1.6;
}

/* ---------- Demo screenshots ---------- */
.demo {
  text-align: center;
  background: #fff;
}
.demo .sec-title::after {
  left: 50%; transform: translateX(-50%);
}
.shots {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 28px; margin: 36px 0 40px;
}
.shot-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(16, 29, 58, 0.1);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.shot-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px rgba(8, 16, 31, 0.24);
}
.shot-pc { width: min(640px, 62vw); }
.shot-mobile { width: min(200px, 24vw); }
.demo-cta-title {
  font-size: 24px; font-weight: 800; letter-spacing: 0.01em;
}
.demo-cta-sub {
  font-size: 14px; color: var(--muted); margin: 6px 0 22px;
}

/* ---------- Vision ---------- */
.vision {
  text-align: center;
  background: var(--ivory);
}
.vision .sec-title { display: inline-block; }
.vision .sec-title::after {
  left: 50%; transform: translateX(-50%);
}
.vision p {
  max-width: 560px; margin: 0 auto;
  font-size: 16px; color: var(--muted); line-height: 1.7;
}

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--ivory2) 0%, var(--ivory) 100%); }
.contact-card {
  max-width: 560px; margin: 0 auto;
  background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(16, 29, 58, 0.08);
  overflow: hidden;
}
.contact-head { padding: 28px 32px 8px; }
.contact-head h2 { font-size: 24px; font-weight: 800; }
.contact-head p { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.contact-body { padding: 20px 32px 32px; }
.cf-group-label { font-size: 14px; font-weight: 700; margin: 16px 0 10px; }
.cf-field { position: relative; margin-bottom: 12px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cf-input,
.cf-textarea {
  width: 100%; box-sizing: border-box;
  border: 1px solid #cfd4de; border-radius: 10px;
  padding: 12px 14px; font-size: 14px; color: var(--ink);
  background: #fff; font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.cf-input:focus,
.cf-textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(16, 29, 58, 0.10);
}
.cf-textarea { min-height: 120px; resize: vertical; }
.cf-radio {
  display: flex; align-items: center; gap: 11px;
  border: 1px solid #cfd4de; border-radius: 10px;
  padding: 12px 14px; margin-bottom: 8px; cursor: pointer;
  font-size: 14px; transition: border-color .15s, background .15s;
}
.cf-radio:hover { border-color: var(--navy); }
.cf-radio input { accent-color: var(--navy); width: 16px; height: 16px; }
.cf-radio.checked { border-color: var(--navy); background: rgba(16, 29, 58, 0.04); }
.cf-consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12px; color: var(--muted); margin: 6px 0 4px;
}
.cf-consent input {
  margin-top: 2px; accent-color: var(--navy);
  width: 16px; height: 16px; flex: 0 0 auto;
}
.cf-consent a { color: var(--navy); font-weight: 700; }
.cf-turnstile-wrap { margin-bottom: 10px; }
.cf-turnstile-wrap .cf-turnstile { display: flex; justify-content: center; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-submit {
  width: 100%; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #223a6b, var(--navy));
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 14px; border-radius: 999px; margin-top: 8px;
  transition: filter .15s, transform .15s;
}
.cf-submit:hover { filter: brightness(1.06); transform: translateY(-1px); }
.cf-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.cf-alert { display: none; border-radius: 8px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 12px; }
.cf-alert.ok { display: block; background: #e6f6ec; color: #1c7a3f; border: 1px solid #a7dcb9; }
.cf-alert.err { display: block; background: #fdecec; color: #b3261e; border: 1px solid #f3b4b0; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid rgba(16, 29, 58, 0.12);
  padding: 28px 0 36px; background: var(--ivory);
}
.foot-row {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
}
.foot-copy {
  font-size: 12px; letter-spacing: 0.04em; color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .game-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .hero-band { min-height: auto; }
  .top-nav .nav-link { display: none; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding: 28px 0 40px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-logo img { height: 50px; }
  .hero-stage { min-height: 300px; }
  .hero-art img { max-height: 280px; }
  section { padding: 56px 0; }
  .lobby-band { padding-top: 0; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split .art-col { order: -1; }
  .shots { flex-direction: column; align-items: center; gap: 20px; }
  .shot-pc { width: 100%; }
  .shot-mobile { width: 46%; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .cf-row { grid-template-columns: 1fr; }
  .contact-head,
  .contact-body { padding-left: 20px; padding-right: 20px; }
  .game-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art img,
  
