:root {
  --bg: #140e24;
  --bg-soft: #1b1430;
  --card: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f2ff;
  --muted: rgba(247, 242, 255, 0.72);
  --accent: #f5a524;
  --accent-2: #ffcd74;
  --accent-3: #c77dff;
  --shadow: 0 24px 60px rgba(8, 6, 18, 0.5);
  --radius: 16px;
  --radius-lg: 26px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 10%, #2d1d4f 0%, #140e24 55%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.07;
  background: repeating-linear-gradient(
    135deg,
    rgba(220, 20, 60, 0.35) 0 10px,
    rgba(30, 64, 175, 0.35) 10px 22px,
    transparent 22px 46px
  );
}

h1,
h2,
h3,
.brand__name {
  font-family: "Times New Roman", Georgia, serif;
  letter-spacing: 0.2px;
}

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

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

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1800' height='1200' viewBox='0 0 1800 1200'%3E%3Cdefs%3E%3CradialGradient id='g1' cx='18%25' cy='18%25' r='62%25'%3E%3Cstop offset='0' stop-color='%23f5a524' stop-opacity='0.24'/%3E%3Cstop offset='1' stop-color='%23f5a524' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='g2' cx='82%25' cy='24%25' r='60%25'%3E%3Cstop offset='0' stop-color='%23c77dff' stop-opacity='0.22'/%3E%3Cstop offset='1' stop-color='%23c77dff' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='1800' height='1200' fill='%23140e24'/%3E%3Crect width='1800' height='1200' fill='url(%23g1)'/%3E%3Crect width='1800' height='1200' fill='url(%23g2)'/%3E%3Ccircle cx='300' cy='860' r='90' fill='none' stroke='%23ffcd74' stroke-opacity='0.22' stroke-width='12'/%3E%3Ccircle cx='300' cy='860' r='46' fill='none' stroke='%23f5a524' stroke-opacity='0.3' stroke-width='8'/%3E%3Crect x='1300' y='170' width='150' height='210' rx='18' fill='%23c77dff' fill-opacity='0.1' stroke='%23c77dff' stroke-opacity='0.26'/%3E%3Crect x='1340' y='210' width='150' height='210' rx='18' fill='%23f5a524' fill-opacity='0.08' stroke='%23f5a524' stroke-opacity='0.22'/%3E%3Ccircle cx='1500' cy='860' r='120' fill='none' stroke='%23ffcd74' stroke-opacity='0.18' stroke-width='8'/%3E%3Cpath d='M1500 740 L1500 980 M1380 860 L1620 860 M1415 785 L1585 955 M1415 955 L1585 785' stroke='%23c77dff' stroke-opacity='0.18' stroke-width='4'/%3E%3Cpath d='M-200 900 C 280 640, 680 720, 1180 520 S 2000 300, 2300 150' fill='none' stroke='%23ffcd74' stroke-opacity='0.18' stroke-width='10'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  opacity: 0.95;
  filter: blur(6px);
  transform: scale(1.02);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 14, 0.42);
  pointer-events: none;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(20, 14, 36, 0.95), rgba(20, 14, 36, 0.75));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 14px 0;
}

@media (min-width: 920px) {
  .header__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}

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

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(255, 205, 116, 0.9), rgba(199, 125, 255, 0.7));
  color: #1b102f;
  animation: accentGlow 5s ease-in-out infinite;
}

.brand__name {
  font-weight: 700;
  font-size: 18px;
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: 160ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  animation: pulse18 2.8s ease-in-out infinite;
}

.age-badge span {
  font-weight: 800;
}

.age-badge--footer {
  margin-top: 12px;
  display: inline-flex;
}

.hero {
  padding: 56px 0 24px;
}

.hero__grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 12px;
  color: var(--muted);
}

h1 {
  margin: 10px 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
}

.lead {
  color: var(--muted);
  line-height: 1.65;
  max-width: 70ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  transition: 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--primary {
  background: linear-gradient(135deg, rgba(245, 165, 36, 0.4), rgba(199, 125, 255, 0.35));
  border-color: rgba(245, 165, 36, 0.65);
  color: #1c102f;
}

.btn--ghost {
  background: transparent;
}

.note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: var(--muted);
  line-height: 1.5;
}

.hero__panel {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero__panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(8, 6, 18, 0.45);
}

.hero__list {
  margin: 12px 0 16px;
  padding-left: 18px;
  color: var(--muted);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.hero__stats div {
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.2);
}

.hero__stats strong {
  display: block;
  font-size: 20px;
}

.section {
  padding: 34px 0;
}

.section--alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.section__head p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 75ch;
}

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

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.panel {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--card);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(8, 6, 18, 0.4);
}

.panel h3 {
  margin-top: 0;
}

.casino-grid {
  display: grid;
  gap: 14px;
}

.casino-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--card);
  display: grid;
  gap: 14px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.casino-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(8, 6, 18, 0.42);
}

@media (min-width: 920px) {
  .casino-card {
    grid-template-columns: 64px 1fr auto;
    align-items: start;
  }
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #1a0f2f;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.logo--green {
  background: linear-gradient(135deg, #6ddf87, #f6ffb5);
}

.logo--rose {
  background: linear-gradient(135deg, #ff9aa2, #ffd6e0);
}

.logo--sun {
  background: linear-gradient(135deg, #ffd26f, #ff9f43);
}

.logo--ink {
  background: linear-gradient(135deg, #8ec5fc, #e0c3fc);
}

.logo--violet {
  background: linear-gradient(135deg, #c77dff, #f3c4ff);
}

.logo--sky {
  background: linear-gradient(135deg, #83f9ff, #c9f4ff);
}

.logo--gold {
  background: linear-gradient(135deg, #ffcc70, #ffe7a0);
}

.logo--mint {
  background: linear-gradient(135deg, #9bf6ff, #caffbf);
}

.casino-card__desc {
  margin: 8px 0 10px;
  color: var(--muted);
  line-height: 1.55;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.card__cta {
  display: grid;
  gap: 10px;
  align-content: start;
}

.rating--stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}

.rating--stars .star {
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.rating--stars .star.is-filled {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.rating--stars .rating__text {
  margin-left: 6px;
  font-weight: 700;
  color: var(--text);
}

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

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  background: rgba(0, 0, 0, 0.2);
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  color: var(--muted);
}

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

@media (min-width: 920px) {
  .regulators {
    grid-template-columns: repeat(2, 1fr);
  }
}

.reg-card {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--card);
  display: grid;
  gap: 12px;
  align-items: center;
  grid-template-columns: auto 1fr;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.reg-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(8, 6, 18, 0.35);
}

.reg-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.reg-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

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

details {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--card);
  padding: 12px 16px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  color: var(--muted);
  line-height: 1.6;
}

.page {
  padding: 36px 0;
}

.prose {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--card);
  line-height: 1.7;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0 32px;
  background: rgba(20, 14, 36, 0.7);
}

.footer__grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .footer__grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__links a {
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
}

.fineprint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.modal,
.cookie {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.modal__panel {
  position: relative;
  width: min(720px, 92%);
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(20, 14, 36, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
}

.modal__actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie {
  inset: auto 16px 16px 16px;
  z-index: 70;
}

.cookie[aria-hidden="false"] {
  display: block;
}

.cookie__inner {
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(20, 14, 36, 0.92);
  display: grid;
  gap: 10px;
}

@media (min-width: 900px) {
  .cookie__inner {
    grid-template-columns: 1.4fr 0.6fr;
    align-items: center;
  }
}

.cookie__inner p {
  margin: 6px 0 0;
  color: var(--muted);
}

.cookie__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

@keyframes accentGlow {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(245, 165, 36, 0.25);
  }
  50% {
    box-shadow: 0 0 24px rgba(199, 125, 255, 0.45);
  }
}

@keyframes pulse18 {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 205, 116, 0);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 14px rgba(255, 205, 116, 0.35);
  }
}

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