/* ==========================================================================
   JL9 CASINO MODERN UI DESIGN SYSTEM & RESPONSIVE STYLESHEET
   Brand: JL9 (jl9casino.net)
   Aesthetic: Luxury Dark Theme (Obsidian #0f0f12 / #18181f, Gold #FFD700, Ruby #E11D48)
   Typography: Google Font Outfit (Headings & UI) + Inter (Body Copy)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  /* Color Tokens - Surfaces */
  --bg-base: #0f0f12;
  --bg-surface: #18181f;
  --bg-card: #21212b;
  --bg-card-hover: #292936;
  --bg-elevated: #2d2d3d;
  --bg-subtle: rgba(255, 255, 255, 0.03);

  /* Gold Palette & Gradients */
  --gold-primary: #FFD700;
  --gold-light: #FFE247;
  --gold-dark: #C99700;
  --gold-gradient: linear-gradient(135deg, #FFF0A0 0%, #FFD700 35%, #FDB931 70%, #C99700 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFFFFF 0%, #FFE247 40%, #FFD700 100%);
  --gold-glow: rgba(255, 215, 0, 0.25);
  --gold-glow-lg: rgba(255, 215, 0, 0.4);

  /* Ruby / Energy Red CTA */
  --ruby-primary: #E11D48;
  --ruby-light: #FF2E56;
  --ruby-gradient: linear-gradient(135deg, #FF2E56 0%, #E11D48 60%, #BE123C 100%);
  --ruby-glow: rgba(225, 29, 72, 0.35);

  /* Status & Verification */
  --color-success: #10B981;
  --color-success-bg: rgba(16, 185, 129, 0.12);
  --color-warning: #F59E0B;
  --color-warning-bg: rgba(245, 158, 11, 0.12);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;
  --text-inverse: #0B0F19;

  /* Borders & Dividers */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(255, 215, 0, 0.35);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.45);
  --shadow-floating: 0 20px 40px -10px rgba(0, 0, 0, 0.6);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Layout */
  --container-max: 1240px;
  --container-pad: 20px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::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(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(225, 29, 72, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(255, 215, 0, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
}

/* WCAG 2.2 AA Keyboard Navigation & Focus Visible Rules */
:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

a:focus-visible, 
button:focus-visible, 
input:focus-visible, 
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  width: 100%;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #FFFFFF;
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
  position: relative;
}

h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.15rem;
  color: var(--text-main);
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.lead {
  font-size: 1.125rem;
  color: #D1D5DB;
  line-height: 1.7;
}

/* ==========================================================================
   BUTTONS & MICRO-INTERACTIONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: all 0.22s ease-in-out;
  text-align: center;
  white-space: nowrap;
  min-height: 44px;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-gold:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 0 6px 20px var(--gold-glow-lg);
  transform: translateY(-2px);
}

.btn-ruby {
  background: var(--ruby-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 15px var(--ruby-glow);
}

.btn-ruby:hover {
  filter: brightness(1.12);
  box-shadow: 0 6px 22px var(--ruby-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-card);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  min-height: 36px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  min-height: 50px;
}

/* ==========================================================================
   HEADER & TOP NOTIFICATION
   ========================================================================== */
.top-notification {
  background: #0B0E14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.top-notification-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.top-notice-text {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-success);
  display: inline-block;
}

.top-notice-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-link {
  color: #D1D5DB;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-link:hover {
  color: var(--gold-primary);
}

/* Main Site Header */
.site-header {
  background: rgba(24, 24, 31, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.brand-logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Nav list desktop */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #D1D5DB;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
}

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

/* Dropdown */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-floating);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 110;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--text-main);
  border-radius: var(--radius-sm);
}

.dropdown-link:hover {
  background: var(--bg-card);
  color: var(--gold-primary);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-toggle {
  display: none;
  padding: 8px;
  color: #FFFFFF;
  font-size: 1.5rem;
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-card);
  z-index: 1000;
  box-shadow: var(--shadow-floating);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 24px 20px;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-close {
  color: var(--text-muted);
  font-size: 1.5rem;
  padding: 4px;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--text-main);
}

.drawer-nav-link:hover {
  background: var(--bg-card);
  color: var(--gold-primary);
}

.drawer-cta-wrap {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   HERO CONTAINER
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  padding: 64px 0 72px 0;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 15, 18, 0.95) 25%, rgba(15, 15, 18, 0.8) 60%, rgba(15, 15, 18, 0.92) 100%),
    url('/images/casino-hero-banner.webp');
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0.65;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-dual-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-card-preview {
  position: relative;
}

.hero-featured-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-floating);
  position: relative;
  overflow: hidden;
}

.hero-featured-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-featured-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

/* ==========================================================================
   FEATURE & TRUST STRIP
   ========================================================================== */
.trust-strip {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.trust-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
}

.trust-icon {
  font-size: 1.85rem;
  line-height: 1;
}

.trust-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
  margin: 0 0 2px 0;
}

.trust-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   SECTION CONTAINERS
   ========================================================================== */
.page-section {
  padding: 64px 0;
  position: relative;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-intro {
  max-width: 680px;
}

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

/* ==========================================================================
   INTERACTIVE 3x2 GAME GRID & PAGINATION
   ========================================================================== */
.game-grid-container {
  position: relative;
}

.game-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
  border-color: var(--border-gold);
}

.game-card-media {
  position: relative;
  width: 100%;
  padding-top: 65%;
  background: #11141D;
  overflow: hidden;
}

.game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.game-badges-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.badge-rtp {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.badge-volatility {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FBBF24;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.game-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-card-title {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.game-card-provider {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.game-card-specs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
  margin-bottom: 16px;
  font-size: 0.8125rem;
  color: #D1D5DB;
}

.game-card-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
  margin-top: auto;
}

/* Pagination Controls */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.page-btn:hover:not(.disabled) {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.page-btn.active {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  border-color: var(--gold-primary);
  font-weight: 700;
}

.page-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ==========================================================================
   CONTENT CONTAINERS & EDITORIAL GUIDES
   ========================================================================== */
.content-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.editorial-article {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.article-hero-media {
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.article-contextual-media {
  margin: 32px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #000000;
}

.article-contextual-media figcaption {
  padding: 10px 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
}

/* Sidebar */
.sidebar-sticky {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.widget-title {
  font-size: 1.15rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.toc-link:hover {
  color: var(--gold-primary);
}

/* ==========================================================================
   AUTHOR E-E-A-T BLOCK
   ========================================================================== */
.author-eeat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 40px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  flex-shrink: 0;
  object-fit: cover;
}

.author-info {
  flex-grow: 1;
}

.author-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.verified-pill {
  background: var(--color-success-bg);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--color-success);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.author-bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.audit-timestamp {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  margin: 24px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th {
  background: #14141B;
  color: var(--gold-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 2px solid var(--border-gold);
  white-space: nowrap;
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  background: var(--bg-card);
}

.data-table tr:hover td {
  background: var(--bg-card-hover);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-card);
}

.faq-trigger {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--gold-primary);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 20px 20px 20px;
  display: none;
  color: #D1D5DB;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-content {
  display: block;
}

/* ==========================================================================
   FOOTER & COMPLIANCE
   ========================================================================== */
.site-footer {
  background: #0B0B0E;
  border-top: 1px solid var(--border-card);
  padding: 64px 0 32px 0;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
}

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

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

.payment-badges-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.payment-badge-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

/* Responsible Gaming Banner */
.rg-footer-banner {
  background: #15151D;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.age-badge-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ruby-primary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px var(--ruby-glow);
}

.rg-banner-text {
  font-size: 0.875rem;
  color: #D1D5DB;
  margin: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   AGE GATE MODAL (21+)
   NOTE: Strictly NO h1-h6 tags inside the modal
   ========================================================================== */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-gate-card {
  background: #181822;
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-floating);
  position: relative;
}

.age-gate-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.age-gate-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.age-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ==========================================================================
   FUNCTIONAL & TRANSACTIONAL PAGE COMPONENTS
   ========================================================================== */
.functional-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.auth-portal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-floating);
  position: relative;
  overflow: hidden;
}

.auth-portal-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.auth-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 24px;
  gap: 4px;
}

.auth-tab {
  flex: 1;
  padding: 10px 16px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  cursor: pointer;
}

.auth-tab.active {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  box-shadow: 0 2px 8px var(--gold-glow);
}

.auth-tab:hover:not(.active) {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

.auth-form-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #D1D5DB;
}

.form-label-link {
  font-size: 0.8rem;
  color: var(--gold-primary);
  text-decoration: underline;
}

.form-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input {
  width: 100%;
  background: #14141c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.95rem;
  color: #FFFFFF;
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.18);
  background: #171722;
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-input-prefix {
  position: absolute;
  left: 14px;
  font-size: 0.9rem;
  color: var(--gold-primary);
  font-weight: 700;
  pointer-events: none;
}

.form-input.has-prefix {
  padding-left: 48px;
}

.form-helper {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.4;
}

.form-checkbox {
  margin-top: 3px;
  accent-color: var(--gold-primary);
  width: 16px;
  height: 16px;
}

/* Steps Walkthrough Cards */
.steps-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.step-walkthrough-card {
  display: flex;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-walkthrough-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
}

.step-num-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--text-inverse);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px var(--gold-glow);
}

.step-content-box {
  flex: 1;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Security Trust Callout */
.security-audit-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(21, 21, 29, 0.9) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0;
  display: flex;
  gap: 16px;
  align-items: center;
}

.security-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.security-text-content {
  font-size: 0.875rem;
  color: #D1D5DB;
  line-height: 1.5;
}

.security-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #34D399;
  margin-bottom: 4px;
}

/* Method Selector */
.payment-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.payment-method-card {
  background: #191924;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.payment-method-card.active, .payment-method-card:hover {
  border-color: var(--gold-primary);
  background: #20202d;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.15);
}

.payment-method-logo {
  height: 32px;
  width: auto;
  margin: 0 auto 10px auto;
  object-fit: contain;
}

.payment-method-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
}

.payment-method-sub {
  font-size: 0.75rem;
  color: var(--color-success);
  margin-top: 4px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-card-preview {
    display: none;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .game-grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-grid, .functional-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu, .header-cta-group {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .game-grid-3x2 {
    grid-template-columns: 1fr;
  }
  .payment-selector-grid {
    grid-template-columns: 1fr;
  }
  .auth-portal-card {
    padding: 24px 18px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .rg-footer-banner {
    flex-direction: column;
    text-align: center;
  }
  .editorial-author-card, .author-eeat-card {
    flex-direction: column;
    text-align: center;
  }
  .author-title-row {
    justify-content: center;
  }
  .author-avatar {
    margin: 0 auto;
  }
}

/* ==========================================================================
   ARTICLE BREADCRUMBS
   ========================================================================== */
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-breadcrumb a {
  color: #D1D5DB;
}

.article-breadcrumb a:hover {
  color: var(--gold-primary);
}

.article-breadcrumb .active {
  color: var(--gold-primary);
  font-weight: 600;
}

/* ==========================================================================
   STICKY MOBILE BOTTOM NAVIGATION (casino-design-system)
   ========================================================================== */
.mobile-sticky-nav {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 68px;
  }

  .mobile-sticky-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(18, 18, 25, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-light);
    padding: 6px 12px calc(6px + env(safe-area-inset-bottom, 0px)) 12px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #9CA3AF;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    min-width: 48px;
    min-height: 48px;
    border-radius: var(--radius-sm);
    transition: color 0.2s ease;
  }

  .mobile-nav-item .nav-icon {
    font-size: 1.15rem;
    line-height: 1;
  }

  .mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--gold-primary);
  }

  .mobile-nav-item.mobile-nav-cta {
    background: var(--ruby-gradient);
    color: #FFFFFF;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 10px var(--ruby-glow);
    font-weight: 700;
  }
}

/* ==========================================================================
   ACCESSIBILITY: REDUCED MOTION (WCAG AA / ace58-ui-guidance)
   ========================================================================== */
@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;
  }
}
