:root {
  /* Colors */
  --bg-dark: #1a120b;
  --bg-brown: #2c1b0c;
  --bg-desert: #3b2412;
  
  --accent-gold: #d4af37;
  --accent-sun: #f4d03f;
  --accent-amber: #ffb347;
  
  --glow-light: #fff3c4;
  --glow-overlay: rgba(212, 175, 55, 0.15);
  --glow-strong: rgba(212, 175, 55, 0.4);
  
  --text-main: #fefae0;
  --text-secondary: #faedcd;
  --text-muted: #d6ccc2;

  /* Typography */
  --font-heading: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-width: 1320px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --spacing-desktop: 100px;
  --spacing-mobile: 60px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 50% 0%, var(--bg-brown) 0%, var(--bg-dark) 70%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

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

/* Glassmorphism & UI System */
.glass-panel {
  background: rgba(44, 27, 12, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.text-gradient {
  background: linear-gradient(to right, var(--accent-sun), var(--accent-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
  color: var(--bg-dark);
  box-shadow: 0 4px 15px var(--glow-overlay);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--glow-strong);
  filter: brightness(1.1);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
  background: var(--glow-overlay);
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(26, 18, 11, 0.9);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  position: relative;
}

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

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--accent-gold);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: linear-gradient(rgba(26, 18, 11, 0.8), rgba(26, 18, 11, 0.95)), url('images/photo-1600521605612-9c3f7cb7db6a.png') center/cover;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: radial-gradient(var(--glow-overlay) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
}

.hero-visual {
  position: relative;
  perspective: 1000px;
}

.book-image {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 0 30px var(--glow-overlay));
  animation: float 6s ease-in-out infinite;
}

/* Slot Machine Interface */
.slot-section {
  background: url('images/photo-1549887552-cb1071d3e5ca.png') center/cover fixed;
  position: relative;
}

.slot-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg-dark), rgba(44, 27, 12, 0.8), var(--bg-dark));
}

.slot-machine-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  background: linear-gradient(180deg, #2a1608 0%, #150b04 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), inset 0 0 40px rgba(212, 175, 55, 0.1);
  position: relative;
  z-index: 10;
}

.slot-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  padding: 15px 30px;
  background: rgba(0,0,0,0.4);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-box {
  text-align: center;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-main);
  text-shadow: 0 0 10px var(--accent-gold);
}

.reels-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  background: #000;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 3px solid #3b2412;
  height: 400px;
  overflow: hidden;
}

.reel {
  background: linear-gradient(to bottom, #111, #222, #111);
  border: 1px solid #333;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.symbol {
  height: 126px; /* Approx 1/3 of reel */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-shadow: 2px 2px 4px #000, 0 0 15px rgba(212, 175, 55, 0.4);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.symbol.premium {
  color: #fff;
  text-shadow: 0 0 20px var(--accent-sun), 2px 2px 5px #000;
}

.slot-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding: 20px 30px;
  background: rgba(0,0,0,0.4);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.bet-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-ctrl {
  background: #2c1b0c;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ctrl:hover {
  background: var(--accent-gold);
  color: #000;
}

.btn-spin {
  background: radial-gradient(circle, var(--accent-sun) 0%, var(--accent-amber) 100%);
  color: #1a120b;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: bold;
  padding: 15px 50px;
  border-radius: 40px;
  border: 2px solid #fff;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 0 20px var(--glow-strong);
  transition: all 0.1s;
}

.btn-spin:active {
  transform: scale(0.95);
}

.btn-spin:disabled {
  filter: grayscale(1);
  cursor: not-allowed;
}

/* Features Section */
.features {
  background: var(--bg-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--accent-sun);
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* Generic Pages */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(rgba(26, 18, 11, 0.9), var(--bg-dark)), url('images/photo-1600521605612-9c3f7cb7db6a.png') center/cover;
}

.page-header h1 {
  font-size: 3.5rem;
}

.content-section {
  max-width: 800px;
  margin: 0 auto;
}

.content-section h2 {
  margin: 40px 0 20px;
  font-size: 2rem;
}

.content-section p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

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

/* Iframe Game Container */
.game-iframe-wrapper {
  width: 100%;
  height: 75vh;
  min-height: 600px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 0 40px var(--glow-overlay);
}

.game-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.site-footer {
  background: #110b07;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

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

.footer-brand p {
  color: var(--text-muted);
  margin-top: 20px;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 30px;
  border-left: 4px solid var(--accent-gold);
  text-align: left;
}