/* KingJ3ackpot.com premium emerald/gold palette */
:root {
  --bg: #070a0a;
  --bg-soft: #0d1414;
  --card: #0f1b19;
  --card-2: #132222;
  --emerald: #2fe5a7;
  --emerald-dark: #1aa978;
  --gold: #f5c46b;
  --gold-soft: #d6a24f;
  --text: #e9f2ef;
  --muted: #9bb2ab;
  --line: #1e2e2b;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' viewBox='0 0 1400 900'%3E%3Cdefs%3E%3ClinearGradient id='g1' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%230f1f1c' offset='0'/%3E%3Cstop stop-color='%23070a0a' offset='1'/%3E%3C/linearGradient%3E%3CradialGradient id='glow' cx='0.72' cy='0.18' r='0.5'%3E%3Cstop stop-color='%232fe5a7' stop-opacity='0.42' offset='0'/%3E%3Cstop stop-color='%23070a0a' stop-opacity='0' offset='1'/%3E%3C/radialGradient%3E%3CradialGradient id='gold' cx='0.22' cy='0.82' r='0.55'%3E%3Cstop stop-color='%23f5c46b' stop-opacity='0.3' offset='0'/%3E%3Cstop stop-color='%23070a0a' stop-opacity='0' offset='1'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='1400' height='900' fill='url(%23g1)'/%3E%3Ccircle cx='980' cy='180' r='300' fill='url(%23glow)'/%3E%3Ccircle cx='260' cy='700' r='340' fill='url(%23gold)'/%3E%3Cg opacity='0.15'%3E%3Cpath d='M210 140 L310 210 L280 320 L160 240 Z' fill='%23f5c46b'/%3E%3Cpath d='M1030 600 L1180 690 L1110 820 L960 730 Z' fill='%232fe5a7'/%3E%3Cpath d='M640 280 L700 210 L760 280 L730 360 L670 360 Z' fill='%231e2e2b'/%3E%3Crect x='560' y='390' width='260' height='150' rx='18' fill='%23121c1a'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(
      120deg,
      rgba(7, 10, 10, 0.9),
      rgba(7, 10, 10, 0.7)
    ),
    linear-gradient(140deg, rgba(24, 52, 120, 0.08), transparent 45%),
    linear-gradient(320deg, rgba(191, 28, 51, 0.08), transparent 45%);
  background-size: 140% 140%;
  animation: drift 24s ease-in-out infinite;
}

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

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

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

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.topbar {
  background: rgba(10, 17, 16, 0.8);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

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

.badge-18 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--gold);
}

.badge-18 span {
  border: 1px solid var(--gold);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 10, 10, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

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

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--emerald), var(--gold));
  display: grid;
  place-items: center;
  color: #0b1411;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(46, 229, 167, 0.3);
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
}

.hero {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
}

.hero-card {
  background: linear-gradient(145deg, rgba(21, 34, 32, 0.85), rgba(10, 17, 16, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 196, 107, 0.45), transparent 60%);
}

.hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin: 0 0 16px;
}

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

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

.btn {
  border: 1px solid transparent;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(145deg, var(--emerald), var(--gold));
  color: #0b1411;
}

.btn-outline {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.hero-stack {
  display: grid;
  gap: 16px;
}

.stat-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(12, 21, 19, 0.85);
  border: 1px solid var(--line);
}

.stat-card strong {
  font-size: 18px;
  display: block;
}

.section {
  padding: 56px 0;
}

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

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

.tagline {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 24px;
}

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

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

.panel {
  background: rgba(15, 27, 25, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}

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

.casino-card {
  background: rgba(12, 21, 19, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: grid;
  gap: 12px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.casino-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-pill {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(47, 229, 167, 0.25), rgba(245, 196, 107, 0.3));
  border: 1px solid var(--line);
  font-weight: 700;
}

.logo-img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: contain;
  padding: 6px;
  background: rgba(7, 10, 10, 0.65);
  border: 1px solid var(--line);
}

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

.trend-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(15, 27, 25, 0.7);
}

.trend-score__top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trend-score__value {
  font-size: 1.05rem;
  font-weight: 700;
}

.trend-score__label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trend-score__arrow {
  font-size: 0.9rem;
  font-weight: 700;
}

.trend-score__arrow.up {
  color: var(--emerald);
}

.trend-score__arrow.down {
  color: var(--gold);
}

.casino-card .cta-row {
  justify-content: space-between;
  align-items: center;
}

.responsible {
  font-size: 12px;
  color: var(--muted);
}

.comparison {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.6fr;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 21, 19, 0.8);
}

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

.comparison-row strong {
  display: block;
  margin-bottom: 4px;
}

.comparison-row span {
  color: var(--muted);
  font-size: 13px;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-item {
  border-left: 2px solid var(--emerald);
  padding-left: 16px;
}

.faq {
  display: grid;
  gap: 16px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  background: rgba(10, 17, 16, 0.8);
}

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

.regulators {
  display: grid;
  gap: 16px;
}

.reg-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.reg-logo {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(12, 21, 19, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reg-logo img {
  width: min(150px, 100%);
  max-height: 36px;
  object-fit: contain;
}

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: rgba(8, 12, 12, 0.92);
}

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

.footer-grid p,
.footer-grid li {
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}

.cookie-banner,
.age-gate {
  position: fixed;
  left: 20px;
  right: 20px;
  z-index: 40;
  background: rgba(10, 17, 16, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: none;
  box-shadow: var(--shadow);
}

.cookie-banner.active {
  display: block;
  bottom: 20px;
}

.age-gate {
  inset: 0;
  margin: auto;
  max-width: 520px;
  max-height: 420px;
  height: fit-content;
  display: none;
  text-align: center;
}

.age-gate.active {
  display: block;
}

.age-gate .cta-row {
  justify-content: center;
  margin-top: 16px;
}

.page-hero {
  padding: 60px 0 32px;
}

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

.page-content {
  padding-bottom: 60px;
}

.contact-card {
  display: grid;
  gap: 10px;
  background: rgba(12, 21, 19, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}

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

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

@media (max-width: 720px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

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

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