:root {
  /* Colors */
  --bg-primary: #0a0a0d;
  --bg-secondary: #141417;
  --bg-card: rgba(255, 255, 255, 0.03);
  --accent-primary: #ff4d4d;
  --accent-secondary: #ff9999;
  --text-primary: #f5f5f5;
  --text-secondary: #9ca3af;
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-accent: rgba(255, 77, 77, 0.3);

  /* Spacing */
  --spacing-desktop: 100px;
  --spacing-tablet: 70px;
  --spacing-mobile: 50px;

  /* Layout */
  --container-max-width: 1400px;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Layout */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--spacing-desktop) 0;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 24px;
}

h1 { font-size: 3.5rem; letter-spacing: -1px; }
h2 { font-size: 2.5rem; text-align: center; }
h3 { font-size: 1.5rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.text-center { text-align: center; }
.accent-text { color: var(--accent-primary); }

/* Components */

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-accent);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 77, 77, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

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

.logo span {
  color: var(--accent-primary);
  text-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 0;
  background-color: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--bg-secondary);
  position: absolute;
  top: 90px;
  left: 0;
  width: 100%;
  padding: 20px;
  border-bottom: 1px solid var(--border-accent);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #b32424 100%);
  color: #fff;
  padding: 14px 36px;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 77, 77, 0.2);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 77, 77, 0.4);
  background: linear-gradient(135deg, #ff6666 0%, #cc0000 100%);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(255, 77, 77, 0.1);
  box-shadow: 0 0 15px rgba(255, 77, 77, 0.2);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('images/luxury-dark-neon-casino-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 13, 0.7), var(--bg-primary));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeIn 1s ease-out;
}

.legal-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--accent-secondary);
  margin-bottom: 24px;
  backdrop-filter: blur(5px);
}

/* Game Section */
.game-section {
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.game-wrapper {
  width: 85%;
  max-width: 1300px;
  margin: 0 auto;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(255, 77, 77, 0.15);
  border: 1px solid var(--border-accent);
  background: var(--bg-secondary);
  position: relative;
}

.game-wrapper iframe {
  width: 100%;
  height: 750px;
  border: none;
  display: block;
}

/* Cards & Informational Grids */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 77, 77, 0.2);
}

.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(255, 77, 77, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Page Headers */
.page-header {
  padding: 120px 0 80px;
  text-align: center;
  background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
  border-bottom: 1px solid var(--border-subtle);
}

.content-block {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 50px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-subtle);
}

.content-block h2 { text-align: left; margin-top: 30px; font-size: 1.8rem; }
.content-block p { margin-bottom: 20px; }
.content-block ul { margin-left: 20px; margin-bottom: 20px; color: var(--text-secondary); }
.content-block li { margin-bottom: 10px; }

/* Contact Form */
.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(255, 77, 77, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.eighteen-plus-badge {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 38px;
  text-align: center;
  border: 2px solid var(--text-secondary);
  border-radius: 50%;
  font-weight: bold;
  margin-right: 15px;
  vertical-align: middle;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Media Queries */
@media (max-width: 1024px) {
  .section { padding: var(--spacing-tablet) 0; }
  .game-wrapper { width: 95%; }
  h1 { font-size: 2.8rem; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: var(--spacing-mobile) 0; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .game-wrapper {
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .game-wrapper iframe { height: 600px; }
  h1 { font-size: 2.2rem; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .content-block { padding: 30px 20px; }
}

@media (max-width: 480px) {
  .game-wrapper iframe { height: 500px; }
  .btn { width: 100%; text-align: center; }
}