/* =========================================================
   BetVoxa - Premium Dark Casino Theme
   ========================================================= */

:root {
  --bg: #050505;
  --bg-elevated: #0d0910;
  --purple-900: #1a0b2e;
  --purple-700: #3a1466;
  --purple-500: #6c2bd9;
  --gold: #f2c94c;
  --gold-light: #ffe08a;
  --gold-dark: #b8860b;
  --text-main: #f5f3f7;
  --text-muted: #a89fb3;
  --border-gold: rgba(242, 201, 76, 0.35);
  --card-bg: linear-gradient(160deg, #150a22 0%, #0a0610 100%);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-gold: 0 0 24px rgba(242, 201, 76, 0.15);
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--font-body);
  margin: 0;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 .5em;
  color: #fff;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 70px 0; }
.section-label {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title { font-size: clamp(26px, 4vw, 40px); margin-bottom: 14px; }
.section-subtitle { color: var(--text-muted); max-width: 640px; margin-bottom: 40px; }

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  cursor: pointer;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: #1a1206;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(242,201,76,.35); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-gold);
  color: var(--gold-light);
}
.btn-outline:hover { background: rgba(242,201,76,0.08); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 12px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(5,5,5,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(242,201,76,0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
}
.logo span { color: var(--gold); }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  opacity: .85;
  transition: opacity .2s ease, color .2s ease;
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover, .main-nav a.active { opacity: 1; color: var(--gold-light); }

.header-right { display: flex; align-items: center; gap: 14px; }

.selector {
  position: relative;
}
.selector-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-gold);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.selector-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  min-width: 170px;
  padding: 8px;
  display: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.selector.open .selector-dropdown { display: block; }
.selector-dropdown a, .selector-dropdown button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-main);
  text-align: left;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
}
.selector-dropdown a:hover, .selector-dropdown button:hover { background: rgba(242,201,76,0.1); color: var(--gold-light); }

.hamburger { display: none; background: none; border: none; cursor: pointer; }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin: 5px 0;
  transition: .3s;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 60px;
  background:
    radial-gradient(circle at 80% 20%, rgba(108,43,217,0.35), transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(242,201,76,0.08), transparent 45%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  background: linear-gradient(135deg, #fff, var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { color: var(--text-muted); font-size: 17px; max-width: 480px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  height: 420px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual svg { width: 90%; height: 90%; }

/* ---------------------------------------------------------
   Trust bar
   --------------------------------------------------------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-item { text-align: center; }
.trust-item .icon { font-size: 30px; color: var(--gold); margin-bottom: 10px; }
.trust-item strong { display: block; font-size: 15px; }

/* ---------------------------------------------------------
   Category cards
   --------------------------------------------------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  background: var(--card-bg);
  border: 1px solid rgba(242,201,76,0.18);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}
.category-card .icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-900));
  border: 1px solid var(--border-gold);
  font-size: 24px;
  margin-bottom: 18px;
}
.category-card h3 { font-size: 19px; margin-bottom: 8px; }
.category-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 18px; }

/* ---------------------------------------------------------
   Offer cards
   --------------------------------------------------------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.offer-card {
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.offer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-gold); }
.offer-card .badges { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.badge-geo {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--gold-light); text-transform: uppercase;
}
.badge-category {
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 999px;
  padding: 3px 10px;
}
.offer-logo {
  width: 100%; height: 90px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--purple-700), #0a0610);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 18px;
  color: var(--gold-light);
  margin-bottom: 14px;
  overflow: hidden;
}
.offer-logo img { width: 100%; height: 100%; object-fit: cover; }
.offer-rating { color: var(--gold); font-size: 14px; margin-bottom: 6px; }
.offer-rating .num { color: var(--text-muted); font-size: 12px; margin-left: 4px; }
.offer-card h3 { font-size: 17px; margin-bottom: 8px; }
.offer-card .desc { color: var(--text-muted); font-size: 13px; margin-bottom: 14px; flex-grow: 1; }
.offer-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.offer-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .3px;
  color: var(--purple-500);
  background: rgba(108,43,217,0.12);
  border: 1px solid rgba(108,43,217,0.3);
  padding: 4px 9px; border-radius: 999px;
  text-transform: uppercase;
}
.offer-card .terms { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 10px; }

/* ---------------------------------------------------------
   Grids: responsive columns
   --------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */
.faq-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  background: rgba(255,255,255,0.02);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 22px;
  color: var(--text-muted);
  font-size: 14px;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 22px 18px; }
.faq-item.open .faq-question { color: var(--gold-light); }

/* ---------------------------------------------------------
   Promo banner
   --------------------------------------------------------- */
.promo-banner {
  background: linear-gradient(120deg, var(--purple-900), var(--purple-700));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

/* ---------------------------------------------------------
   Blog cards
   --------------------------------------------------------- */
.blog-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.blog-card:hover { transform: translateY(-5px); border-color: var(--border-gold); }
.blog-card .thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--purple-700), #0a0610);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-weight: 700;
}
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.blog-card h3 { font-size: 17px; margin-bottom: 8px; }
.blog-card p { color: var(--text-muted); font-size: 13.5px; }

/* ---------------------------------------------------------
   Responsible gambling notice
   --------------------------------------------------------- */
.rg-notice {
  background: rgba(242,201,76,0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
.rg-notice strong { color: var(--gold-light); }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid rgba(242,201,76,0.15);
  padding: 60px 0 30px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-col h4 { font-size: 14px; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 12.5px;
}
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  color: var(--gold-light);
}

/* ---------------------------------------------------------
   Page header (used on inner pages)
   --------------------------------------------------------- */
.page-header {
  padding: 60px 0 30px;
  background: radial-gradient(circle at 50% 0%, rgba(108,43,217,0.25), transparent 60%);
  text-align: center;
}
.filter-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
  align-items: center;
}
.filter-bar input, .filter-bar select {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-main);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
}

/* ---------------------------------------------------------
   Responsive breakpoints
   --------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 300px; order: -1; }
  .offer-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .category-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: block; }
  .header-right .selector-btn span.label { display: none; }
}

@media (max-width: 576px) {
  .offer-grid, .grid-4, .grid-3, .grid-2, .category-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .promo-banner { padding: 30px; text-align: center; justify-content: center; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0;
  background: rgba(5,5,5,0.98);
  z-index: 1000;
  display: none;
  flex-direction: column;
  padding: 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav-close { align-self: flex-end; background: none; border: none; color: var(--gold); font-size: 28px; cursor: pointer; }
