:root {
  --clr-bg-primary: #0b1120;
  --clr-bg-secondary: #111827;
  --clr-bg-card: #1a2332;
  --clr-bg-card-hover: #1f2b3d;
  --clr-accent: #10b981;
  --clr-accent-hover: #059669;
  --clr-accent-light: rgba(16, 185, 129, 0.12);
  --clr-text-main: #e2e8f0;
  --clr-text-secondary: #94a3b8;
  --clr-text-muted: #64748b;
  --clr-border: #1e293b;
  --clr-border-light: #334155;
  --clr-gold: #f59e0b;
  --clr-gold-light: rgba(245, 158, 11, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 8px 32px rgba(16, 185, 129, 0.15);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--clr-bg-primary);
  color: var(--clr-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}

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

/* ========== HEADER ========== */
.site-topbar {
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 0;
}

.site-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active-link {
  color: var(--clr-accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-accent);
  transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active-link::after {
  width: 100%;
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clr-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.topbar-cta:hover {
  background: var(--clr-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text-main);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ========== HERO ========== */
.hero-block {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-block::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-block::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 620px;
}

.hero-tag {
  display: inline-block;
  background: var(--clr-accent-light);
  color: var(--clr-accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-headline .highlight-word {
  background: linear-gradient(135deg, var(--clr-accent), #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clr-accent);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-main:hover {
  background: var(--clr-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--clr-text-main);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-border-light);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-ghost:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: var(--clr-accent-light);
}

.hero-metrics {
  display: flex;
  gap: 0;
  margin-top: 0;
}

.metric-tile {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all var(--transition-base);
}

.metric-tile:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.metric-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-accent);
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

/* ========== SECTION COMMON ========== */
.content-section {
  padding: 80px 0;
}

.section-divider {
  border-bottom: 1px solid var(--clr-border);
}

.section-label {
  display: inline-block;
  background: var(--clr-accent-light);
  color: var(--clr-accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-secondary);
  max-width: 560px;
}

.section-subtitle.centered-text {
  margin-left: auto;
  margin-right: auto;
}

/* ========== FEATURED BOOKMAKER ========== */
.spotlight-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
}

.spotlight-card:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-hover);
}

.spotlight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.spotlight-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.spotlight-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.spotlight-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-name {
  font-size: 1.3rem;
  font-weight: 700;
}

.spotlight-stars {
  display: flex;
  gap: 2px;
  margin-top: 4px;
}

.spotlight-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--clr-gold);
}

.spotlight-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--clr-accent);
}

.rating-out {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.spotlight-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.perk-item {
  background: var(--clr-bg-secondary);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.perk-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.perk-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.perk-text {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
}

.spotlight-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========== FEATURES GRID ========== */
.feature-tile {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition-base);
  height: 100%;
}

.feature-tile:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--clr-accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.feature-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--clr-text-secondary);
  line-height: 1.6;
}

/* ========== STEPS ========== */
.steps-area {
  background: var(--clr-bg-secondary);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.step-box {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--clr-accent), #34d399);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.step-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--clr-text-secondary);
  max-width: 280px;
  margin: 0 auto;
}

.step-connector {
  display: none;
}

@media (min-width: 768px) {
  .step-connector {
    display: block;
    position: absolute;
    top: 60px;
    right: -40px;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-accent), transparent);
  }
}

/* ========== GUIDES / BLOG ========== */
.guide-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.guide-card:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.guide-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--clr-bg-secondary), var(--clr-bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--clr-border);
}

.guide-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-category {
  display: inline-block;
  background: var(--clr-accent-light);
  color: var(--clr-accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.guide-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.guide-excerpt {
  font-size: 0.85rem;
  color: var(--clr-text-secondary);
  line-height: 1.6;
  flex: 1;
}

.guide-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clr-accent);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 16px;
}

.guide-link:hover {
  color: var(--clr-accent-hover);
}

/* ========== RESPONSIBLE GAMBLING ========== */
.rg-banner {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}

.rg-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.rg-text {
  color: var(--clr-text-secondary);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto 28px;
}

.rg-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.rg-logo-item {
  background: var(--clr-bg-secondary);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rg-logo-item:hover {
  border-color: var(--clr-accent);
}

.rg-logo-item img {
  height: 28px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition-base);
  filter: brightness(0) invert(0.6);
}

.rg-logo-item:hover img {
  opacity: 1;
  filter: brightness(0) invert(0.85);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--clr-bg-secondary);
  border-top: 1px solid var(--clr-border);
  padding: 60px 0 0;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-brand img {
  height: 32px;
  width: auto;
}

.footer-about {
  font-size: 0.88rem;
  color: var(--clr-text-secondary);
  line-height: 1.7;
  max-width: 300px;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--clr-text-main);
}

.footer-list {
  list-style: none;
  padding: 0;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a {
  font-size: 0.88rem;
  color: var(--clr-text-secondary);
}

.footer-list a:hover {
  color: var(--clr-accent);
}

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  max-width: 800px;
  margin: 8px auto 0;
  line-height: 1.6;
}

/* ========== COOKIE POPUP ========== */
.cookie-overlay {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 9999;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  max-width: 680px;
  width: calc(100% - 32px);
}

.cookie-overlay.hidden-element {
  display: none;
}

.cookie-msg {
  font-size: 0.88rem;
  color: var(--clr-text-secondary);
  flex: 1;
}

.cookie-msg a {
  color: var(--clr-accent);
  text-decoration: underline;
}

.cookie-accept {
  background: var(--clr-accent);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-base);
}

.cookie-accept:hover {
  background: var(--clr-accent-hover);
}

/* ========== AGE GATE ========== */
.agegate-wrap {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agegate-wrap.hidden-element {
  display: none;
}

.agegate-box {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  max-width: 440px;
  width: calc(100% - 32px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.agegate-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.agegate-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.agegate-text {
  font-size: 0.95rem;
  color: var(--clr-text-secondary);
  margin-bottom: 28px;
}

.agegate-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.agegate-yes {
  background: var(--clr-accent);
  color: #fff;
  border: none;
  padding: 12px 36px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.agegate-yes:hover {
  background: var(--clr-accent-hover);
}

.agegate-no {
  background: transparent;
  color: var(--clr-text-secondary);
  border: 1px solid var(--clr-border-light);
  padding: 12px 36px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.agegate-no:hover {
  border-color: #ef4444;
  color: #ef4444;
}

/* ========== LEGAL PAGES ========== */
.legal-page {
  padding: 60px 0 80px;
}

.legal-page h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.legal-page .legal-updated {
  color: var(--clr-text-muted);
  font-size: 0.88rem;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--clr-accent);
}

.legal-page p,
.legal-page ul,
.legal-page ol {
  color: var(--clr-text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-page ul,
.legal-page ol {
  padding-left: 24px;
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-page a {
  color: var(--clr-accent);
}

.legal-page a:hover {
  text-decoration: underline;
}

/* ========== ABOUT PAGE ========== */
.about-hero {
  padding: 80px 0 60px;
  text-align: center;
}

.about-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-hero p {
  font-size: 1.1rem;
  color: var(--clr-text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.about-values {
  padding: 60px 0;
}

.value-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 32px;
  height: 100%;
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-hover);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.value-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-text {
  font-size: 0.9rem;
  color: var(--clr-text-secondary);
  line-height: 1.7;
}

/* ========== MOBILE NAV ========== */
.mobile-nav-panel {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.97);
  z-index: 10001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

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

.mobile-nav-panel a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--clr-text-main);
  padding: 12px 0;
}

.mobile-nav-panel a:hover {
  color: var(--clr-accent);
}

.mobile-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--clr-text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
  .nav-links,
  .topbar-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-headline {
    font-size: 2.5rem;
  }

  .spotlight-perks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hero-block {
    padding: 60px 0 40px;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-main,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .rg-banner {
    padding: 32px 20px;
  }

  .cookie-overlay {
    flex-direction: column;
    text-align: center;
  }

  .agegate-box {
    padding: 32px 24px;
  }

  .step-connector {
    display: none;
  }
}

@media (max-width: 575px) {
  .hero-headline {
    font-size: 1.75rem;
  }

  .metric-tile {
    padding: 16px;
  }

  .metric-value {
    font-size: 1.5rem;
  }
}
