/* ============================================================
   BESTBROWSERGAMESHUBUK.COM — MASTER STYLESHEET
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&family=Inter:wght@400;500&display=swap');

/* ── CSS Variables ── */
:root {
  --bg:          #080e1a;
  --surface:     #0d1526;
  --surface2:    #111e35;
  --surface3:    #162340;
  --gold:        #e8a020;
  --gold-light:  #f5b942;
  --gold-dark:   #c4841a;
  --teal:        #00bfa5;
  --teal-light:  #1dd9bf;
  --teal-dark:   #009e88;
  --text:        #e8edf5;
  --text-muted:  #8fa3c0;
  --text-dim:    #5c7494;
  --border:      rgba(232,160,32,0.15);
  --border2:     rgba(0,191,165,0.15);
  --shadow:      0 8px 32px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 24px rgba(232,160,32,0.25);
  --shadow-teal: 0 0 24px rgba(0,191,165,0.25);
  --radius:      12px;
  --radius-lg:   20px;
  --radius-sm:   8px;
  --font-head:   'Rajdhani', sans-serif;
  --font-body:   'Inter', sans-serif;
  --transition:  0.3s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 0.8em; }

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title h2 { color: var(--text); margin-bottom: 0.5rem; }
.section-title h2 span { color: var(--gold); }
.section-title p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.text-gold { color: var(--gold); }
.text-teal { color: var(--teal); }
.text-muted { color: var(--text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  border-color: var(--gold);
}
.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
  color: #0a0a0a;
}
.btn-primary:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: grayscale(60%);
}
.btn-primary:not(:disabled) {
  transition: opacity 0.2s, box-shadow 0.2s, transform 0.2s, filter 0.2s;
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--bg);
  box-shadow: var(--shadow-teal);
  transform: translateY(-2px);
}
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.1rem; }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
}
.site-header.scrolled {
  background: rgba(8,14,26,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  text-decoration: none;
  flex-shrink: 0;
}
.logo span { color: var(--gold); }
.logo:hover { color: var(--text); }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  color: var(--text-muted);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--gold);
  background: rgba(232,160,32,0.08);
}

.header-badge {
  background: rgba(232,160,32,0.15);
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232,160,32,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(0,191,165,0.07) 0%, transparent 60%),
    var(--bg);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,160,32,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,160,32,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232,160,32,0.12);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 1.5s infinite;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.hero-stat-item { text-align: left; }
.hero-stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Floating elements */
.hero-float {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 48%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  pointer-events: none;
}
.float-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  animation: float 4s ease-in-out infinite;
}
.float-card:nth-child(2) { animation-delay: 0.7s; margin-top: 1.5rem; }
.float-card:nth-child(3) { animation-delay: 1.4s; margin-top: -1.5rem; }
.float-card:nth-child(4) { animation-delay: 2.1s; }
.float-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: block;
}
.float-card-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

/* ── Games Section ── */
.games-section { background: var(--surface); padding: 5rem 0; }
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.game-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold), var(--shadow);
}
.game-card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.game-card-image .game-icon {
  font-size: 5rem;
  filter: drop-shadow(0 0 16px rgba(232,160,32,0.5));
  transition: transform var(--transition);
  animation: pulse-icon 3s ease-in-out infinite;
}
.game-card:hover .game-icon { transform: scale(1.15); }

.game-card-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: #0a0a0a;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.game-card-badge.new { background: var(--teal); color: #fff; }

.game-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.game-card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.game-card-body p { color: var(--text-muted); font-size: 0.9rem; flex: 1; }
.game-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.player-count {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 500;
}
.player-count::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 1.5s infinite;
}

/* ── Benefits ── */
.benefits-section { padding: 5rem 0; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--teal));
  transform: scaleY(0);
  transition: transform var(--transition);
  transform-origin: bottom;
}
.benefit-card:hover::before { transform: scaleY(1); }
.benefit-card:hover {
  background: var(--surface2);
  border-color: rgba(232,160,32,0.3);
  transform: translateY(-4px);
}
.benefit-icon {
  width: 52px; height: 52px;
  background: rgba(232,160,32,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.benefit-card h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.benefit-card p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* ── Disclaimer ── */
.disclaimer-box {
  background: rgba(232,160,32,0.06);
  border: 1px solid rgba(232,160,32,0.25);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.disclaimer-box strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.disclaimer-box p, .disclaimer-box li { color: var(--text-muted); font-size: 0.84rem; line-height: 1.7; }
.disclaimer-box ul { margin-top: 0.5rem; padding-left: 1.25rem; list-style: disc; }
.disclaimer-box a { color: var(--teal); }
.disclaimer-box a:hover { color: var(--teal-light); }

/* ── Footer ── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { font-size: 1.3rem; display: inline-block; margin-bottom: 1rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-contact { margin-top: 1rem; }
.footer-contact p { margin: 0.2rem 0; color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }
.footer-contact a { color: var(--gold); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  text-align: center;
}
.footer-bottom p { color: var(--text-dim); font-size: 0.82rem; margin: 0; }

/* ── Age Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,8,16,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease;
}
.modal-overlay.hidden { display: none; }
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  animation: slideUp 0.4s ease;
  box-shadow: 0 0 60px rgba(232,160,32,0.15);
}
.modal-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.modal-logo span { color: var(--gold); }
.modal-box h2 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--text); }
.modal-box > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  text-align: left;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  accent-color: var(--gold);
  margin-top: 2px;
  cursor: pointer;
}
.modal-box .btn { width: 100%; justify-content: center; margin-bottom: 1rem; }
.modal-disclaimer {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin: 0;
}

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9990;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
  animation: slideUp 0.4s ease;
}
.cookie-banner.hidden { display: none; }
.cookie-banner p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }
.cookie-banner a { color: var(--teal); }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 7rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232,160,32,0.07) 0%, transparent 70%);
}
.page-hero > .container { position: relative; }
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-dim); }

/* ── Page Content ── */
.page-content { padding: 4rem 0; }
.content-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.content-block h3 {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.content-block p, .content-block li {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}
.content-block ul, .content-block ol {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}
.content-block ul { list-style: disc; }
.content-block ol { list-style: decimal; }
.content-block li { margin-bottom: 0.4rem; }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  position: relative;
}
.step-number {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0 auto 1rem;
}
.step-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text); }
.step-card p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* FAQ */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.5rem;
  text-align: left;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--surface2); }
.faq-question.open { background: var(--surface2); color: var(--gold); }
.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 400;
  transition: transform var(--transition);
}
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
}
.faq-answer.open { display: block; }

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem 0;
}
.stat-item {
  background: var(--surface);
  padding: 1.75rem;
  text-align: center;
}
.stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Help center */
.help-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.help-category h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.help-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.help-link {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.help-link:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(0,191,165,0.07);
}

.search-bar {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 2rem;
}
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 0.85rem 1.25rem;
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font-body);
}
.search-bar input::placeholder { color: var(--text-dim); }
.search-bar button {
  background: var(--gold);
  border: none;
  padding: 0 1.25rem;
  color: #0a0a0a;
  font-family: var(--font-head);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.search-bar button:hover { background: var(--gold-light); }

/* Community */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.community-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}
.community-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.community-card .card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.community-card h4 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 0.4rem; }
.community-card p { color: var(--text-muted); font-size: 0.87rem; margin: 0; }

/* Table */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.styled-table th {
  background: var(--surface2);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.styled-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(232,160,32,0.06);
  color: var(--text-muted);
}
.styled-table tr:hover td { background: var(--surface2); }

/* Responsible gaming */
.resource-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  transition: all var(--transition);
}
.resource-card:hover { border-color: var(--teal); }
.resource-icon {
  width: 46px; height: 46px;
  background: rgba(0,191,165,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.resource-card h4 { font-size: 1rem; margin-bottom: 0.3rem; color: var(--text); }
.resource-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 0.5rem; }

/* ── Animations ── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.4); }
}
@keyframes pulse-icon {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(232,160,32,0.4)); }
  50%       { filter: drop-shadow(0 0 28px rgba(232,160,32,0.7)); }
}
@keyframes spin-reel {
  from { transform: translateY(0); }
  to   { transform: translateY(-100%); }
}

.animate-fade-in { animation: fadeIn 0.6s ease both; }
.animate-slide-up { animation: slideUp 0.6s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ── Legal Pages ── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.3rem;
  color: var(--gold);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.legal-content h3 { font-size: 1.05rem; color: var(--text); margin: 1rem 0 0.4rem; }
.legal-content p, .legal-content li { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; }
.legal-content ul, .legal-content ol { padding-left: 1.5rem; margin: 0.5rem 0; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 0.35rem; }
.legal-content a { color: var(--teal); }
.legal-meta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem;
  display: flex;
  gap: 2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.legal-meta span { color: var(--text-dim); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-float { display: none; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8,14,26,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 999;
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 1.3rem; }
  .nav-toggle { display: flex; z-index: 1000; position: relative; }
  .header-badge { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-stats { gap: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .modal-box { padding: 1.75rem 1.25rem; }
}
