:root {
  --color-primary: #ffb703;
  --color-primary-dark: #fb8500;
  --color-secondary: #023047;
  --color-accent: #e63946;
  --color-accent-hover: #d62828;
  --color-success: #2ec4b6;
  --color-bg-dark: #070a13;
  --color-bg-surface: #0f172a;
  --color-bg-card: #141f36;
  --color-bg-card-hover: #1b2947;
  --color-border: #233354;
  --color-border-glow: rgba(255, 183, 3, 0.3);
  --color-text-main: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(255, 183, 3, 0.25);
  --shadow-btn: 0 4px 14px rgba(230, 57, 70, 0.4);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #fff;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(7, 10, 19, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 48px;
}

.brand-logo img, .brand-logo svg {
  height: 44px;
  width: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-main);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
  background: rgba(255, 183, 3, 0.08);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 44px;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff5252 100%);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d62828 0%, #e63946 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.6);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, #ffe082 0%, var(--color-primary) 50%, var(--color-primary-dark) 100%);
  color: #0b0f19;
  font-weight: 800;
  box-shadow: var(--shadow-glow);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fff 0%, #ffd54f 100%);
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(255, 183, 3, 0.6);
  color: #0b0f19;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
  background: rgba(255, 183, 3, 0.1);
  color: #ffffff;
  border-color: #ffffff;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  min-height: 38px;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

@media (min-width: 992px) {
  .mobile-nav-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-bg-dark);
  z-index: 99;
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  border-bottom: 2px solid var(--color-primary);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--color-bg-surface);
  border-left: 3px solid transparent;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  border-left-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-bg-card);
}

/* Sticky Bottom Action Bar (Mobile-First Rule) */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(11, 15, 25, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .sticky-bottom-bar {
    display: none;
  }
}

.sticky-bottom-bar .btn {
  flex: 1;
  min-height: 46px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 0.5rem;
}

.breadcrumbs li::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--color-text-dim);
}

.breadcrumbs li:last-child::after {
  content: "";
}

.breadcrumbs a {
  color: var(--color-text-muted);
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.breadcrumbs span[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 600;
}

/* Hero Section */
.hero {
  padding: 2.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, rgba(255, 183, 3, 0.08) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid var(--color-border-glow);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.hero-stat-item h4 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
}

.hero-stat-item p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.hero-artwork {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  position: relative;
}

.hero-artwork img {
  width: 100%;
  aspect-ratio: 16/9;
  transition: transform 0.4s ease;
}

.hero-artwork:hover img {
  transform: scale(1.02);
}

/* Callout Boxes (E-E-A-T & TL;DR) */
.expert-insight-callout {
  background: linear-gradient(135deg, rgba(20, 31, 54, 0.95), rgba(15, 23, 42, 0.95));
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-card);
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.expert-insight-callout h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.expert-insight-callout p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.tldr-box {
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.tldr-box h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #ff6b6b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.tldr-box p {
  font-size: 0.95rem;
  color: #f1f5f9;
  font-weight: 500;
}

.answer-capsule {
  background: rgba(255, 183, 3, 0.06);
  border-left: 3px solid var(--color-primary);
  padding: 0.85rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.98rem;
  color: #f8fafc;
  font-weight: 500;
}

/* Sections & Typography */
section {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 2.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.4rem;
  }
}

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

/* Game & Feature Cards Grid */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.game-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-card);
  position: relative;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.game-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--color-bg-surface);
}

.game-card-img img {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.game-card:hover .game-card-img img {
  transform: scale(1.05);
}

.game-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.25rem 0.6rem;
  background: rgba(11, 15, 25, 0.85);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.game-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.game-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.65rem;
}

.game-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  flex: 1;
}

/* Article Content Layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2rem 0;
}

@media (min-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr 340px;
  }
}

.article-main {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .article-main {
    padding: 2.5rem;
  }
}

.article-main h2 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  margin: 2.2rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid rgba(255, 183, 3, 0.2);
}

.article-main h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 1.5rem 0 0.75rem;
}

.article-main p {
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
  color: #e2e8f0;
}

.article-main ul, .article-main ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: #e2e8f0;
}

.article-main li {
  margin-bottom: 0.5rem;
}

/* Responsive Tables (No Sideways Page Scroll) */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-surface);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  min-width: 520px;
}

thead th {
  background: rgba(255, 183, 3, 0.08);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

tbody td {
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}

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

tbody tr:hover td {
  background-color: rgba(255, 183, 3, 0.03);
}

/* Steps Box */
.step-list {
  list-style: none;
  counter-reset: step-counter;
  margin: 1.5rem 0;
}

.step-item {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 1.25rem;
}

.step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #0b0f19;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 183, 3, 0.3);
}

.step-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.step-item p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* FAQ Accordions */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.faq-item {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.1rem 1.4rem;
  text-align: left;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-answer {
  padding: 0 1.4rem 1.2rem;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Sticky Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.sidebar-widget h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  color: #cbd5e1;
  font-size: 0.9rem;
}

.sidebar-links a:hover {
  background: rgba(255, 183, 3, 0.08);
  color: var(--color-primary);
  padding-left: 1rem;
}

/* Responsible Gaming Banner */
.rg-banner {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.rg-badge {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rg-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ff6b6b;
  margin-bottom: 0.25rem;
}

.rg-text p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Footer */
.site-footer {
  background-color: #04070e;
  border-top: 1px solid var(--color-border);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(4, 1fr);
  }
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.2rem;
  position: relative;
}

.footer-col h4::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-primary);
  margin-top: 0.4rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

/* Utilities */
.text-gold { color: var(--color-primary); }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* Mobile Pad for Sticky Bar */
@media (max-width: 767px) {
  body {
    padding-bottom: 64px;
  }
}
