*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #ff71ce;
  --color-primary-light: #ffa4e0;
  --color-primary-dark: #d94fa8;
  --color-secondary: #01cdfe;
  --color-secondary-light: #66dfff;
  --color-secondary-dark: #009fc7;
  --color-accent: #b967ff;
  --color-accent-light: #d4a0ff;
  --color-accent-dark: #8a3dcc;

  --color-bg: #1a0a2e;
  --color-bg-light: #2d1b4e;
  --color-surface: #241442;
  --color-surface-light: #3a2560;

  --color-text: #f0e6ff;
  --color-text-muted: #c4b5d9;
  --color-text-dark: #1a0a2e;

  --color-success: #05ffa1;
  --color-warning: #fffb96;
  --color-danger: #ff6b6b;

  --gradient-sunset: linear-gradient(
    135deg,
    #ff71ce 0%,
    #ff9a56 25%,
    #b967ff 50%,
    #01cdfe 100%
  );
  --gradient-primary: linear-gradient(135deg, #ff71ce, #b967ff);
  --gradient-secondary: linear-gradient(135deg, #01cdfe, #b967ff);
  --gradient-surface: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    var(--color-surface) 100%
  );
  --gradient-card: linear-gradient(
    145deg,
    rgba(58, 37, 96, 0.8),
    rgba(36, 20, 66, 0.9)
  );

  --font-primary: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Segoe UI", system-ui, -apple-system, sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 50%;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow-primary: 0 0 20px rgba(255, 113, 206, 0.3);
  --shadow-glow-secondary: 0 0 20px rgba(1, 205, 254, 0.3);
  --shadow-glow-accent: 0 0 20px rgba(185, 103, 255, 0.3);

  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  --container-max: 1200px;
  --header-height: 70px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:focus-visible {
  color: var(--color-primary-light);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: var(--space-md);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.chrome-text {
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(255, 113, 206, 0.2));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 113, 206, 0.5);
  color: #fff;
}

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

.btn-secondary:hover {
  background: rgba(255, 113, 206, 0.1);
  color: var(--color-primary-light);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-text-muted);
  padding: var(--space-xs) var(--space-md);
  font-size: 0.85rem;
}

.btn-ghost:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.btn-lg {
  padding: var(--space-md) var(--space-2xl);
  font-size: 1.1rem;
}

.btn-sm {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.85rem;
  background: var(--gradient-secondary);
  color: var(--color-text-dark);
  border-radius: var(--radius-sm);
  font-weight: 700;
  border: none;
}

.btn-sm:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-secondary);
  color: var(--color-text-dark);
}

/* ========== AGE GATE ========== */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 10, 46, 0.97);
  backdrop-filter: blur(10px);
  padding: var(--space-lg);
}

.age-gate[hidden] {
  display: none;
}

.age-gate-content {
  background: var(--gradient-card);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-lg), var(--shadow-glow-primary);
  animation: fadeInScale 0.4s ease;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.age-gate-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-glow-primary);
}

.age-gate-content h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.age-gate-content p {
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
}

.age-gate-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin: var(--space-xl) 0 var(--space-md);
  flex-wrap: wrap;
}

.age-gate-disclaimer {
  font-size: 0.8rem;
  color: var(--color-warning);
  margin-top: var(--space-md);
}

/* ========== COOKIE CONSENT ========== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-surface);
  border-top: 2px solid var(--color-accent);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.4s ease;
}

.cookie-consent[hidden] {
  display: none;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-consent-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.cookie-consent h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  color: var(--color-primary-light);
}

.cookie-consent p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.cookie-settings {
  border-top: 1px solid var(--color-surface-light);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  cursor: pointer;
}

.cookie-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

/* ========== HEADER / NAV ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 10, 46, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(185, 103, 255, 0.2);
  height: var(--header-height);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
}

.logo {
  text-decoration: none;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.5px;
}

.logo-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-primary-light);
  background: rgba(255, 113, 206, 0.1);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--gradient-surface);
}

.grid-perspective {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 60%;
  background:
    linear-gradient(90deg, rgba(185, 103, 255, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(1, 205, 254, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  transform-origin: bottom center;
  transform: translateX(-50%) perspective(500px) rotateX(60deg);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    transparent 80%
  );
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: blobFloat 8s ease-in-out infinite alternate;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  top: 10%;
  left: 10%;
}

.blob-2 {
  width: 350px;
  height: 350px;
  background: var(--color-secondary);
  bottom: 20%;
  right: 10%;
  animation-delay: -4s;
}

@keyframes blobFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: var(--space-lg);
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 550px;
  margin: 0 auto var(--space-xl);
}

.hero-images {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.hero-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(185, 103, 255, 0.3);
  box-shadow: var(--shadow-lg), var(--shadow-glow-accent);
  transition: transform var(--transition-base);
}

.hero-img:hover {
  transform: scale(1.05) rotate(-2deg);
}

.hero-img-2:hover {
  transform: scale(1.05) rotate(2deg);
}

.wave-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

.wave-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 1;
}

/* ========== DISCLAIMER BANNER ========== */
.disclaimer-banner {
  background: rgba(255, 107, 107, 0.15);
  border-top: 2px solid var(--color-danger);
  border-bottom: 2px solid var(--color-danger);
  padding: var(--space-md) 0;
  text-align: center;
}

.disclaimer-banner p {
  font-size: 0.85rem;
  color: var(--color-warning);
  max-width: 800px;
  margin: 0 auto;
}

/* ========== CASINOS SECTION ========== */
.casinos-section {
  padding: var(--space-4xl) 0;
  background: var(--color-surface);
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--space-sm) var(--space-lg);
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-surface-light);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow-primary);
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-xl);
}

.casino-card {
  background: var(--gradient-card);
  border: 1px solid rgba(185, 103, 255, 0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.casino-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg), var(--shadow-glow-primary);
}

.casino-card[hidden] {
  display: none;
}

.casino-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  background: rgba(0, 0, 0, 0.2);
  min-height: 48px;
}

.casino-badge {
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-top {
  background: var(--gradient-primary);
  color: #fff;
}

.badge-popular {
  background: var(--gradient-secondary);
  color: var(--color-text-dark);
}

.casino-rank {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-accent-light);
}

.casino-card-body {
  padding: var(--space-lg);
  flex: 1;
}

.casino-name {
  font-size: 1.35rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.casino-rating {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  display: inline-block;
  width: 18px;
  height: 18px;
  position: relative;
}

.star::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  background: var(--color-surface-light);
}

.star.filled::before {
  background: var(--color-warning);
}

.star.half::before {
  background: linear-gradient(
    90deg,
    var(--color-warning) 50%,
    var(--color-surface-light) 50%
  );
}

.rating-number {
  font-weight: 700;
  color: var(--color-warning);
  font-size: 0.95rem;
}

.casino-country,
.casino-license {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.casino-desc {
  margin: var(--space-md) 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.casino-age-note {
  font-size: 0.82rem;
  color: var(--color-warning);
  margin: var(--space-sm) 0;
  padding: var(--space-sm);
  background: rgba(255, 251, 150, 0.1);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-warning);
}

.casino-age-note a {
  color: var(--color-warning);
  text-decoration: underline;
}

.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.casino-features li {
  padding: var(--space-xs) var(--space-sm);
  background: rgba(1, 205, 254, 0.1);
  border: 1px solid rgba(1, 205, 254, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--color-secondary-light);
}

.casino-card-footer {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}

.casino-card-footer .btn {
  width: 100%;
}

/* ========== SHOWCASE SECTION ========== */
.showcase-section {
  padding: var(--space-3xl) 0;
  background: var(--gradient-surface);
  position: relative;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.showcase-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(185, 103, 255, 0.2);
  transition: all var(--transition-base);
  background: var(--gradient-card);
}

.showcase-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-accent);
}

.showcase-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.showcase-item figcaption {
  padding: var(--space-md);
  text-align: center;
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ========== COMPARISON TABLE ========== */
.comparison-section {
  padding: var(--space-4xl) 0;
  background: var(--color-surface);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(185, 103, 255, 0.2);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.comparison-table thead {
  background: rgba(185, 103, 255, 0.15);
}

.comparison-table th {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-weight: 700;
  color: var(--color-primary-light);
  white-space: nowrap;
  border-bottom: 2px solid rgba(185, 103, 255, 0.3);
}

.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid rgba(185, 103, 255, 0.1);
  color: var(--color-text-muted);
  vertical-align: middle;
}

.comparison-table tbody tr {
  transition: background var(--transition-fast);
}

.comparison-table tbody tr:hover {
  background: rgba(185, 103, 255, 0.05);
}

.table-rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ========== TRUST SECTION ========== */
.trust-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.trust-card {
  background: var(--gradient-card);
  border: 1px solid rgba(185, 103, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
}

.trust-card:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-md), var(--shadow-glow-secondary);
  transform: translateY(-2px);
}

.trust-icon {
  color: var(--color-secondary);
  margin-bottom: var(--space-lg);
}

.trust-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.trust-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: var(--space-md);
}

.trust-card ul {
  list-style: none;
}

.trust-card li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.trust-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-success);
}

/* ========== GAME SECTION ========== */
.game-section {
  padding: var(--space-3xl) 0;
  background: var(--gradient-surface);
  position: relative;
}

.game-disclaimer {
  font-size: 0.85rem;
  color: var(--color-warning);
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 251, 150, 0.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 251, 150, 0.2);
  display: inline-block;
}

.wheel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.wheel-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
}

#spin-wheel {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  box-shadow:
    var(--shadow-lg),
    var(--shadow-glow-accent),
    0 0 40px rgba(255, 113, 206, 0.2);
  border: 4px solid var(--color-accent);
}

.wheel-pointer {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 28px solid var(--color-primary);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  z-index: 2;
}

.spin-button {
  min-width: 200px;
}

.spin-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.spin-result {
  text-align: center;
  padding: var(--space-md) var(--space-xl);
  background: var(--gradient-card);
  border: 2px solid var(--color-success);
  border-radius: var(--radius-lg);
  animation: fadeInScale 0.3s ease;
}

.spin-result[hidden] {
  display: none;
}

.spin-result p {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-success);
}

.score-display {
  text-align: center;
  padding: var(--space-md);
  background: rgba(185, 103, 255, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(185, 103, 255, 0.2);
}

.score-display p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.score-display strong {
  color: var(--color-warning);
  font-size: 1.1rem;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  padding: var(--space-4xl) 0;
  background: var(--color-surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-form {
  background: var(--gradient-card);
  border: 1px solid rgba(185, 103, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(185, 103, 255, 0.3);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 113, 206, 0.15);
  outline: none;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c4b5d9' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-group select option {
  background: var(--color-surface);
  color: var(--color-text);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-consent {
  margin-bottom: var(--space-xl);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-primary);
}

.contact-info {
  background: var(--gradient-card);
  border: 1px solid rgba(185, 103, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.contact-info h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.contact-details {
  margin-bottom: var(--space-2xl);
}

.contact-details dt {
  font-weight: 600;
  color: var(--color-primary-light);
  font-size: 0.88rem;
  margin-top: var(--space-md);
}

.contact-details dt:first-child {
  margin-top: 0;
}

.contact-details dd {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-top: var(--space-xs);
}

.responsible-gaming-info {
  border-top: 1px solid rgba(185, 103, 255, 0.2);
  padding-top: var(--space-xl);
}

.responsible-gaming-info h3 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.responsible-gaming-info p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.responsible-gaming-info ul {
  list-style: none;
}

.responsible-gaming-info li {
  margin-bottom: var(--space-sm);
  font-size: 0.88rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-bg);
  padding-top: 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  margin-top: var(--space-md);
  line-height: 1.6;
}

.footer-address {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  opacity: 0.7;
}

.footer-nav h3,
.footer-contact h3 {
  font-size: 0.95rem;
  color: var(--color-primary-light);
  margin-bottom: var(--space-md);
}

.footer-nav li,
.footer-contact li {
  margin-bottom: var(--space-sm);
}

.footer-nav a,
.footer-contact a {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--color-primary-light);
}

.footer-responsible {
  border-top: 1px solid rgba(185, 103, 255, 0.15);
  padding: var(--space-xl) 0;
  text-align: center;
}

.footer-responsible h3 {
  font-size: 1rem;
  color: var(--color-warning);
  margin-bottom: var(--space-sm);
}

.footer-responsible p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: var(--space-md);
}

.footer-responsible-links {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-md);
}

.footer-responsible-links a {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.88rem;
}

.age-badge-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--shadow-glow-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(185, 103, 255, 0.15);
  padding: var(--space-xl) 0 var(--space-2xl);
  text-align: center;
}

.footer-bottom p {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: var(--space-sm);
}

/* ========== LEGAL PAGES ========== */
.legal-page {
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.legal-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
  text-align: center;
}

.legal-content .legal-updated {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  margin-bottom: var(--space-3xl);
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-primary-light);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(185, 103, 255, 0.2);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-secondary-light);
}

.legal-content p {
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.legal-content a {
  color: var(--color-secondary);
}

.legal-content a:hover {
  color: var(--color-primary-light);
  text-decoration: underline;
}

.legal-card {
  background: var(--gradient-card);
  border: 1px solid rgba(185, 103, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}

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

.legal-highlight {
  background: rgba(255, 113, 206, 0.08);
  border-left: 4px solid var(--color-primary);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.legal-highlight p {
  margin-bottom: 0;
  color: var(--color-text);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  color: var(--color-secondary);
  font-weight: 600;
}

.back-link:hover {
  color: var(--color-primary-light);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    background: rgba(26, 10, 46, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-xs);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.05rem;
    padding: var(--space-md);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-images {
    gap: var(--space-md);
  }

  .hero-img {
    width: 120px;
    height: 120px;
  }
}

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .age-gate-content {
    padding: var(--space-xl);
  }

  .age-gate-buttons {
    flex-direction: column;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-img {
    width: 100px;
    height: 100px;
  }

  .wheel-wrapper {
    width: 260px;
    height: 260px;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tbody tr {
    display: block;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(185, 103, 255, 0.2);
    border-radius: var(--radius-md);
    overflow: hidden;
  }

  .comparison-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid rgba(185, 103, 255, 0.05);
  }

  .comparison-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--color-primary-light);
    font-size: 0.82rem;
    flex-shrink: 0;
    margin-right: var(--space-md);
  }

  .filter-bar {
    gap: var(--space-xs);
  }

  .filter-btn {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-header,
  .age-gate,
  .cookie-consent,
  .game-section,
  .wave-divider,
  .blob,
  .grid-perspective {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .chrome-text {
    -webkit-text-fill-color: #000;
    background: none;
  }
}
