/* 
========================================================================
   VANTORAGROOV - SUGARVERSE SUPREME DESIGN SYSTEM (style.css)
   Copyright 2026. Vantoragroov.skin. All rights reserved.
========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=IBM+Plex+Mono:wght@400;600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* 🩷 CORE COLOR SYSTEM */
  --bg-candy-night: #0e0518;
  --bg-berry-cream: #1b0c2b;
  --bg-sweet-plum: #2d1443;
  
  /* ✨ GLASSMORPHISM SURFACES */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-blur: blur(20px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);

  /* 🍭 PRIMARY ACCENT - CANDY PINK */
  --grad-candy-pink: linear-gradient(135deg, #ff4fa3, #ff8ed6);
  --glow-candy-pink: rgba(255, 79, 163, 0.3);

  /* 🍬 SECONDARY ACCENT - LOLLIPOP ORANGE */
  --grad-lollipop-orange: linear-gradient(135deg, #ff9f43, #ffd166);
  --glow-lollipop-orange: rgba(255, 159, 67, 0.3);

  /* 🌈 THIRD ACCENT - RAINBOW BLUE */
  --grad-rainbow-blue: linear-gradient(135deg, #4cc9f0, #90e0ef);
  --glow-rainbow-blue: rgba(76, 201, 240, 0.3);

  /* ✨ PREMIUM BLEND */
  --grad-premium-blend: linear-gradient(135deg, #ff4fa3, #ffd166, #4cc9f0);

  /* 📝 TYPOGRAPHY COLORS */
  --text-primary: #ffffff;
  --text-secondary: #ebd0ec;
  --text-muted: #9f86b1;

  /* FONTS */
  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* LAYOUT */
  --container-width: 1200px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & GENERAL SYSTEM --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-candy-night);
  overflow-x: hidden;
}

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

/* Webkit Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-candy-night);
}
::-webkit-scrollbar-thumb {
  background: var(--grad-candy-pink);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--grad-premium-blend);
}

/* Dynamic Ambient Glow Particles Background */
.ambient-candy-system {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient-glow-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 79, 163, 0.1) 0%, rgba(0,0,0,0) 70%);
  filter: blur(100px);
  animation: floatGlow 15s infinite alternate ease-in-out;
}

.ambient-glow-2 {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(76, 201, 240, 0.1) 0%, rgba(0,0,0,0) 70%);
  filter: blur(120px);
  animation: floatGlow 20s infinite alternate-reverse ease-in-out;
}

.ambient-glow-3 {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(255, 159, 67, 0.08) 0%, rgba(0,0,0,0) 60%);
  filter: blur(110px);
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(4%, 4%) scale(1.05); }
}

/* Dynamic Particle Effects CSS */
.sparkle-particle {
  position: absolute;
  pointer-events: none;
  background: radial-gradient(circle, #fff 10%, transparent 60%);
  border-radius: 50%;
  opacity: 0.6;
  animation: shimmer 3s infinite ease-in-out;
}

@keyframes shimmer {
  0%, 100% { transform: translateY(0) scale(0.8); opacity: 0.2; }
  50% { transform: translateY(-20px) scale(1.1); opacity: 0.7; }
}

/* Typography styles */
h1, h2, h3, h4, .brand-logo {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* --- SLIM & PROFESSIONAL NAVIGATION --- */
.candy-crown-nav {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: var(--container-width);
  z-index: 1000;
  background: rgba(14, 5, 24, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.candy-crown-nav.sticky {
  top: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  background: rgba(14, 5, 24, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  padding: 10px 40px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-swirl {
  width: 32px;
  height: 32px;
  animation: spinSwirl 8s infinite linear;
}

@keyframes spinSwirl {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-display);
  background: var(--grad-premium-blend);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(255, 79, 163, 0.2);
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-item a {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  color: var(--text-secondary);
  display: inline-block;
  transition: var(--transition-smooth);
}

.nav-item a.active, .nav-item a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

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

/* Play Now CTA Button Style - Slim Professional */
.btn-candy-slim {
  background: var(--grad-candy-pink);
  box-shadow: 0 4px 15px var(--glow-candy-pink);
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-candy-slim:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--glow-candy-pink);
  background: linear-gradient(135deg, #ff63b2, #ffa3df);
}

.btn-candy {
  background: var(--grad-candy-pink);
  box-shadow: 0 4px 20px var(--glow-candy-pink);
  border: none;
  padding: 12px 28px;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.btn-candy::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.5s;
}

.btn-candy:hover::before {
  left: 100%;
}

.btn-candy:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px var(--glow-candy-pink);
}

.btn-candy:active {
  transform: scale(0.97);
}

.btn-secondary-candy {
  background: rgba(255, 255, 255, 0.04);
  border: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  padding: 12px 28px;
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary-candy:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

/* --- HERO SECTION: THE CANDY KINGDOM --- */
.hero-wrapper {
  min-height: 100vh;
  padding: 140px 0 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.2;
}

.hero-container {
  width: 90%;
  max-width: var(--container-width);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.candy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 79, 163, 0.1);
  border: 1px solid rgba(255, 79, 163, 0.25);
  padding: 6px 14px;
  border-radius: 6px;
  width: fit-content;
  color: #ff8ed6;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  color: #fff;
}

.hero-title span {
  display: block;
  font-size: 4rem;
  background: var(--grad-premium-blend);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  border-left: 2px solid var(--grad-candy-pink);
  padding-left: 12px;
  max-width: 450px;
}

/* Hero Right Side - Live Slot Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slot-visual-frame {
  width: 100%;
  max-width: 400px;
  background: var(--bg-berry-cream);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.slot-visual-header {
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
}

.slot-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.slot-visual-cell {
  background: var(--bg-sweet-plum);
  border-radius: 12px;
  height: 85px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
  animation: floatSweets 4s infinite ease-in-out;
}

.slot-visual-cell:nth-child(even) {
  animation-delay: 1s;
}

@keyframes floatSweets {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.02); }
}

.slot-visual-footer {
  text-align: center;
}

/* Float items in hero bg */
.floating-candy-assets {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.floating-sweet {
  position: absolute;
  font-size: 2rem;
  animation: floatingSweetAnim 6s infinite ease-in-out;
  opacity: 0.5;
}

@keyframes floatingSweetAnim {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(15deg); }
}

/* --- MAIN GAME SECTION --- */
.game-section {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 50% 30%, var(--bg-berry-cream) 0%, var(--bg-candy-night) 100%);
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
  z-index: 10;
}

.section-title {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.game-outer-container {
  width: 90%;
  max-width: 1100px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  border-radius: 24px;
  padding: 20px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  z-index: 10;
  position: relative;
}

/* Top game bar with dynamic UI styling */
.game-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
}

.game-title-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.game-title-info h3 {
  font-size: 1.5rem;
  color: #fff;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(76, 201, 240, 0.1);
  color: #4cc9f0;
  padding: 2px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}

.live-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #4cc9f0;
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

.game-actions {
  display: flex;
  gap: 8px;
}

.game-action-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.game-action-btn:hover {
  background: var(--grad-candy-pink);
  border-color: transparent;
  transform: scale(1.05);
}

/* Actual Game Frame Container */
.game-viewport {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 500px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

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

.game-controls-overlay {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

.control-left {
  display: flex;
  gap: 12px;
  align-items: center;
}

.control-right {
  display: flex;
  gap: 10px;
}

/* --- FEATURE CARDS SECTION (SWEET TREASURE GRID) --- */
.features-section {
  padding: 80px 0;
  position: relative;
}

.features-grid {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
  padding: 30px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 79, 163, 0.03) 0%, rgba(0,0,0,0) 100%);
  z-index: 0;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 105, 180, 0.25);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--grad-candy-pink);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.feature-card:nth-child(2) .card-icon {
  background: var(--grad-lollipop-orange);
}

.feature-card:nth-child(3) .card-icon {
  background: var(--grad-rainbow-blue);
}

.card-title {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* --- STATS SECTION --- */
.stats-section {
  padding: 60px 0;
  background: rgba(20, 10, 32, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- PAGES ROUTER CONTAINER --- */
.app-view-container {
  min-height: calc(100vh - 80px);
}

.app-view {
  display: none;
  animation: viewFadeIn 0.4s forwards ease-out;
}

.app-view.active {
  display: block;
}

@keyframes viewFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- SUBPAGE BANNER --- */
.subpage-banner {
  padding: 140px 0 60px 0;
  background: linear-gradient(180deg, var(--bg-berry-cream) 0%, var(--bg-candy-night) 100%);
  text-align: center;
  position: relative;
}

.subpage-banner h1 {
  font-size: 2.8rem;
  color: #fff;
}

/* --- CONTACT PAGE --- */
.contact-grid {
  width: 90%;
  max-width: var(--container-width);
  margin: 40px auto 80px auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--grad-candy-pink);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1rem;
  margin-bottom: 3px;
  color: #fff;
}

.contact-details p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-form-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 16px;
  padding: 30px;
}

.candy-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
}

.form-control {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 15px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: #ff4fa3;
  box-shadow: 0 0 10px rgba(255, 79, 163, 0.2);
}

/* --- LEGAL & RESPONSIBLE GAMING TEXT PAGES --- */
.legal-page-content {
  width: 90%;
  max-width: 800px;
  margin: 40px auto 80px auto;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 16px;
  padding: 40px;
}

.legal-article h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 30px 0 12px 0;
  border-bottom: 1px dashed rgba(255, 105, 180, 0.15);
  padding-bottom: 6px;
}

.legal-article p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.7;
}

.legal-article ul, .legal-article ol {
  margin-left: 18px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.legal-article li {
  margin-bottom: 8px;
}

.responsible-warning-box {
  background: rgba(255, 159, 67, 0.08);
  border: 1px solid rgba(255, 159, 67, 0.2);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.responsible-warning-box h3 {
  color: #ffd166;
  margin-bottom: 8px;
}

/* --- REWARDS & VAULT GRID LAYOUT --- */
.vault-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.vault-grid {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto 80px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.vault-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.vault-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.vault-card-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.vault-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--grad-rainbow-blue);
  color: #12061f;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
}

.vault-card-content {
  padding: 24px;
}

.vault-card-content h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 8px;
}

.vault-card-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- FOOTER SYSTEM --- */
.candy-footer {
  background: #090310;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.footer-top-rainbow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-premium-blend);
}

.footer-container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
  margin-bottom: 3px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: #ff8ed6;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: #ff4fa3;
}

.footer-bottom {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.footer-disclaimer-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 800px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- THE HOW TO PLAY POPUP MODAL --- */
.candy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 5, 24, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.candy-modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-berry-cream);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  position: relative;
  overflow: hidden;
  animation: modalPop 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes modalPop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 20px;
  border-bottom: 1px dashed rgba(255, 105, 180, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.5rem;
  color: #fff;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: #ff4fa3;
}

.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 65vh;
  overflow-y: auto;
}

.how-to-step {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad-candy-pink);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.step-info h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 3px;
}

.step-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- MOBILE FLOATING BOTTOM NAV --- */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(14, 5, 24, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 999;
  padding: 8px 12px;
  justify-content: space-around;
  align-items: center;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  gap: 3px;
}

.mobile-nav-item i {
  font-size: 1.1rem;
}

.mobile-nav-item.active {
  color: #ff4fa3;
}

/* Success Form message CSS */
.form-success-alert {
  background: rgba(76, 201, 240, 0.1);
  border: 1px solid rgba(76, 201, 240, 0.3);
  color: #90e0ef;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  display: none;
}

/* --- RESPONSIVE ADAPTATIONS --- */
@media (max-width: 1200px) {
  .hero-title { font-size: 3rem; }
  .hero-title span { font-size: 3.5rem; }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .candy-crown-nav {
    display: none;
  }
  .mobile-bottom-bar {
    display: flex;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-disclaimer {
    border-left: none;
    border-top: 2px solid var(--grad-candy-pink);
    padding-left: 0;
    padding-top: 12px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .subpage-banner h1 {
    font-size: 2.2rem;
  }
  .legal-page-content {
    padding: 24px;
  }
  .hero-title { font-size: 2.2rem; }
  .hero-title span { font-size: 2.6rem; }
  .game-viewport {
    min-height: 320px;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}