/* spinriver111.com - airy blue river motif */
:root {
  --bg: #f6fbff;
  --bg-soft: #eef6ff;
  --text: #11304a;
  --muted: #4c6a82;
  --accent: #2c7be5;
  --accent-dark: #1e5fb2;
  --uk-blue: #012169;
  --uk-red: #cf142b;
  --card: #ffffff;
  --line: #d7e6f5;
  --success: #1f8a70;
  --warning: #d97900;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(44, 123, 229, 0.08), transparent 45%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1440' height='900' viewBox='0 0 1440 900'><path d='M0 180 Q240 120 480 180 T960 180 T1440 180 V900 H0Z' fill='%23e7f1ff'/><path d='M0 360 Q240 300 480 360 T960 360 T1440 360 V900 H0Z' fill='%23dfeeff' opacity='0.8'/><path d='M0 540 Q240 480 480 540 T960 540 T1440 540 V900 H0Z' fill='%23d6e8ff' opacity='0.6'/><g opacity='0.35' fill='none' stroke='%232c7be5' stroke-width='2'><circle cx='260' cy='240' r='70'/><circle cx='1200' cy='200' r='90'/></g><g opacity='0.25' fill='%23012169'><rect x='520' y='260' width='60' height='90' rx='8'/><rect x='600' y='280' width='60' height='90' rx='8'/></g></svg>");
  background-repeat: no-repeat;
  background-size: cover;
  line-height: 1.6;
}

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

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

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

.topbar {
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #8ec5ff, #2c7be5, #012169);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  animation: badgePulse 6s ease-in-out infinite;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  padding: 6px 8px;
  border-radius: 999px;
}

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

.header-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.badge-age {
  border: 1px solid var(--uk-red);
  color: var(--uk-blue);
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
}

.button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button.secondary {
  background: #ffffff;
  color: var(--accent);
  border: 1px solid var(--line);
}

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

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

.hero-card {
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(18, 54, 86, 0.1);
  border: 1px solid var(--line);
  animation: floatCard 7s ease-in-out infinite;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
}

h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin: 12px 0 16px;
}

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

.section {
  padding: 40px 0;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
}

.section-title p {
  margin: 0;
  color: var(--muted);
  max-width: 520px;
}

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

.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}

.info-card h3 {
  margin-top: 0;
}

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

.casino-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.casino-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #ffffff;
  display: block;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--line);
  object-fit: contain;
  padding: 6px;
}

.casino-meta {
  font-size: 13px;
  color: var(--muted);
}

.casino-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

.casino-tags span {
  background: var(--bg-soft);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.rating-rank {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 12px;
}

.rank-badge {
  background: var(--accent);
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
}

.rank-score {
  color: var(--muted);
  font-weight: 600;
}

.card-warning {
  font-size: 12px;
  color: var(--warning);
}

.comparison-table {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.comparison-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr 140px;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row strong {
  display: block;
}

.cta-link {
  color: var(--accent);
  font-weight: 600;
}

.faq {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

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

.regulator-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 8px;
}

.regulator-logo {
  width: 86px;
  height: 46px;
  border-radius: 12px;
  background: #ffffff;
  display: block;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--line);
  object-fit: contain;
  padding: 6px 8px;
}

.footer {
  background: #0f2236;
  color: #d9e7f5;
  padding: 40px 0;
}

.footer a {
  color: #d9e7f5;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer small {
  color: #b5cbe1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 34, 54, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(44, 123, 229, 0.2);
  }
  50% {
    box-shadow: 0 0 18px rgba(44, 123, 229, 0.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card,
  .brand-mark {
    animation: none;
  }
}

.modal {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  max-width: 520px;
  width: 100%;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(8, 30, 50, 0.2);
}

.modal h3 {
  margin-top: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 360px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(8, 30, 50, 0.2);
  display: none;
  z-index: 90;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 10px;
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

@media (max-width: 860px) {
  .nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    position: absolute;
    right: 4%;
    top: 64px;
  }

  .nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .header-cta {
    display: none;
  }
}
