* {
  box-sizing: border-box;
}

:root {
  --bg: #0f1226;
  --bg-2: #171a35;
  --card: #1f2448;
  --card-2: #222953;
  --text: #e9ecf4;
  --muted: #aab1cf;
  --accent: #ff7a7a;
  --accent-2: #5ce1b9;
  --accent-3: #8ea4ff;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 60px rgba(8, 10, 24, 0.45);
  --radius: 18px;
  --radius-sm: 12px;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 15% 15%, rgba(142, 164, 255, 0.25), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(92, 225, 185, 0.18), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(255, 122, 122, 0.14), transparent 50%);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='760' viewBox='0 0 1000 760'%3E%3Cdefs%3E%3CradialGradient id='g1' cx='20%25' cy='15%25' r='55%25'%3E%3Cstop offset='0%25' stop-color='%238ea4ff' stop-opacity='0.22'/%3E%3Cstop offset='70%25' stop-color='%230f1226' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='g2' cx='82%25' cy='22%25' r='50%25'%3E%3Cstop offset='0%25' stop-color='%235ce1b9' stop-opacity='0.2'/%3E%3Cstop offset='72%25' stop-color='%230f1226' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='1000' height='760' fill='%230f1226'/%3E%3Ccircle cx='180' cy='140' r='160' fill='url(%23g1)'/%3E%3Ccircle cx='820' cy='180' r='190' fill='url(%23g2)'/%3E%3Cpath d='M0 560 C200 520 320 640 520 600 C720 560 860 520 1000 560 L1000 760 L0 760 Z' fill='%23171a35' fill-opacity='0.6'/%3E%3C/svg%3E");
  opacity: 0.7;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
      130deg,
      rgba(26, 58, 126, 0.08),
      transparent 45%
    ),
    linear-gradient(320deg, rgba(190, 25, 45, 0.08), transparent 45%);
  background-size: 140% 140%;
  pointer-events: none;
  z-index: -1;
  animation: drift 22s ease-in-out infinite;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-10px, -14px, 0);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--accent-2);
  color: #081016;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip-link:focus {
  left: 12px;
  z-index: 10;
}

.top-bar {
  background: rgba(34, 41, 83, 0.85);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(92, 225, 185, 0.16);
  border: 1px solid rgba(92, 225, 185, 0.4);
  font-weight: 600;
}

.site-header {
  padding: 22px 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(15, 18, 38, 0.85);
  z-index: 20;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus {
  color: var(--text);
}

.hero {
  padding: 64px 0 40px;
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.hero-card {
  background: linear-gradient(135deg, rgba(142, 164, 255, 0.18), rgba(255, 122, 122, 0.08));
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0 0 12px;
}

.hero p {
  color: var(--muted);
  margin: 0 0 16px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #120f16;
  font-weight: 600;
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.section {
  padding: 48px 0;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--muted);
  margin: 0 0 28px;
}

.pill-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.pill {
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(31, 36, 72, 0.55);
}

.pill strong {
  display: block;
  margin-bottom: 6px;
}

.casino-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.casino-card {
  background: linear-gradient(160deg, rgba(31, 36, 72, 0.9), rgba(34, 41, 83, 0.6));
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 320px;
}

.casino-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(92, 225, 185, 0.2);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--accent-2);
  border: 1px solid rgba(92, 225, 185, 0.35);
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(15, 18, 38, 0.7);
  border: 1px solid rgba(142, 164, 255, 0.35);
  padding: 6px;
}

.casino-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.rating-segment {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.rating-label {
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.7rem;
}

.segment-bar {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
}

.segment-bar span {
  height: 10px;
  border-radius: 4px;
  background: rgba(142, 164, 255, 0.18);
  border: 1px solid rgba(142, 164, 255, 0.35);
}

.segment-bar.is-7 span:nth-child(-n + 7),
.segment-bar.is-8 span:nth-child(-n + 8),
.segment-bar.is-9 span:nth-child(-n + 9),
.segment-bar.is-10 span:nth-child(-n + 10) {
  background: var(--accent-2);
  border-color: rgba(92, 225, 185, 0.7);
}

.rating-value {
  font-weight: 600;
  color: var(--text);
}

.card-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-footer span {
  font-size: 0.8rem;
  color: var(--muted);
}

.comparison {
  display: grid;
  gap: 14px;
}

.comparison-row {
  display: grid;
  gap: 16px;
  grid-template-columns: 160px 1.3fr 1fr 140px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(23, 26, 53, 0.7);
}

.comparison-row .button {
  justify-content: center;
}

.info-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.info-card {
  background: rgba(34, 41, 83, 0.55);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius-sm);
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  background: rgba(34, 41, 83, 0.45);
}

.faq details + details {
  margin-top: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.regulators {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.regulator-card {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 18px;
  background: rgba(31, 36, 72, 0.6);
}

.regulator-logo {
  width: min(160px, 100%);
  max-height: 38px;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: rgba(15, 18, 38, 0.9);
}

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-grid strong {
  color: var(--text);
}

.legal-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.tag-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
}

.cookie-banner,
.age-gate {
  position: fixed;
  inset: auto 20px 20px auto;
  max-width: 420px;
  background: #151935;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 100;
}

.cookie-banner.visible {
  display: block;
}

.age-gate {
  inset: 0;
  max-width: none;
  width: 100%;
  height: 100%;
  display: none;
  place-items: center;
  background: rgba(10, 12, 25, 0.92);
}

.age-gate.visible {
  display: grid;
}

.age-panel {
  width: min(520px, 92vw);
  background: #161a38;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  text-align: center;
}

.age-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.no-scroll {
  overflow: hidden;
}

.page-hero {
  padding: 52px 0 24px;
}

.page-hero h1 {
  margin: 0 0 12px;
}

.content-block {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(31, 36, 72, 0.65);
}

.content-block + .content-block {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .comparison-row {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: relative;
  }
}

.bg {
  background-image: url("../../../assets/backgrounds/bg.png");
  background-size: cover;
  background-position: center;
}
