:root {
  --bg-main: #0b0e14;
  --bg-secondary: #141b26;
  --bg-card: #1d2636;
  --accent-yellow: #ffde00;
  --accent-yellow-hover: #e6c700;
  --accent-blue: #0a84ff;
  --text-main: #ffffff;
  --text-secondary: #90a0b7;
  --border-color: #28354a;
  --radius-lg: 12px;
  --radius-md: 8px;
  --shadow-glow: 0 0 20px rgba(255, 222, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

h2 {
  text-align: center;
  font-size: clamp(22px, 4vw, 32px);
  margin-bottom: 26px;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-yellow);
  margin: 10px auto 0;
  border-radius: 2px;
}

a {
  color: var(--accent-yellow);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffffff;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-yellow);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sticky Header */
header {
  position: sticky;
  top: 0;
  background-color: rgba(11, 14, 20, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 15px 0;
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-placeholder {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-placeholder span {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  gap: 15px;
}

/* Buttons & CTAs with 2026 Micro-interactions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: #000000;
  box-shadow: 0 4px 14px rgba(255, 222, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: all 0.6s;
}

.btn-primary:hover::before {
  left: 150%;
}

.btn-primary:hover {
  background-color: #ffffff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--border-color);
  border-color: var(--accent-yellow);
  transform: translateY(-2px);
}

.btn-glow-big {
  font-size: 18px;
  padding: 18px 36px;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 222, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 222, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 222, 0, 0);
  }
}

/* Hero Section */
.hero {
  padding: 52px 0 36px;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 222, 0, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 10% 80%,
      rgba(10, 132, 255, 0.05) 0%,
      transparent 50%
    );
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 20px;
  line-height: 1.2;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  max-width: 800px;
  margin: -4px auto 18px;
  color: var(--text-secondary);
  font-size: 14px;
}

.article-byline time {
  color: var(--text-main);
  font-weight: 600;
}

.hero p {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.hero .action-box {
  margin: 24px 0 0;
}

section:nth-child(even){
  padding: 24px 0 42px;
  background-color: #141b26;
}

section:nth-child(odd){
  padding: 48px 0;
  border-bottom: 1px solid #141b26;;
}

section:nth-child(1){
  padding: 52px 0 36px;
  border-bottom: unset;
}


/* Key Facts Grid */
.key-facts-section {
  padding: 24px 0 42px;
  background-color: var(--bg-secondary);
}

.section-title {
  text-align: center;
  font-size: clamp(22px, 4vw, 32px);
  margin-bottom: 26px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-yellow);
  margin: 10px auto 0;
  border-radius: 2px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.fact-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-lg);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.fact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 222, 0, 0.3);
}

.fact-label {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.fact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

/* Standard Content Block */
.content-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border-color);
}

.content-section-alt {
  background-color: var(--bg-secondary);
}

.content-text {
  max-width: 900px;
  margin: 0 auto;
}

.content-text p {
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.content-text h3 {
  margin: 26px 0 16px;
}

/* Modern Lists */
.styled-list {
  list-style: none;
  margin: 18px 0;
}

.styled-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.styled-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background-color: rgba(255, 222, 0, 0.1);
  color: var(--accent-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
}

/* Numbered Steps */
.step-list {
  list-style: none;
  counter-reset: step-counter;
  margin: 22px 0;
}

.step-list li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 60px;
  margin-bottom: 18px;
}

.step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: var(--bg-card);
  border: 2px solid var(--accent-yellow);
  color: var(--accent-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

/* Bonus Cards Layout */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin: 26px 0;
}

.bonus-card {
  background: linear-gradient(
    135deg,
    var(--bg-secondary) 0%,
    var(--bg-card) 100%
  );
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bonus-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(255, 222, 0, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.bonus-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--accent-yellow);
}

.bonus-card-spaced {
  margin-bottom: 24px;
}

.bonus-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

/* Games Grid */
.games-promo {
  background-color: var(--bg-secondary);
  padding: 48px 0;
}

/* Dynamic Table Styling */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 22px 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}

th {
  background-color: var(--bg-card);
  color: var(--text-main);
  font-weight: 700;
  padding: 16px 20px;
  border-bottom: 2px solid var(--border-color);
}

td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background-color: var(--bg-card);
  color: var(--text-main);
}

/* App download UI */
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 22px 0;
}

@media (max-width: 768px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
}

.app-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-lg);
}

.app-header {
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.faq-item {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 15px;
  overflow: hidden;
  transition: border-color .3s ease;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item:hover {
  border-color: rgba(255, 222, 0, .2);
}

.faq-question {
  position: relative;
  padding: 20px 60px 20px 24px;
  color: var(--text-main);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--accent-yellow);
  transition: transform .3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-top: 1px solid transparent;
  transition:
    max-height .3s cubic-bezier(0,1,0,1),
    padding .3s ease,
    border-color .3s ease;
}

.toggle:checked ~ .faq-answer {
  max-height: 1000px;
  padding: 24px;
  border-top: 1px solid var(--border-color);
  transition:
    max-height .3s cubic-bezier(1,0,1,0),
    padding .3s ease,
    border-color .3s ease;
}

.toggle:checked ~ .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.toggle {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  cursor: pointer;
}

/* Action bar for CTAs alignment */
.action-box {
  text-align: center;
  margin: 26px 0;
}

.action-box .btn {
  max-width: 100%;
  white-space: normal;
}

/* Footer */
footer {
  background-color: #06080c;
  border-top: 1px solid var(--border-color);
  padding: 22px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-bottom {
  padding-top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Mobile Sticky Navigation Button */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 12px 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-sticky-cta .btn {
  width: 100%;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: block;
  }
  body {
    padding-bottom: 80px; /* Space for sticky CTA */
  }
  header .btn {
    display: none; /* Hide header buttons on mobile to avoid clutter */
  }

  .hero {
    padding: 38px 0 24px;
  }

  .key-facts-section {
    padding: 18px 0 30px;
  }

  .content-section,
  .games-promo {
    padding: 36px 0;
  }

  .fact-card,
  .bonus-card,
  .app-card {
    padding: 20px;
  }

  .facts-grid,
  .bonus-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .action-box .btn {
    width: 100%;
    padding: 16px 18px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.logo img {
  display: block;
  max-height: 58px;
  width: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  cursor: pointer;
  border: 0;
  text-align: center;
  background-color: var(--accent-yellow);
  color: #000;
  box-shadow: 0 4px 14px rgba(255, 222, 0, 0.3);
  line-height: 1.2;
}
.button:hover {
  background-color: #fff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

body > header,
body > section.section,
body > footer {
  width: min(1200px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}
body > section.section {
  margin-top: 28px;
  margin-bottom: 28px;
}
body > section.section[data-layout~="hero"] {
  padding: 52px 20px 36px;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 222, 0, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 10% 80%,
      rgba(10, 132, 255, 0.05) 0%,
      transparent 50%
    );
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}
body > section.section[data-layout~="key-facts-section"],
body > section.section[data-layout~="content-section-alt"],
body > section.section[data-layout~="games-promo"] {
  background-color: var(--bg-secondary);
}
body > section.section[data-layout~="content-section"],
body > section.section[data-layout~="games-promo"],
body > section.section[data-layout~="key-facts-section"] {
  padding-top: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-color);
}
body > section.section[data-layout~="mobile-sticky-cta"] {
  display: none;
}
@media (max-width: 768px) {
  body > header,
  body > section.section,
  body > footer {
    width: min(100% - 24px, 1200px);
  }
  body > section.section {
    margin-top: 18px;
    margin-bottom: 18px;
  }
  body > section.section[data-layout~="mobile-sticky-cta"] {
    display: block;
  }
}
