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

:root {
  --bg: #07070f;
  --bg-pattern: #0a0a14;
  --surface: #0e0e1b;
  --surface-2: #141429;
  --surface-3: #1b1b37;
  --surface-card: #111226;
  --surface-glass: rgba(14, 14, 27, 0.75);
  
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-focus: rgba(216, 252, 62, 0.5);
  
  --text: #ffffff;
  --text-muted: #9f9fcf;
  --text-dim: #6969b5;
  
  /* Sweepico High-Voltage Color Palette */
  --primary: #d8fc3e;
  --primary-hover: #e4ff4d;
  --primary-glow: rgba(216, 252, 62, 0.35);
  --primary-text: #07070f;
  
  --secondary: #5740ff;
  --secondary-hover: #6a56ff;
  --secondary-glow: rgba(87, 64, 255, 0.4);
  
  --accent-pink: #f5245c;
  --accent-pink-glow: rgba(245, 36, 92, 0.35);
  --accent-cyan: #00f0ff;
  
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  
  --header-h: 72px;
  --container: 1180px;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg);
  font-family: var(--font-main);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(87, 64, 255, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 100% 30%, rgba(216, 252, 62, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 0% 70%, rgba(245, 36, 92, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text);
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile sticky footer */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

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

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

/* Base Container & Grid */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--primary);
  color: var(--primary-text);
  padding: 10px 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 10000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-h);
  background: rgba(7, 7, 15, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.brand-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #07070f;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.brand-logo .logo-text {
  background: linear-gradient(180deg, #ffffff 40%, #d1d1e3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-logo .logo-badge {
  font-size: 11px;
  font-weight: 800;
  background: var(--surface-3);
  color: var(--primary);
  border: 1px solid rgba(216, 252, 62, 0.3);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-nav {
  display: none;
}

@media (min-width: 900px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
  }
}

.nav-link {
  padding: 8px 14px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(216, 252, 62, 0.08);
}

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

/* Sweepico Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
  line-height: 1.2;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-text);
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 24px rgba(216, 252, 62, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface-2);
  color: #ffffff;
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--surface-3);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.btn-indigo {
  background: var(--secondary);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--secondary-glow);
}

.btn-indigo:hover {
  background: var(--secondary-hover);
  box-shadow: 0 6px 20px rgba(87, 64, 255, 0.6);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 800;
  border-radius: var(--radius-pill);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
}

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

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(14, 14, 27, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

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

.mobile-nav-drawer .nav-link {
  font-size: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

/* Hero Section (Full-Bleed per specs) */
.hero {
  position: relative;
  width: 100%;
  min-height: 420px;
  padding: 60px 0 50px;
  background-color: #0c141a;
  background-image: 
    linear-gradient(180deg, rgba(7, 7, 15, 0.7) 0%, rgba(7, 7, 15, 0.92) 80%, #07070f 100%),
    linear-gradient(90deg, rgba(7, 7, 15, 0.9) 0%, rgba(7, 7, 15, 0.4) 60%, rgba(7, 7, 15, 0.8) 100%),
    url('/media/banner.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #ffffff;
  margin-bottom: 16px;
}

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

.hero p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 26px;
}

@media (min-width: 768px) {
  .hero p {
    font-size: 18px;
  }
}

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

/* Continuous Lobby Body */
.lobby-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 20px 0 60px;
}

/* Headings in continuous flow */
.lobby-body h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 10px;
  margin-bottom: 16px;
  letter-spacing: -0.4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (min-width: 768px) {
  .lobby-body h2 {
    font-size: 30px;
  }
}

.lobby-body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #e2e2f3;
  margin-top: 20px;
  margin-bottom: 10px;
}

.lobby-body p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Games Section & Category Tabs */
.games-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .games-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: var(--surface-2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
  background: var(--surface-3);
  color: var(--primary);
  border-color: rgba(216, 252, 62, 0.4);
  box-shadow: 0 0 16px rgba(216, 252, 62, 0.15);
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

@media (min-width: 900px) {
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1100px) {
  .games-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.game-tile {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.game-tile:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(216, 252, 62, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(216, 252, 62, 0.15);
}

.game-thumb-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
}

.game-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-tile:hover .game-thumb-wrapper img {
  transform: scale(1.08);
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 15, 0.2) 0%, rgba(7, 7, 15, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.game-tile:hover .game-overlay {
  opacity: 1;
}

.play-badge {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: var(--primary-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--primary-glow);
  transform: scale(0.8);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.game-tile:hover .play-badge {
  transform: scale(1);
}

.game-tag-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(245, 36, 92, 0.9);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px var(--accent-pink-glow);
  z-index: 2;
}

.game-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--surface-card);
}

.game-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-provider {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
}

.view-all-games {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
}

.view-all-games a {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.view-all-games a:hover {
  text-decoration: underline;
}

/* Key Facts Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 20px;
}

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

.data-table th, .data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--surface-2);
  color: #ffffff;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
}

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

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.data-table td.label-cell {
  font-weight: 600;
  color: #ffffff;
  width: 35%;
}

.data-table td.value-cell {
  color: var(--text-muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 99, 0.1);
  color: #00ff63;
  border: 1px solid rgba(0, 255, 99, 0.3);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}

/* Providers & Payments Logo Strips */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.provider-chip, .payment-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.provider-chip:hover, .payment-chip:hover {
  background: var(--surface-2);
  border-color: rgba(216, 252, 62, 0.3);
  transform: translateY(-2px);
}

.provider-chip .chip-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-glow);
}

.payment-chip .chip-icon {
  color: var(--secondary);
}

/* How-To Numbered List */
.howto-list {
  list-style: none;
  counter-reset: howto-counter;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.howto-item {
  counter-increment: howto-counter;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.2s ease;
}

.howto-item:hover {
  border-color: var(--border-light);
}

.howto-item::before {
  content: counter(howto-counter);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--surface-3);
  color: var(--primary);
  border: 1px solid rgba(216, 252, 62, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.howto-item strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 4px;
}

.howto-item p {
  margin-bottom: 0;
  font-size: 14px;
}

/* Homepage Article Prose */
.homepage-article {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.homepage-article section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Teaser Card (for App & Inner Promos) */
.teaser-box {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .teaser-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.teaser-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent-pink));
}

.teaser-info h3 {
  font-size: 22px;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 8px;
}

.teaser-info p {
  margin-bottom: 0;
  max-width: 600px;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: rgba(216, 252, 62, 0.3);
  background: var(--surface-2);
}

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

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--primary);
  transition: transform 0.2s ease;
}

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

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

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

/* Bonus Cards on /bonuses/ */
.bonus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

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

.bonus-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bonus-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 252, 62, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.bonus-card-badge {
  align-self: flex-start;
  background: rgba(216, 252, 62, 0.12);
  color: var(--primary);
  border: 1px solid rgba(216, 252, 62, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.bonus-amount {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin: 10px 0;
}

.bonus-terms-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.bonus-terms-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bonus-terms-list li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
}

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

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.form-control {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(216, 252, 62, 0.2);
}

/* Footer */
.site-footer {
  background: #05050a;
  border-top: 1px solid var(--border);
  padding: 48px 0 30px;
  margin-top: auto;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand {
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

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

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.2s ease;
}

.trust-badge:hover {
  filter: grayscale(0) opacity(1);
}

.trust-badge img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
}

.responsible-note {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Sticky Mobile Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(14, 14, 27, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 16px;
  z-index: 990;
}

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

.mobile-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.mobile-bar-actions .btn {
  flex: 1;
  padding: 10px 12px;
  font-size: 13px;
}

/* Inner Page Hero Header */
.inner-hero {
  padding: 40px 0 20px;
  background: radial-gradient(circle at 50% 0%, rgba(87, 64, 255, 0.15) 0%, transparent 70%);
}

.inner-hero h1 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

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

.inner-hero p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 700px;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

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

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

.breadcrumbs span {
  color: var(--text-dim);
}

/* Interactive Game Search & Filter Controls */
.game-controls-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .game-controls-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.game-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.game-search-wrapper input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 18px 10px 42px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.game-search-wrapper input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 14px var(--primary-glow);
  background: var(--surface-2);
}

.game-search-wrapper .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

/* Floating Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  color: var(--primary-text);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px var(--primary-glow);
}

@media (min-width: 769px) {
  .back-to-top {
    bottom: 30px;
    right: 30px;
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--surface-card);
  border: 1px solid rgba(216, 252, 62, 0.4);
  border-radius: var(--radius);
  padding: 14px 20px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(216, 252, 62, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: auto;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

