/* === tokens.css === */
:root {
  /* Luxe Dark Slate Theme Tokens */
  --bg-main: #0B0F19;
  --bg-surface: #151D2F;
  --bg-surface-elevated: #1E293B;
  --bg-surface-hover: #26334D;
  --border-subtle: #232F4A;
  --border-focus: #F59E0B;

  /* Brand Accents */
  --accent-gold: #F59E0B;
  --accent-gold-hover: #D97706;
  --accent-gold-gradient: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  --accent-cyan: #06B6D4;
  --accent-cyan-hover: #0891B2;
  --accent-cyan-gradient: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);

  /* Status Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;

  /* Dimensions & Spacing */
  --sidebar-width: 280px;
  --bottom-bar-height: 60px;
  --header-height: 64px;
  --max-content-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  background-color: var(--bg-main);
  color: var(--text-primary);
  overflow-x: hidden;
}

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

a:hover {
  color: var(--accent-gold-hover);
}

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


/* === layout.css === */
/* Sidebar Portal Layout Architecture */
.portal-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Desktop Fixed Sidebar Portal */
.sidebar-portal {
  width: var(--sidebar-width);
  background-color: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
}

.sidebar-header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.brand-name span {
  color: var(--accent-gold);
}

.sidebar-actions {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  padding: 8px 12px 4px;
  font-weight: 700;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.nav-item:hover, .nav-item.active {
  background-color: var(--bg-surface-elevated);
  color: var(--accent-gold);
  border-left: 3px solid var(--accent-gold);
}

.nav-item-icon {
  font-size: 1.1rem;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-subtle);
  background-color: rgba(11, 15, 25, 0.5);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Main Content Area */
.portal-main {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background-color: var(--bg-main);
}

.portal-topbar {
  height: var(--header-height);
  background-color: rgba(21, 29, 47, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

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

.breadcrumbs .sep {
  color: var(--border-subtle);
}

.breadcrumbs .current {
  color: var(--text-primary);
  font-weight: 500;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-content {
  padding: 32px;
  max-width: var(--max-content-width);
  width: 100%;
  margin: 0 auto;
  flex: 1;
}

/* Site-wide Footer Directory */
.portal-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 32px 32px;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 32px;
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-weight: 700;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  max-width: var(--max-content-width);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.responsible-gaming-badges {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-badge-pill {
  padding: 4px 12px;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 600;
}


/* === components.css === */
/* UI Components - Luxe Dark Slate System */

/* Buttons */
.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);
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  min-height: 44px; /* Accessible 44px tap target */
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gold-gradient);
  color: #000;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-hover);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero-card {
  background: linear-gradient(135deg, rgba(21, 29, 47, 0.95) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 36px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  flex: 1;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.hero-title span {
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  width: 320px;
  height: auto;
  border-radius: var(--radius-md);
  z-index: 1;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
}

/* E-E-A-T Callout Box */
.eeat-box {
  background: rgba(6, 182, 212, 0.05);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.eeat-icon {
  color: var(--accent-cyan);
  font-size: 1.4rem;
  line-height: 1;
}

.eeat-content {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.eeat-content strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

/* TL;DR Capsule */
.tldr-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0 32px;
}

.tldr-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.tldr-text {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Answer Capsule (for Google AI Overviews) */
.answer-capsule {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 16px 0 24px;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Data Comparison Tables */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  scrollbar-width: thin;
}

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

.data-table th {
  background-color: var(--bg-surface-elevated);
  padding: 14px 18px;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.data-table td {
  padding: 14px 18px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(35, 47, 74, 0.5);
}

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

.data-table tr:hover td {
  background-color: rgba(30, 41, 59, 0.5);
  color: var(--text-primary);
}

.highlight-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.highlight-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-success);
}

.highlight-gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
}

/* Game Card Matrix */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.game-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

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

.game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

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

.game-card-provider {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.game-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.game-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(35, 47, 74, 0.5);
}

/* Numbered Step Walkthrough */
.walkthrough-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.step-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-gold-gradient);
  color: #000;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-weight: 700;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-section {
  margin: 40px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

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

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin: 48px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-banner h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
}

.cta-banner p {
  max-width: 600px;
  color: var(--text-secondary);
  font-size: 1rem;
}


/* === page.css === */
/* Page Template Components (hero media, figures, E-E-A-T bar, nav, footer) */

/* --- Hero: stacked layout with full-width banner image --- */
.hero-card {
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
}

.hero-visual-wrapper {
  order: -1; /* image sits on top of the hero copy */
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16 / 9;
  z-index: 1;
}

.hero-visual {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}

.hero-badge-group .hero-badge { margin-bottom: 0; }

.badge-tag {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
}

/* --- Author / fact-check bar (E-E-A-T) --- */
.author-meta-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin: 0 0 22px;
  background: rgba(11, 15, 25, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.author-info { display: flex; align-items: center; gap: 12px; text-align: left; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-gold-gradient);
  font-size: 1.1rem;
}
.author-name { display: block; font-weight: 800; color: var(--text-primary); }
.author-role { display: block; font-size: 0.8rem; color: var(--text-muted); }
.meta-dates { display: flex; flex-direction: column; gap: 4px; font-size: 0.8rem; color: var(--text-secondary); text-align: right; }
.fact-check-badge { color: var(--color-success); font-weight: 700; }

/* --- In-article figures --- */
.content-figure {
  margin: 28px 0 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.content-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.content-figure figcaption {
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
}

.content-section { margin: 40px 0; }
.content-section h2 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.3;
}
.content-section p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 14px; }

/* --- Breadcrumbs --- */
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; gap: 6px;
  list-style: none; padding: 0; margin: 0 0 18px;
  font-size: 0.8rem; color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--accent-gold); }
.bc-sep { margin-right: 6px; opacity: 0.5; }

/* --- Steps --- */
.steps-container { margin: 36px 0; }
.steps-container h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 16px; color: var(--text-primary); }
.steps-grid { display: grid; gap: 12px; }
.step-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.step-card:hover { border-color: rgba(245, 158, 11, 0.45); transform: translateX(3px); }
.step-num {
  flex: 0 0 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-gold-gradient); color: #000; font-weight: 900;
}
.step-content h4 { color: var(--text-primary); font-weight: 700; margin-bottom: 4px; }
.step-content p { color: var(--text-secondary); font-size: 0.92rem; margin: 0; }

/* --- Related links --- */
.related-links-wrapper { margin: 40px 0; }
.related-links-wrapper h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 14px; color: var(--text-primary); }
.related-links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.related-link-card {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary); font-weight: 600; font-size: 0.9rem;
  transition: all var(--transition-fast);
}
.related-link-card:hover { border-color: var(--accent-gold); color: var(--accent-gold); transform: translateY(-2px); }
.rl-arrow { color: var(--accent-gold); }

.expert-tip { margin-top: 8px; }
.cta-banner h2 { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 800; color: var(--text-primary); }
.cta-banner-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: 0.82rem; min-height: 36px; }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border-subtle); }

/* --- Footer directory --- */
.portal-footer { border-top: 1px solid var(--border-subtle); padding: 40px 32px 100px; background: var(--bg-surface); }
.footer-brand-summary { max-width: 720px; margin-bottom: 28px; }
.footer-brand-summary img { height: 52px; width: auto; margin-bottom: 12px; }
.footer-brand-summary p { color: var(--text-muted); font-size: 0.88rem; }
.footer-directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; margin-bottom: 28px; }
.footer-col h4 { font-size: 0.9rem; font-weight: 800; margin-bottom: 10px; }
.footer-col h4 a { color: var(--accent-gold); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-col li a { color: var(--text-muted); font-size: 0.78rem; }
.footer-col li a:hover { color: var(--text-primary); }
.age-restriction-seal { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid rgba(239, 68, 68, 0.35); border-radius: var(--radius-md); background: rgba(239, 68, 68, 0.06); }
.age-circle { flex: 0 0 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 3px solid #EF4444; color: #EF4444; font-weight: 900; }
.age-text p { color: var(--text-muted); font-size: 0.82rem; margin-top: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; font-size: 0.78rem; color: var(--text-muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--text-secondary); }

/* --- Mobile top header (hidden on desktop) --- */
.mobile-top-header { display: none; }
.content-container { max-width: 960px; margin: 0 auto; padding: 32px; }

@media (max-width: 1024px) {
  .mobile-top-header {
    display: flex; justify-content: space-between; align-items: center;
    position: sticky; top: 0; z-index: 900;
    padding: 10px 16px;
    background: rgba(11, 15, 25, 0.92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
  }
  .mobile-top-header .brand-logo-img { height: 40px; width: auto; }
  .mobile-header-actions { display: flex; gap: 8px; }
  .mobile-header-actions .btn { width: auto; }
  .hero-card { text-align: left; }
  .hero-visual { max-width: none; margin: 0; }
}

@media (max-width: 640px) {
  .content-container { padding: 18px 14px; }
  .hero-card { padding: 18px; }
  .author-meta-bar { flex-direction: column; align-items: flex-start; }
  .meta-dates { text-align: left; }
  .portal-footer { padding: 32px 16px 100px; }
}

/* --- Homepage Rich Visual Galleries & Game Showcases --- */
.home-showcase-section {
  margin: 44px 0;
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(21, 29, 47, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.home-showcase-header {
  margin-bottom: 22px;
}

.home-showcase-header h2 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-showcase-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.game-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

.game-card-rich {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.game-card-rich:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.18);
}

.game-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d1322;
}

.game-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
  display: block;
}

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

.game-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

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

.game-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.game-card-metrics {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.game-card-metrics .metric-val {
  color: var(--color-success);
  font-weight: 700;
}

.game-card-body .btn {
  margin-top: auto;
  padding: 8px 12px;
  font-size: 0.85rem;
  min-height: 36px;
}

/* Feature Showcase Grids (Banking & Promotions) */
.feature-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card-rich {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.feature-card-rich:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.feature-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d1322;
}

.feature-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-card-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.feature-card-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-card-content p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.feature-stat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 6px;
}

.feature-stat-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-stat-list li span.stat-icon {
  color: var(--accent-gold);
  font-weight: 800;
}

.feature-card-content .btn {
  margin-top: auto;
}

/* Mobile App Showcase Banner */
.app-showcase-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(15, 23, 42, 0.95) 60%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 40px 0;
}

.app-showcase-content {
  flex: 1;
}

.app-showcase-content h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.app-showcase-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 18px;
}

.app-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.app-meta-badge {
  background: rgba(11, 15, 25, 0.7);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-meta-badge strong {
  color: var(--text-primary);
}

.app-showcase-visual {
  flex: 0 0 320px;
  max-width: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.app-showcase-visual img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 860px) {
  .app-showcase-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  .app-showcase-visual {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
  .app-meta-badges {
    justify-content: center;
  }
  .app-showcase-content .hero-actions {
    justify-content: center;
  }
}


/* === responsive.css === */
/* Responsive & Mobile First Styling (390px Viewport Focus) */

/* Mobile Bottom Bar (Hidden on Desktop) */
.sticky-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-bar-height);
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  z-index: 1000;
  padding: 0 12px;
  align-items: center;
  justify-content: space-around;
}

.bottom-tab-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  min-width: 50px;
}

.bottom-tab-link.active, .bottom-tab-link:hover {
  color: var(--accent-gold);
}

.bottom-tab-icon {
  font-size: 1.2rem;
}

.bottom-cta-btn {
  background: var(--accent-gold-gradient);
  color: #000;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 1024px) {
  .sidebar-portal {
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
  }

  .sidebar-portal.open {
    transform: translateX(0);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
  }

  .portal-main {
    margin-left: 0;
    padding-bottom: var(--bottom-bar-height);
  }

  .mobile-menu-btn {
    display: block;
  }

  .sticky-bottom-bar {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .hero-card {
    flex-direction: column;
    padding: 30px 24px;
    text-align: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

/* Mobile Screens (390px - iPhone 12/13/14/15 standard) */
@media (max-width: 640px) {
  .portal-topbar {
    padding: 0 16px;
  }

  .portal-content {
    padding: 20px 16px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .table-wrapper {
    margin: 20px 0;
  }

  .step-card {
    padding: 16px;
    gap: 14px;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}


