:root {
  --bg-primary: #0b0b0f;
  --bg-secondary: #14141b;
  --bg-card: #1a1a24;
  --bg-glass: rgba(26, 26, 36, 0.7);
  
  --accent-primary: #ffd400;
  --accent-secondary: #ff2ea6;
  --accent-tertiary: #7c3aed;
  --glow-highlight: #facc15;
  
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;

  --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  --spacing-mobile: 50px;
  --spacing-tablet: 70px;
  --spacing-desktop: 100px;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--accent-primary); text-shadow: 0 0 10px rgba(255, 212, 0, 0.3); }
h3 { font-size: 1.5rem; color: var(--text-primary); }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

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

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 212, 0, 0.2);
  z-index: 1000;
  padding: 15px 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 212, 0, 0.5);
}

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

.nav-links {
  display: none;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-primary);
  text-shadow: 0 0 8px var(--accent-primary);
}

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

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

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

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #fff;
  padding: 12px 26px;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(255, 46, 166, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 20px var(--accent-primary), 0 0 40px rgba(255, 46, 166, 0.5);
  color: #fff;
}

/* Hero Section */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  margin-top: 60px;
  background: linear-gradient(rgba(11, 11, 15, 0.8), rgba(20, 20, 27, 0.9)), url('images/neon-candy-world-bg.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 212, 0, 0.2);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #e5e7eb;
}

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

.game-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-glass);
  border: 2px solid var(--accent-primary);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 0 25px rgba(255, 212, 0, 0.15), inset 0 0 15px rgba(255, 212, 0, 0.1);
  transition: box-shadow 0.3s ease;
  animation: pulseGlow 4s infinite alternate;
}

.game-container iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 12px;
  background: #000;
}

/* Content Sections */
.content-section {
  background: var(--bg-primary);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.content-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255, 46, 166, 0.2);
  border: 1px solid rgba(255, 46, 166, 0.3);
  animation: float 6s ease-in-out infinite;
}

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

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
  border-color: var(--accent-tertiary);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Testimonials */
.testimonials {
  background: var(--bg-primary);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--bg-glass);
  padding: 25px;
  border-radius: 16px;
  border-left: 4px solid var(--accent-primary);
  box-shadow: 0 0 15px rgba(26, 26, 36, 0.8);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
}

.stars {
  color: var(--accent-primary);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Responsible Gaming Banner */
.rg-banner {
  background: linear-gradient(to right, var(--bg-card), var(--bg-secondary));
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  margin: 40px auto;
}

.rg-icon {
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: var(--bg-card);
  border-top: 2px solid rgba(255, 212, 0, 0.3);
  padding: 60px 0 20px;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

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

.footer-col h3 {
  color: var(--accent-primary);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

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

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

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

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

/* Page Headers (Inner Pages) */
.page-header {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(11, 11, 15, 0.9), rgba(20, 20, 27, 0.9)), url('images/neon-lights-bg.jpg') center/cover;
  margin-top: 60px;
  border-bottom: 1px solid rgba(255, 46, 166, 0.2);
}

/* Forms */
.contact-form {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-control {
  width: 100%;
  padding: 15px;
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  transition: all 0.3s ease;
}

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

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

/* Legal Pages Content */
.legal-content {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 16px;
  margin-bottom: 40px;
}

.legal-content h2 {
  margin-top: 30px;
  font-size: 1.5rem;
}

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

@keyframes pulseGlow {
  from { box-shadow: 0 0 15px rgba(255, 212, 0, 0.1), inset 0 0 10px rgba(255, 212, 0, 0.05); }
  to { box-shadow: 0 0 35px rgba(255, 212, 0, 0.3), inset 0 0 20px rgba(255, 212, 0, 0.15); }
}

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

/* Media Queries */
@media (min-width: 768px) {
  section { padding: var(--spacing-tablet) 0; }
  
  .hero h1 { font-size: 4rem; }
  
  .content-grid { grid-template-columns: 1fr 1fr; }
  .content-grid.reverse .content-text { order: 2; }
  .content-grid.reverse .content-img-wrap { order: 1; }
  
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  
  .mobile-menu-btn { display: none; }
  .nav-links { display: flex; }
}

@media (min-width: 1024px) {
  section { padding: var(--spacing-desktop) 0; }
  
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

/* Mobile Menu Active State */
.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  padding: 20px;
  border-bottom: 2px solid var(--accent-primary);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}