:root {
  --bg: #0B0614;
  --surface: #150C2A;
  --text: #F5F3FF;
  --muted: #C4B5FD;
  --primary: #A78BFA;
  --secondary: #22C55E;
  --accent: #EC4899;
  --border: rgba(245,243,255,0.12);
  --max-w: 1200px;
  --font-serif: Georgia, "Times New Roman", "Palatino Linotype", Palatino, serif;
  --font-sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --luxury: "luxury";
  --casino: "casino";
  --premium: "premium";
  --gold-accents: "gold accents";
  --dark-elegance: "dark elegance";
  --high-stakes: "high stakes";
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, var(--bg) 0%, var(--surface) 55%, var(--bg) 100%),
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(167, 139, 250, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: var(--luxury) " " var(--casino) " " var(--premium) " " var(--gold-accents) " " var(--dark-elegance) " " var(--high-stakes);
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 59px,
      rgba(245, 243, 255, 0.02) 59px,
      rgba(245, 243, 255, 0.02) 60px
    );
  opacity: 0.6;
}

body > * {
  position: relative;
  z-index: 1;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.35s ease;
}

a:hover {
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--text);
}

.disclosure-banner {
  width: 100%;
  background: transparent;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding: 8px 16px;
  border-bottom: 1px solid rgba(167, 139, 250, 0.35);
  line-height: 1.45;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(11, 6, 20, 0.96);
  backdrop-filter: blur(8px);
}

.nav-top {
  height: 32px;
  background: rgba(8, 4, 16, 0.98);
  border-bottom: 1px solid var(--border);
}

.nav-top-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-top-email {
  font-size: 12px;
  color: var(--muted);
}

.nav-top-email a {
  color: var(--muted);
}

.nav-top-email a:hover {
  color: var(--primary);
}

.nav-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(167, 139, 250, 0.95);
  border: 1px solid rgba(167, 139, 250, 0.45);
  padding: 2px 8px;
  line-height: 1.2;
}

.nav-main {
  height: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-main-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link img {
  height: 36px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px 16px;
  flex-wrap: wrap;
  list-style: none;
  justify-content: flex-end;
}

.nav-desktop a {
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.nav-desktop a:hover {
  color: var(--accent);
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 8px;
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
}

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

.mobile-nav-close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav a {
  color: var(--text);
  font-size: 1.05rem;
  font-family: var(--font-serif);
  padding: 8px 0;
  border-bottom: 1px solid rgba(245, 243, 255, 0.06);
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--accent);
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 24px 36px;
  margin-top: auto;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.55), rgba(236, 72, 153, 0.35), transparent);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.35);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-logo {
  margin-bottom: 24px;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-bottom: 28px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.footer-badges a,
.footer-badges span {
  display: inline-flex;
}

.footer-badges img {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.footer-requisites {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-copy {
  color: rgba(196, 181, 253, 0.7);
  font-size: 12px;
  line-height: 1.55;
  max-width: 820px;
}

.age-gate,
.cookie-banner {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(11, 6, 20, 0.88);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-gate.active,
.cookie-banner.active {
  display: flex;
}

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  max-width: 420px;
  width: 100%;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(167, 139, 250, 0.15);
}

.modal-box h2 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.modal-box p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
}

.btn-primary:hover {
  background: rgba(167, 139, 250, 0.85);
  color: var(--bg);
}

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

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.legal-page,
.subpage-main,
.error-page,
.redirect-page {
  padding: 48px 24px 72px;
}

.legal-inner,
.subpage-inner,
.error-inner {
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1,
.subpage-main h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 16px;
}

.legal-page h2,
.subpage-main h2 {
  font-size: 1.25rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--primary);
}

.legal-page h3,
.subpage-main h3 {
  font-size: 1.05rem;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-page p,
.subpage-main p,
.legal-page li {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 15px;
}

.legal-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-page li {
  margin-bottom: 8px;
}

.page-hero {
  padding: 56px 24px 40px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 50%, rgba(236, 72, 153, 0.15) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.5), transparent);
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.4);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
  max-width: 520px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  background: rgba(11, 6, 20, 0.6);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.field-error {
  display: none;
  color: var(--accent);
  font-size: 12px;
  margin-top: 4px;
}

.field-error.visible {
  display: block;
}

.form-success {
  display: none;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.08);
  color: var(--text);
}

.form-success.visible {
  display: block;
}

.decor-img {
  max-width: min(500px, 100%);
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: cover;
}

.decor-wrap {
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

@media (max-width: 600px) {
  .decor-img {
    max-width: 100%;
    width: 100%;
    max-height: 220px;
  }

  .decor-wrap {
    overflow: hidden;
    max-width: 100%;
  }
}

.redirect-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.redirect-box {
  text-align: center;
  max-width: 440px;
  padding: 40px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.ad-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 20px;
}

.spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.redirect-box h1 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.redirect-box p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.compliance-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

.compliance-note a {
  color: var(--primary);
}

.error-page {
  text-align: center;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-inner h1 {
  font-size: 3rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.error-inner p {
  color: var(--muted);
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .nav-top {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .nav-desktop {
    display: none;
  }
}
