:root {
  --primary: #150527; /* Rich Deep Purple */
  --primary-light: #2c0b4d; /* Bright Purple-indigo */
  --secondary: #dcaeff; /* Pale Majestic Lavender-Purple */
  --secondary-hover: #c384ff;
  --accent: #e0aaff; /* Light Glowing Violet */
  --accent-glow: rgba(224, 170, 255, 0.4);
  --support-ivory: #f9f5ff; /* Soft off-white with purple hint */
  --support-muted: #bda6d4; /* Lavendish muted text */
  --dark-bg: #090214; /* Deep velvet black-purple */
  --panel-bg: rgba(36, 11, 62, 0.65); /* Elegant translucent purple */
  --gold-gradient: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 50%, #c77dff 100%); /* Gorgeous Purple Gradient */
  --royal-gradient: linear-gradient(180deg, #1f053a 0%, #090214 100%);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;

  /* Compatibility variables for other layouts */
  --color-glass: rgba(36, 11, 62, 0.5);
  --color-glass-border: rgba(220, 174, 255, 0.15);
  --color-gold: var(--secondary);
  --color-muted-ivory: var(--support-muted);
  --color-ivory: var(--support-ivory);
  --color-midnight: var(--dark-bg);
  --color-amber: var(--accent);
}

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

body {
  background-color: var(--dark-bg);
  color: var(--support-ivory);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Slim Header & Warning Banner Layout */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

.warning-banner {
  background: #3c096c; /* Rich Vibrant Warning Purple */
  color: #f3e8ff;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-body);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
}

/* Header & Navigation */
.royal-nav, .site-header {
  position: relative;
  width: 100%;
  background: rgba(15, 2, 28, 0.95);
  border-bottom: 2px solid rgba(220, 174, 255, 0.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container, .header-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.2rem;
}

.brand-logo, .site-header .logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 0 10px rgba(220, 174, 255, 0.3);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.brand-logo:hover, .site-header .logo:hover {
  transform: scale(1.02);
  text-shadow: 0 0 15px rgba(220, 174, 255, 0.6);
}

.brand-logo span {
  color: var(--support-ivory);
  font-size: 0.85rem;
}

.nav-links, .nav-menu {
  display: flex;
  gap: 0.6rem;
  list-style: none;
  align-items: center;
}

.nav-links a, .nav-link {
  color: var(--support-ivory);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active, .nav-link:hover, .nav-link.active {
  color: var(--secondary);
  background: rgba(220, 174, 255, 0.08);
  box-shadow: inset 0 0 8px rgba(220, 174, 255, 0.1);
}

.nav-cta, .btn-primary {
  background: var(--gold-gradient);
  color: var(--primary) !important;
  font-weight: 700 !important;
  border-radius: 30px !important;
  padding: 0.4rem 1rem !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(157, 78, 221, 0.4);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-cta:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(157, 78, 221, 0.6);
}

/* Hero Template */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  background: var(--royal-gradient);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, var(--dark-bg) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  text-align: center;
}

.hero-subtitle {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.4rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: pulse-glow 3s infinite alternate;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1.2;
  color: var(--support-ivory);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.hero-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--support-muted);
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--primary);
  box-shadow: 0 5px 20px rgba(157, 78, 221, 0.3);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(157, 78, 221, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--support-ivory);
  border: 2px solid rgba(220, 174, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(220, 174, 255, 0.1);
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-3px);
}

/* Unique Grid Systems */
.grid-asymmetric {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.grid-3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  max-width: 1600px;
  margin: 0 auto;
}

/* Handcrafted Cards */
.card-palace {
  background: var(--panel-bg);
  border: 1px solid rgba(220, 174, 255, 0.15);
  border-radius: 20px;
  padding: 3rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card-palace::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.card-palace:hover {
  transform: translateY(-10px);
  border-color: rgba(220, 174, 255, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(220, 174, 255, 0.15);
}

.card-palace:hover::before {
  transform: scaleX(1);
}

/* Content Sections */
.section-luxury {
  padding: 8rem 2rem;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 5rem;
}

.section-pretitle {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--support-ivory);
}

.section-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Decorative Lanterns */
.lantern-glow {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px 10px var(--accent-glow);
  animation: float-lantern 8s infinite ease-in-out;
}

/* Responsive Iframe Frame */
.game-vault {
  max-width: 1200px;
  margin: 0 auto;
  background: #000;
  border: 6px solid var(--secondary);
  border-radius: 16px;
  box-shadow: 0 0 50px rgba(220, 174, 255, 0.3);
  overflow: hidden;
  position: relative;
}

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

/* Accordion Style (FAQ) */
.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--panel-bg);
  border: 1px solid rgba(220, 174, 255, 0.15);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  color: var(--support-ivory);
  font-family: var(--font-display);
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-trigger:hover {
  color: var(--secondary);
}

.faq-content {
  padding: 0 2rem 1.5rem;
  color: var(--support-muted);
}

/* Premium Footer */
.royal-footer, .site-footer {
  background: #06010d;
  border-top: 1px solid rgba(220, 174, 255, 0.2);
  padding: 6rem 2rem 2rem;
  position: relative;
}

.footer-grid {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4, .footer-column h5 {
  font-family: var(--font-display);
  color: var(--secondary);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.footer-col ul, .footer-links {
  list-style: none;
}

.footer-col ul li, .footer-links li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a, .footer-links li a {
  color: var(--support-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-col ul li a:hover, .footer-links li a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-newsletter input {
  width: 100%;
  padding: 0.8rem 1.2rem;
  background: rgba(36, 11, 62, 0.8);
  border: 1px solid rgba(220, 174, 255, 0.3);
  border-radius: 4px;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-newsletter button {
  width: 100%;
}

.footer-bottom {
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(220, 174, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--support-muted);
  font-size: 0.9rem;
}

.footer-bottom-links, .footer-legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom-links a, .footer-legal-links a {
  color: var(--support-muted);
  text-decoration: none;
}

.footer-bottom-links a:hover, .footer-legal-links a:hover {
  color: var(--secondary);
}

/* Animations */
@keyframes float-lantern {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-30px) rotate(5deg); opacity: 0.9; }
}

@keyframes pulse-glow {
  0% { text-shadow: 0 0 10px rgba(224, 170, 255, 0.2); }
  100% { text-shadow: 0 0 25px rgba(224, 170, 255, 0.6); }
}

/* Responsive Queries */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .nav-container, .header-container {
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }
  .brand-logo, .site-header .logo {
    font-size: 1rem;
    text-align: center;
  }
  .nav-links, .nav-menu {
    display: flex !important;
    overflow-x: auto;
    width: 100%;
    justify-content: center;
    padding: 0.3rem 0;
    gap: 0.4rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  .nav-links::-webkit-scrollbar, .nav-menu::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
  }
  .nav-links li, .nav-menu li {
    flex-shrink: 0; /* Stop menu items from squeezing */
  }
  .nav-links a, .nav-link {
    font-size: 0.68rem;
    padding: 0.3rem 0.5rem;
    white-space: nowrap;
  }
  .nav-cta, .header-actions {
    display: none !important; /* Remove heavy buttons on mobile headers for extreme clean fit */
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.8rem; }
  .grid-asymmetric { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .section-title { font-size: 2.2rem; }
}