:root {
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --gold-dark: #d97706;
  --dark: #0a0e1a;
  --card: #111827;
  --card2: #1a2235;
  --green: #16a34a;
  --red: #dc2626;
  --text: #f1f5f9;
  --muted: #6b7280;
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0a0e1a;
}
::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.4);
  border-radius: 3px;
}

#age-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s;
}
#age-modal.hidden {
  display: none;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #0f172a;
  border-top: 1px solid rgba(245, 158, 11, 0.3);
  transform: translateY(0);
  transition: transform 0.4s ease;
}
#cookie-banner.hidden {
  transform: translateY(110%);
  pointer-events: none;
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10, 14, 26, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.12);
  transition: box-shadow 0.3s;
}
#navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
#mobile-menu.open {
  max-height: 520px;
}

.nav-link {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #94a3b8;
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}
.nav-link:hover {
  color: var(--gold);
}
.nav-link.active {
  color: var(--gold);
}

.hero-bg {
  background: linear-gradient(135deg, #0a0e1a 0%, #0d1b2a 40%, #0a0e1a 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 70% 50%,
      rgba(245, 158, 11, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 20% 80%,
      rgba(30, 58, 138, 0.15) 0%,
      transparent 50%
    );
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(245, 158, 11, 0.025) 40px,
      rgba(245, 158, 11, 0.025) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(245, 158, 11, 0.025) 40px,
      rgba(245, 158, 11, 0.025) 41px
    );
}

.page-hero {
  background: linear-gradient(135deg, #0a0e1a 0%, #0d1b2a 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(245, 158, 11, 0.06) 0%,
    transparent 60%
  );
}

.text-gold-gradient {
  background: linear-gradient(135deg, #f59e0b, #fde68a, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-family: "Playfair Display", serif;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #fde68a);
  border-radius: 2px;
  margin: 12px auto 0;
}
.section-divider.left {
  margin: 12px 0 0;
}

.card-glow {
  border: 1px solid rgba(245, 158, 11, 0.18);
  background: linear-gradient(145deg, #111827, #1a2235);
  transition:
    transform 0.3s ease,
    border-color 0.3s,
    box-shadow 0.3s;
  border-radius: 16px;
}
.card-glow:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 8px 40px rgba(245, 158, 11, 0.1);
}

.codere-card {
  border: 2px solid rgba(245, 158, 11, 0.4);
  background: linear-gradient(145deg, #111827, #1a2235);
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.codere-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #fde68a, #f59e0b);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 700;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 12px;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
  color: #000;
}

.btn-green {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  font-weight: 700;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 12px;
}
.btn-green:hover {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
  color: #fff;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
}
.compare-table {
  min-width: 600px;
  width: 100%;
  border-collapse: collapse;
}
.compare-table th {
  background: linear-gradient(135deg, #1a2235, #1e2d45);
  padding: 14px 16px;
  font-family: "Rajdhani", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
}
.compare-table td {
  padding: 14px 16px;
  font-size: 13px;
  color: #d1d5db;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: #111827;
}
.compare-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}
.compare-table .col-featured td,
.compare-table td.col-featured {
  background: rgba(245, 158, 11, 0.05) !important;
}
.compare-table th.col-featured {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.2),
    rgba(245, 158, 11, 0.08)
  ) !important;
  color: var(--gold) !important;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer.open {
  max-height: 400px;
}
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.faq-icon {
  transition: transform 0.3s;
}

.guide-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.guide-body.open {
  max-height: 600px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.badge-recommended {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Rajdhani", sans-serif;
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
}

.alert-red {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 16px;
}
.alert-green {
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 16px;
}

footer {
  background: #080c14;
}

.logo-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
}
.logo-footer img {
  height: 44px;
  width: auto;
  filter: grayscale(1) brightness(0.65);
  transition: filter 0.3s;
}
.logo-footer a:hover img {
  filter: grayscale(0) brightness(1);
}

.footer-bottom {
  background: #020408;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  padding: 0 16px;
}

.page-content {
  background: #0d1117;
  min-height: 70vh;
  padding: 60px 0;
}

.prose-dark h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: #fff;
  margin: 2rem 0 1rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}
.prose-dark h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 1.5rem 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.prose-dark p {
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.prose-dark ul,
.prose-dark ol {
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  padding-left: 1.4rem;
}
.prose-dark li {
  margin-bottom: 0.35rem;
}
.prose-dark strong {
  color: #f1f5f9;
}
.prose-dark a {
  color: var(--gold);
  text-decoration: underline;
}
.prose-dark a:hover {
  color: var(--gold-light);
}

.info-box {
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 1.2rem 0;
}
.info-box.red {
  background: rgba(220, 38, 38, 0.07);
  border-color: rgba(220, 38, 38, 0.2);
}
.info-box.green {
  background: rgba(22, 163, 74, 0.07);
  border-color: rgba(22, 163, 74, 0.2);
}

.form-input {
  width: 100%;
  background: #1a2235;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
  color: #f1f5f9;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.08);
}
.form-input::placeholder {
  color: #4b5563;
}
.form-label {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-bottom: 6px;
}
.form-error {
  display: none;
  color: #f87171;
  font-size: 12px;
  margin-top: 4px;
}
.form-success {
  display: none;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: 10px;
  padding: 16px;
  color: #86efac;
  font-size: 14px;
  margin-top: 16px;
  text-align: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span {
  color: #374151;
}

#back-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 900;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s,
    transform 0.3s;
  border: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
#back-to-top:hover {
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .compare-table th,
  .compare-table td {
    padding: 10px 12px;
    font-size: 12px;
  }
  .section-title {
    font-size: 2rem !important;
  }
}
