:root {
  --bg: #0f0b1c;
  --panel: #18122e;
  --card: #221b3a;
  --accent: #ff7a2f;
  --accent-2: #6ed1ff;
  --text: #f4f4fb;
  --muted: #c7c5d7;
  --border: #2d2647;
  --pill: rgba(255, 255, 255, 0.08);
  --shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
  --radius: 18px;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.top-strip {
  background: linear-gradient(90deg, #2b2347, #382d5d);
  color: #f7f2ff;
  font-size: 14px;
  padding: 10px 0;
}

.strip-inner {
  display: flex;
  gap: 12px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 10px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 11, 28, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #0f0b1c;
  border: 1px solid var(--border);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.3px;
}

.brand-domain {
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-list {
  display: flex;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list a {
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}

.nav-list a:hover {
  background: var(--pill);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 18px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 16px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  text-align: center;
}

.primary-btn {
  background: linear-gradient(120deg, #ff8b52, #ff6a3d);
  color: #0f0b1c;
  box-shadow: 0 12px 30px rgba(255, 122, 47, 0.35);
}

.primary-btn:hover {
  transform: translateY(-1px);
}

.secondary-btn {
  background: var(--pill);
  color: #fff;
  border: 1px solid var(--border);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ghost-btn {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 80px;
  background: linear-gradient(
      180deg,
      rgba(15, 11, 28, 0),
      rgba(15, 11, 28, 0.94)
    ),
    linear-gradient(120deg, rgba(255, 154, 86, 0.22), transparent 5%),
    linear-gradient(250deg, rgba(110, 209, 255, 0.18), transparent 5%),
    url("../images/gamebg.webp") center/cover no-repeat;
}

.hero-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 10px 0 16px;
}

.lead {
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--accent-2);
  font-size: 12px;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin: 18px 0;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  flex-wrap: wrap;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.hero-card {
  position: relative;
}

.hero-card-inner {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.hero-card-label {
  color: var(--muted);
  margin: 0 0 6px;
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.pill {
  background: var(--pill);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  border: 1px solid var(--border);
}

.hero-ornament {
  position: absolute;
  filter: blur(70px);
  opacity: 0.4;
}

.hero-ornament-a {
  width: 280px;
  height: 280px;
  background: #ff8b52;
  top: -40px;
  right: 14%;
}

.hero-ornament-b {
  width: 220px;
  height: 220px;
  background: #6ed1ff;
  bottom: -30px;
  left: 10%;
}

.section {
  padding: 70px 0;
}

.section.alt {
  background: #120e22;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.text-block h2 {
  margin: 8px 0 12px;
}

.bullet-list {
  padding-left: 18px;
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.info-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card-title {
  font-weight: 700;
  margin: 0 0 6px;
}

.muted {
  color: var(--muted);
}

.game-section .game-frame {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.game-preview {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.game-preview img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
}

.game-preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(
    90deg,
    rgba(12, 8, 23, 0.82),
    rgba(12, 8, 23, 0.35)
  );
}

.game-preview-overlay h3 {
  margin: 4px 0;
}

.small {
  font-size: 13px;
}

.game-note {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .game-preview-overlay {
    flex-direction: column;
    align-items: flex-start;
  }
}

.center {
  justify-content: center;
}

.steps {
  color: var(--muted);
}

.cta-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.link-row a {
  color: var(--accent-2);
  font-weight: 600;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.legal-links {
  display: grid;
  gap: 12px;
}

.legal-tile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.legal-tile:hover {
  border-color: var(--accent);
}

.arrow {
  color: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.footer {
  background: #0c0817;
  border-top: 1px solid var(--border);
  padding: 40px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, 92vw);
  background: #1c1531;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}

.banner-text {
  max-width: 520px;
}

.banner-title {
  margin: 0 0 6px;
  font-weight: 700;
}

.banner-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
  z-index: 25;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal-content {
  background: #1c1531;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: min(540px, 94vw);
  box-shadow: var(--shadow);
  padding: 18px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-modal {
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

.modal-body {
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 12px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.age-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.932);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
  z-index: 30;
}

.age-modal.open {
  display: flex;
}

.age-modal-content {
  background: #1c1531;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: min(520px, 94vw);
  box-shadow: var(--shadow);
  padding: 18px;
}

@media (max-width: 860px) {
  .nav-list {
    position: absolute;
    top: 70px;
    right: 4%;
    background: #1c1531;
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: 12px;
    flex-direction: column;
    display: none;
    width: 180px;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .header-inner .primary-btn {
    display: none;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .game-frame iframe {
    min-height: 420px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
