:root {
  --bg: #1a0e05;
  --surface: rgba(35, 20, 10, 0.7);
  --surface-strong: rgba(50, 25, 10, 0.92);
  --card: rgba(60, 30, 10, 0.75);
  --card-border: rgba(255, 140, 60, 0.15);

  --accent: #ff7a00;
  --accent-strong: #ff9500;
  --accent-soft: rgba(255, 153, 51, 0.15);

  --text: #fff7f0; 
  --text-muted: #f0c7a0; 

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 45px rgba(100, 40, 10, 0.55);
}


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 40%),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.12), transparent 42%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--accent-strong);
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

ul li,
ol li {
  margin-bottom: 0.5rem;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section--accent {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(14, 116, 144, 0.16));
}

.section--surface {
  background: rgba(15, 23, 42, 0.55);
  border-block: 1px solid rgba(148, 163, 184, 0.12);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8, 11, 26, 0.85);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff7a00);
  font-weight: 700;
  font-size: 1rem;
}

.primary-nav {
  position: relative;
}

.primary-menu {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.primary-menu a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.primary-menu a:hover,
.primary-menu a:focus {
  color: var(--accent);
}

.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #22d3ee);
  color: #041524;
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(14, 165, 233, 0.45);
}

.btn-tonal {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(14, 165, 233, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: rgba(56, 189, 248, 0.45);
}

.btn-ghost {
  background: rgba(148, 163, 184, 0.08);
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.2);
}

.btn-ghost:hover,
.btn-ghost:focus,
.btn-outline:hover,
.btn-outline:focus,
.btn-tonal:hover,
.btn-tonal:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
}

.hero {
  padding: clamp(5rem, 8vw, 7rem) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent);
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.promo-code {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
  max-width: 420px;
  box-shadow: var(--shadow);
}

.promo-label {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.promo-actions {
  margin: 0.85rem 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.promo-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.promo-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-art {
  display: grid;
  gap: 1.5rem;
}

.hero-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.28), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.hero-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.6);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.hero-card--alt {
  background: radial-gradient(circle at top right, rgba(74, 222, 128, 0.3), rgba(15, 23, 42, 0.85));
  border-color: rgba(74, 222, 128, 0.25);
}

.quick-links {
  padding: 2rem 0 0;
}

.quick-links__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.quick-card {
  background: rgba(148, 163, 184, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: var(--text);
  box-shadow: 0 18px 35px rgba(8, 11, 26, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.quick-card:hover,
.quick-card:focus {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.45);
}

.quick-card__icon {
  font-size: 1.8rem;
}

.toc details {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.toc summary {
  font-weight: 700;
  cursor: pointer;
}

.toc ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.35rem 1.25rem;
  margin: 1rem 0 0;
  list-style: decimal;
  color: var(--text-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card-grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.25rem, 4vw, 2rem);
}

.feature-card,
.guide-card,
.vip-card,
.terms-card,
.reward-card,
.support-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.feature-card h3,
.guide-card h3,
.vip-card h3,
.terms-card h3,
.reward-card h3,
.support-card h3 {
  font-size: 1.15rem;
}

.game-card,
.info-card,
.match-card,
.live-card,
.app-card,
.license-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.game-card h3 {
  margin-bottom: 1rem;
}

.game-card img {
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  width: 255px;
  height: 175px;
}

.info-card h3 {
  font-size: 1.1rem;
}

.match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.match-card header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: var(--text-muted);
}

.match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  font-weight: 600;
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.tag-list li {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.info-table {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.info-table h3 {
  margin-bottom: 1rem;
}

.info-table dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem 1.5rem;
  margin: 0;
}

.info-table dt {
  font-weight: 600;
  color: var(--text-muted);
}

.highlight-list {
  list-style: none;
  padding: 0;
}

.highlight-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.highlight-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: #34d399;
  font-size: 1rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.app-preview {
  display: grid;
  place-items: center;
}

.app-preview img {
  width: min(180px, 100%);
  box-shadow: var(--shadow);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.25rem, 4vw, 2rem);
}

.requirements-table {
  background: rgba(8, 11, 26, 0.75);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.requirements-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.requirements-table th,
.requirements-table td {
  padding: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  text-align: left;
}

.requirements-table thead {
  background: rgba(56, 189, 248, 0.12);
}

.support-card {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.reward-card {
  display: grid;
  gap: 1.25rem;
}

.vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.25rem, 4vw, 2rem);
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.25rem, 4vw, 2rem);
}

.hero--alt {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(14, 165, 233, 0.12)), var(--bg);
}

.hero--bonus {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.14), rgba(59, 130, 246, 0.12)), var(--bg);
}

.step-list {
  counter-reset: steps;
  list-style: none;
  padding: 0;
}

.step-list li {
  counter-increment: steps;
  margin-bottom: 0.75rem;
  padding-left: 2.5rem;
  position: relative;
}

.step-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(56, 189, 248, 0.2);
  color: var(--accent);
  font-weight: 700;
}

.promo-table {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.promo-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.promo-table th,
.promo-table td {
  padding: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  text-align: left;
}

.promo-table thead {
  background: rgba(56, 189, 248, 0.12);
}

.promo-table tfoot td {
  font-style: italic;
  color: var(--text-muted);
}

.license-card {
  text-align: center;
  display: grid;
  gap: 0.5rem;
}

.license-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.live-card,
.app-card {
  display: grid;
  gap: 0.75rem;
  text-align: center;
  font-weight: 600;
  color: var(--text-muted);
}

.cta-inline {
  margin-top: 1.5rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.faq-grid details {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(8, 11, 26, 0.9);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.6);
  position: relative;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bar {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle__bar::before {
  top: -8px;
}

.nav-toggle__bar::after {
  top: 8px;
}

.primary-nav.open .nav-toggle__bar {
  background: transparent;
}

.primary-nav.open .nav-toggle__bar::before {
  transform: translateY(8px) rotate(45deg);
}

.primary-nav.open .nav-toggle__bar::after {
  transform: translateY(-8px) rotate(-45deg);
}

.primary-nav.open .primary-menu {
  display: grid;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .primary-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    background: rgba(8, 11, 26, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow);
    width: min(260px, 80vw);
    flex-direction: column;
    gap: 0.85rem;
  }

  .primary-menu li {
    margin: 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-card {
    font-size: 1rem;
  }

  .promo-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .promo-buttons {
    width: 100%;
  }

  .promo-buttons .btn {
    flex: 1;
    justify-content: center;
  }

  .match-teams {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
