:root {
  /* Base Colors */
  --bg-primary: #0f0a05;
  --bg-secondary: #1a1208;
  
  /* Accent Colors (No Blue) */
  --lucky-red: #dc2626;
  --royal-gold: #facc15;
  --spin-orange: #fb923c;
  --fortune-green: #22c55e;
  --light-cream: #fefce8;
  
  /* Typography Colors */
  --text-primary: #fefce8;
  --text-secondary: #fde68a;
  --text-muted: #a3a3a3;
  
  /* Gradients */
  --grad-lucky-spin: linear-gradient(135deg, #dc2626, #facc15);
  --grad-golden-fortune: linear-gradient(135deg, #facc15, #fb923c);
  --grad-carnival-heat: linear-gradient(135deg, #dc2626, #fb923c);
  --grad-jackpot-glow: linear-gradient(135deg, #22c55e, #facc15);
  
  /* Glow Effects */
  --glow-red: rgba(220, 38, 38, 0.45);
  --glow-gold: rgba(250, 204, 21, 0.45);
  --glow-green: rgba(34, 197, 94, 0.35);
  
  /* Dimensions */
  --max-width: 1280px;
  --header-height: 80px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 50% 0%, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

ul {
  list-style: none;
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

.carnival-zone {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

/* Utilities */
.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 18px;
  border: 1px solid rgba(250, 204, 21, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.text-center { text-align: center; }
.text-gold { color: var(--royal-gold); }
.text-red { color: var(--lucky-red); }
.text-gradient-gold {
  background: var(--grad-golden-fortune);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header - Lucky Nav Bar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(15, 10, 5, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(250, 204, 21, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--light-cream);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
  text-shadow: 0 0 15px rgba(250, 204, 21, 0.4);
}

.logo .wheel-icon {
  font-size: 2.2rem;
  animation: spin 10s linear infinite;
  display: inline-block;
  filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.6));
}

.nav-links {
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 20px;
  border-radius: 40px;
  border: 1px solid rgba(250, 204, 21, 0.1);
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  padding: 8px 16px;
  color: var(--text-primary);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--royal-gold);
  background: rgba(250, 204, 21, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--royal-gold);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(15, 10, 5, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: 0;
    padding: 40px 20px;
    box-shadow: none;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links a {
    font-size: 1.5rem;
    padding: 15px 30px;
    width: 100%;
    text-align: center;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-actions {
    display: none;
  }
}

/* Button System */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
  background: var(--grad-lucky-spin);
  color: var(--text-primary);
  box-shadow: 0 0 15px var(--glow-red);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 25px var(--glow-gold);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.98);
}

.btn-secondary {
  background: var(--grad-jackpot-glow);
  color: var(--bg-primary);
  box-shadow: 0 0 15px var(--glow-green);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 25px var(--glow-gold);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/luxury-casino-lucky-wheel-glowing.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.3;
  z-index: 0;
  animation: bgZoom 20s infinite alternate;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, var(--bg-primary) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 40px;
  animation: floatUp 1s ease-out forwards;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: var(--text-primary);
  text-shadow: 0 0 20px var(--glow-gold);
}

.hero p {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 500;
}

.hero-legal {
  margin-top: 40px;
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

/* Decorative Wheel in Hero */
.hero-wheel-deco {
  position: absolute;
  right: -10%;
  top: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--lucky-red) 0%, var(--spin-orange) 50%, var(--bg-primary) 100%);
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(40px);
  animation: pulseGlow 4s infinite alternate;
  z-index: 1;
}

/* Game Section */
.game-section {
  background: var(--bg-secondary);
  position: relative;
}

.game-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}

.game-container::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: var(--grad-golden-fortune);
  border-radius: 20px;
  z-index: -1;
  animation: borderShimmer 3s infinite linear;
}

.game-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px var(--glow-gold);
}

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

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  padding: 30px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 5px;
  background: var(--grad-carnival-heat);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px var(--glow-red);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

.feature-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid rgba(250, 204, 21, 0.2);
}

.feature-card h3 {
  font-size: 1.5rem;
  color: var(--royal-gold);
  margin-bottom: 15px;
}

/* Content Pages (About, Contact, Legal) */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(220, 38, 38, 0.1), var(--bg-primary));
  position: relative;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}

.content-wrapper h2 {
  color: var(--royal-gold);
  margin: 30px 0 15px;
  font-size: 1.8rem;
}

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

.content-wrapper ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.content-wrapper li {
  margin-bottom: 10px;
  list-style-type: disc;
  color: var(--text-secondary);
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

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

.form-group {
  margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--spin-orange);
  box-shadow: 0 0 10px var(--glow-gold);
}

/* Footer */
footer {
  background: #080502;
  padding: 60px 0 20px;
  border-top: 1px solid rgba(250, 204, 21, 0.1);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--royal-gold);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.footer-col p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

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

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

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

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

.legal-warning {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-primary);
  font-weight: bold;
}

/* Animations */
@keyframes spin {
  100% { transform: rotate(360deg); }
}

@keyframes floatUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bgZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

@keyframes pulseGlow {
  0% { opacity: 0.1; filter: blur(40px); }
  100% { opacity: 0.25; filter: blur(50px); }
}

@keyframes borderShimmer {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}