:root {
  --purple: #7c3aed;
  --purple-light: #a855f7;
  --purple-mid: #9333ea;
  --purple-dark: #5b21b6;
  --purple-glow: #c084fc;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --gold-dark: #d97706;
  --dark: #07050f;
  --card: #100c1e;
  --card2: #160f2a;
  --card3: #1c1436;
  --green: #16a34a;
  --red: #dc2626;
  --text: #f1f5f9;
  --muted: #6b7280;
  --border: rgba(168, 85, 247, 0.15);
}

* {
  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: #07050f;
}
::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.45);
  border-radius: 3px;
}

#age-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 2, 12, 0.97);
  backdrop-filter: blur(16px);
  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: #0e0a1c;
  border-top: 1px solid rgba(168, 85, 247, 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(7, 5, 15, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
  transition: box-shadow 0.3s;
}
#navbar.scrolled {
  box-shadow: 0 4px 40px rgba(124, 58, 237, 0.2);
  border-bottom-color: rgba(168, 85, 247, 0.25);
}

#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(--purple-glow);
}
.nav-link.active {
  color: var(--purple-light);
}

.hero-bg {
  background:
    radial-gradient(
      ellipse at 60% 0%,
      rgba(109, 40, 217, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 10% 80%,
      rgba(91, 33, 182, 0.12) 0%,
      transparent 50%
    ),
    linear-gradient(160deg, #07050f 0%, #0d0820 50%, #07050f 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 50px,
      rgba(168, 85, 247, 0.025) 50px,
      rgba(168, 85, 247, 0.025) 51px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 50px,
      rgba(168, 85, 247, 0.025) 50px,
      rgba(168, 85, 247, 0.025) 51px
    );
}
.hero-bg::after {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.page-hero {
  background: linear-gradient(135deg, #07050f 0%, #0f0820 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(124, 58, 237, 0.1) 0%,
    transparent 60%
  );
}

.text-purple-gradient {
  background: linear-gradient(135deg, #a855f7, #c084fc, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.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, #7c3aed, #c084fc);
  border-radius: 2px;
  margin: 12px auto 0;
}
.section-divider.left {
  margin: 12px 0 0;
}

.card-glow {
  border: 1px solid rgba(168, 85, 247, 0.16);
  background: linear-gradient(145deg, #100c1e, #160f2a);
  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(168, 85, 247, 0.4);
  box-shadow: 0 8px 40px rgba(124, 58, 237, 0.18);
}

.codere-card {
  border: 2px solid rgba(168, 85, 247, 0.4);
  background: linear-gradient(145deg, #100c1e, #160f2a);
  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, #7c3aed, #c084fc, #a855f7, #7c3aed);
}

.btn-purple {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  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-purple:hover {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.45);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  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-gold:hover {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.45);
  color: #fff;
}

.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, #160f2a, #1c1436);
  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(168, 85, 247, 0.07);
  background: #100c1e;
}
.compare-table tr:nth-child(even) td {
  background: rgba(168, 85, 247, 0.03);
}
.compare-table td.col-featured {
  background: rgba(124, 58, 237, 0.07) !important;
}
.compare-table th.col-featured {
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.25),
    rgba(124, 58, 237, 0.1)
  ) !important;
  color: var(--purple-glow) !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(168, 85, 247, 0.1);
}
.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, #7c3aed, #a855f7);
  color: #fff;
  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(--purple-glow);
  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;
}
.alert-purple {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 16px;
}

footer {
  background: #060410;
}

.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.6);
  transition: filter 0.3s;
}
.logo-footer a:hover img {
  filter: grayscale(0) brightness(1);
}

.footer-bottom {
  background: #030208;
  padding: 16px 0;
  border-top: 1px solid rgba(168, 85, 247, 0.08);
}
.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: #0a0716;
  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(168, 85, 247, 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(--purple-light);
  text-decoration: underline;
}
.prose-dark a:hover {
  color: var(--purple-glow);
}

.info-box {
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(124, 58, 237, 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: #160f2a;
  border: 1px solid rgba(168, 85, 247, 0.15);
  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(168, 85, 247, 0.55);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}
.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(--purple-light);
  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, #7c3aed, #6d28d9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s,
    transform 0.3s;
  border: none;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
#back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(124, 58, 237, 0.55);
}

.vip-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 9999px;
  padding: 6px 14px;
  font-family: "Rajdhani", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c084fc;
}

.purple-glow-line {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(168, 85, 247, 0.4),
    transparent
  );
}

.bg-alt1 {
  background: #0a0716;
}
.bg-alt2 {
  background: linear-gradient(180deg, #07050f 0%, #0d0820 100%);
}
.bg-alt3 {
  background: #0a0716;
}

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