
* {
  box-sizing: border-box;
}

:root {
  --bg: #050816;
  --bg-soft: rgba(255, 255, 255, 0.06);
  --panel: rgba(14, 20, 40, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #a9b3c9;
  --orange: #ffb347;
  --yellow: #ffe27a;
  --blue: #4ea2ff;
  --cyan: #67e8f9;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(78, 162, 255, 0.16), transparent 25%),
    radial-gradient(circle at top left, rgba(255, 179, 71, 0.14), transparent 25%),
    linear-gradient(180deg, #030712 0%, #0b1228 50%, #030712 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
  pointer-events: none;
  z-index: 0;
}

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  top: -120px;
  left: -100px;
  background: #ff9c2b;
}

.orb-2 {
  right: -120px;
  top: 80px;
  background: #2f7cff;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(2, 6, 23, 0.5);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #06111f;
  background: linear-gradient(135deg, var(--orange), var(--yellow), var(--blue));
  box-shadow: 0 12px 30px rgba(78, 162, 255, 0.22);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover,
.footer-links a:hover {
  color: #fff;
}

.header-btn,
.btn,
.small-link,
.contact-link,
.contact-link-play {
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 16px;
  background: #fff;
  color: #07111f;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.header-btn:hover,
.btn:hover,
.contact-link:hover,
.contact-link-play:hover {
  transform: translateY(-2px);
}

.hero {
  padding: 78px 0 42px;
}

.hero-grid,
.about-grid,
.contact-box {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.eyebrow,
.section-kicker,
.panel-label,
.game-genre {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffd98b;
}

.hero-copy h1,
.section h2,
.contact-copy h2,
.policy-box h1 {
  margin: 14px 0 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.hero-copy p,
.section-text,
.head-text,
.contact-copy p,
.game-card p,
.service-card p,
.feature-card p,
.mini-card p,
.policy-box p,
.policy-box li {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy > p {
  max-width: 700px;
  font-size: 18px;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  min-width: 148px;
  padding: 15px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  font-weight: 800;
  text-align: center;
}

.btn-primary {
  color: #08111e;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  box-shadow: 0 18px 40px rgba(255, 179, 71, 0.24);
  border: 0;
}

.btn-secondary {
  background: linear-gradient(90deg, #2e7dff, #42d8ff);
  border: 0;
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.stat-card,
.feature-card,
.game-card,
.service-card,
.section-box,
.panel-shell,
.contact-box,
.site-footer .footer-inner,
.policy-box {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.stat-card {
  border-radius: 22px;
  padding: 18px;
  backdrop-filter: blur(12px);
}

.stat-card strong {
  display: block;
  font-size: 32px;
  font-weight: 900;
}

.stat-card span {
  color: var(--muted);
  font-size: 14px;
}

.hero-panel {
  position: relative;
}

.panel-shell {
  padding: 18px;
  border-radius: 34px;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.06);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.panel-top h2 {
  margin: 6px 0 0;
  font-size: 28px;
  font-weight: 900;
}

.panel-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  font-size: 28px;
  background: linear-gradient(135deg, #2e7dff, #ff9c2b);
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mini-card,
.wide-card {
  border-radius: 26px;
  padding: 22px;
  min-height: 170px;
  border: 1px solid var(--line);
}

.mini-card.blue {
  background: linear-gradient(180deg, rgba(46,125,255,0.28), rgba(5,8,22,0.6));
}

.mini-card.orange {
  background: linear-gradient(180deg, rgba(255,156,43,0.25), rgba(5,8,22,0.6));
}

.mini-card h3,
.wide-card h3,
.feature-card h3,
.service-card h3,
.game-card h3,
.policy-box h2 {
  margin: 10px 0 8px;
  font-size: 22px;
}

.mini-emoji,
.feature-icon,
.service-icon {
  font-size: 34px;
}

.wide-card {
  grid-column: 1 / -1;
  min-height: auto;
  background: rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 800;
  background: linear-gradient(90deg, #2e7dff, #42d8ff);
}

.section {
  padding: 30px 0 40px;
}

.section h2,
.contact-copy h2 {
  font-size: clamp(32px, 4.4vw, 58px);
}

.section-box {
  padding: 34px;
  border-radius: 34px;
  backdrop-filter: blur(14px);
}

.about-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.feature-grid,
.services-grid,
.game-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card,
.game-card,
.service-card {
  border-radius: 28px;
  padding: 24px;
}

.feature-card-wide {
  grid-column: 1 / -1;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.head-text {
  max-width: 420px;
}

.game-grid {
  grid-template-columns: repeat(3, 1fr);
}

.game-thumb {
  border-radius: 24px;
  padding: 20px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}

.thumb-blue {
  background: linear-gradient(180deg, rgba(46,125,255,0.36), rgba(4,14,34,0.8));
}

.thumb-orange {
  background: linear-gradient(180deg, rgba(255,127,62,0.35), rgba(38,7,11,0.88));
}

.thumb-gold {
  background: linear-gradient(180deg, rgba(255,221,109,0.2), rgba(13,16,29,0.88));
}

.small-link {
  display: inline-flex;
  margin-top: 16px;
  font-weight: 800;
  color: #fff;
}

.services-grid {
  margin-top: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.contact-box {
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  padding: 34px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,156,43,0.13), rgba(46,125,255,0.12)),
    rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
}

.contact-links {
  display: grid;
  gap: 14px;
}

.contact-link,
.contact-link-play {
  min-height: 68px;
  border-radius: 22px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
}

.contact-link span {
  color: var(--muted);
  font-size: 14px;
  display: block;
}

.contact-link strong,
.contact-link-play strong {
  font-size: 16px;
}

.contact-link-play {
  justify-content: center;
  color: #08111e;
  font-weight: 900;
  border: 0;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
}

.site-footer {
  padding: 8px 0 28px;
}

.site-footer .footer-inner {
  padding: 20px 24px;
  border-radius: 24px;
  backdrop-filter: blur(14px);
}

.footer-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
}

.policy-page {
  padding: 40px 0 56px;
}

.policy-box {
  max-width: 920px;
  margin: 0 auto;
  padding: 36px;
  border-radius: 34px;
  backdrop-filter: blur(14px);
}

.policy-date {
  margin-top: 12px;
  font-size: 14px;
  color: #d4dbeb;
}

.policy-box ul {
  margin: 0 0 18px 0;
  padding-left: 20px;
}

.policy-box li {
  margin-bottom: 8px;
}

.policy-contact a {
  color: #fff;
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .contact-box,
  .game-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .panel-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-wide,
  .wide-card {
    grid-column: auto;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 780px) {
  .site-header {
    position: static;
  }

  .header-inner,
  .footer-inner {
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    order: 3;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    overflow-x: auto;
  }

  .hero {
    padding-top: 44px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-copy h1,
  .section h2,
  .contact-copy h2,
  .policy-box h1 {
    line-height: 1;
  }

  .contact-link,
  .contact-link-play {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-link-play {
    align-items: center;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .policy-box {
    padding: 24px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 14px;
  }

  .section-box,
  .panel-shell,
  .contact-box,
  .policy-box {
    padding: 22px;
    border-radius: 26px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .btn,
  .policy-actions .btn {
    width: 100%;
  }
}
