:root {
  --bg: #120D02;
  --surface: #1F1704;
  --text: #FFFAF0;
  --muted: #D4A373;
  --primary: #FF9F1C;
  --secondary: #FFBF69;
  --accent: #2EC4B6;
  --border: rgba(255, 159, 28, 0.2);
  --luxury-glow: rgba(255, 159, 28, 0.15);
  --premium-shadow: rgba(0, 0, 0, 0.45);
  --gold-accents: #FFBF69;
  --dark-elegance: #1F1704;
  --high-stakes: #FF9F1C;
  --casino-luxury: #1F1704;
  --premium-gold: #FFBF69;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 159, 28, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #0a0701 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(46, 196, 182, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255, 191, 105, 0.05) 0%, transparent 35%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.disclosure-banner {
  width: 100%;
  background: rgba(255, 250, 240, 0.06);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 16px;
  line-height: 1.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark-elegance);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  height: 68px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px var(--premium-shadow);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 36px;
  width: auto;
}

.nav-desktop {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-desktop a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-accents);
  transition: width 0.3s ease;
}

.nav-desktop a:hover {
  color: var(--secondary);
}

.nav-desktop a:hover::after {
  width: 100%;
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: transform 0.3s ease, opacity 0.3s 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);
}

.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18, 13, 2, 0.97);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav-mobile-overlay.open {
  display: flex;
}

.nav-mobile-overlay a {
  color: var(--text);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
}

.nav-mobile-overlay a:hover {
  color: var(--primary);
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  margin-top: auto;
  flex-shrink: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.footer-brand img {
  height: 32px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-badges {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-badges a,
.footer-badges img {
  height: 40px;
  width: auto;
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 16px 48px var(--premium-shadow);
}

.modal-box h2 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--primary);
}

.modal-box p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--secondary);
}

.btn-secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--text);
}

.btn-accent {
  background: var(--accent);
  color: var(--bg);
}

.btn-accent:hover {
  opacity: 0.9;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.legal-content h1 {
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--primary);
}

.legal-content h2 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--text);
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--text);
}

.contact-form {
  margin-top: 32px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  color: #ff6b6b;
  font-size: 13px;
  margin-top: -12px;
  margin-bottom: 12px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success {
  display: none;
  padding: 32px;
  background: rgba(46, 196, 182, 0.1);
  border: 1px solid var(--accent);
  border-radius: 4px;
  text-align: center;
}

.form-success.visible {
  display: block;
}

.form-success p {
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}

.page-hero-strip {
  background: linear-gradient(135deg, var(--surface) 0%, var(--dark-elegance) 100%);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
}

.page-hero-strip h1 {
  font-size: 36px;
  color: var(--primary);
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-strip p {
  color: var(--muted);
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 900;
  display: none;
  box-shadow: 0 -4px 24px var(--premium-shadow);
}

#cookie-banner.active {
  display: block;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-inner p {
  color: var(--muted);
  font-size: 13px;
  flex: 1;
  min-width: 240px;
  margin-bottom: 0;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.error-page h1 {
  font-size: 72px;
  color: var(--primary);
  margin-bottom: 16px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 18px;
}

@media (max-width: 768px) {
  .site-header {
    clip-path: none;
    height: auto;
    min-height: 60px;
  }

  .nav-desktop {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .page-hero-strip h1 {
    font-size: 28px;
  }
}
