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

:root {
  /* Color System */
  --bg-primary: #12091c;
  --bg-secondary: #1d1030;
  --bg-tertiary: #2a1745;
  
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-blur: 20px;
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 0 60px rgba(255, 105, 180, 0.15);
  
  --accent-pink: linear-gradient(135deg, #ff4fd8, #ff7fd1);
  --accent-pink-glow: rgba(255, 79, 216, 0.45);
  
  --accent-blue: linear-gradient(135deg, #4cc9ff, #7ef3ff);
  --accent-blue-glow: rgba(76, 201, 255, 0.40);
  
  --accent-yellow: linear-gradient(135deg, #ffe066, #ffd43b);
  --accent-yellow-glow: rgba(255, 224, 102, 0.35);
  
  --accent-blend: linear-gradient(135deg, #ff4fd8, #4cc9ff, #ffe066);
  
  --text-primary: #fff7ff;
  --text-secondary: #ffdff7;
  --text-muted: #bca6d3;
  
  /* Fonts */
  --font-display: 'Fredoka', cursive, sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Layout */
  --container-width: 1380px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(255, 79, 216, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(76, 201, 255, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(26, 12, 50, 0.5) 0%, #12091c 100%);
  z-index: -2;
  pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #ff4fd8, #4cc9ff);
  border-radius: 5px;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 30px var(--accent-pink-glow); }
  50% { box-shadow: 0 0 50px rgba(255, 79, 216, 0.7); }
}

@keyframes spin-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.5px;
}

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

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--accent-pink);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-pink-glow);
}

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

.btn-primary:hover::before {
  left: 150%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 30px rgba(255, 79, 216, 0.8);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--accent-blue);
  color: #12091c;
  border-color: transparent;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 30px var(--accent-blue-glow);
}

.btn-yellow {
  background: var(--accent-yellow);
  color: #12091c;
  box-shadow: 0 4px 20px var(--accent-yellow-glow);
}

.btn-yellow:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 30px rgba(255, 224, 102, 0.8);
}

.btn-slim {
  padding: 10px 20px;
  font-size: 0.85rem;
  border-radius: 16px;
}

/* FLOATING CANDY DECORATIONS */
.bg-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.candy-item {
  position: absolute;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
  animation: float 6s ease-in-out infinite;
}

.candy-1 { top: 15%; left: 5%; width: 80px; animation-delay: 0s; }
.candy-2 { top: 45%; right: 8%; width: 100px; animation-delay: 1.5s; }
.candy-3 { top: 75%; left: 7%; width: 90px; animation-delay: 3s; }
.candy-4 { top: 25%; right: 12%; width: 70px; animation-delay: 2s; }
.candy-5 { top: 85%; right: 15%; width: 110px; animation-delay: 0.5s; }

/* SLIM, FLUID & NON-STICKY ABSOLUTE HEADER */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-swirl {
  width: 36px;
  height: 36px;
  background: var(--accent-blend);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--accent-pink-glow);
  animation: spin-slow 12s linear infinite;
  font-size: 1.2rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(to right, #fff, #ffdff7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-pink);
  transition: var(--transition-smooth);
  border-radius: 1px;
}

.nav-links a:hover {
  color: #fff;
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* HERO SECTION - REFINED LAYOUT & BACKGROUND EFFECTS */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 150px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-image: linear-gradient(to bottom, rgba(18, 9, 28, 0.85) 0%, rgba(18, 9, 28, 0.96) 100%), url('images/beautiful-neon-candy-castle-design-highlighting-digital-dess.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Modern back illumination grids */
.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 130%;
  background: 
    radial-gradient(circle at 35% 30%, rgba(255, 79, 216, 0.16) 0%, transparent 50%),
    radial-gradient(circle at 65% 70%, rgba(76, 201, 255, 0.16) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

.hero-center-layout {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.text-center-mx {
  margin-left: auto;
  margin-right: auto;
}

.hero-badge {
  align-self: center;
  background: rgba(255, 79, 216, 0.12);
  border: 1px solid rgba(255, 79, 216, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #ff7fd1;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #ff4fd8;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff4fd8;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  background: linear-gradient(135deg, #fff 20%, #ffd0eb 50%, #7ef3ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.disclaimer-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hero-console-wrap {
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.visual-console.centered-console {
  width: 100%;
  max-width: 440px;
  background: rgba(29, 16, 48, 0.85);
  backdrop-filter: blur(24px);
  border: 1.5px solid rgba(255, 79, 216, 0.2);
  border-radius: 28px;
  padding: 20px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.visual-console.centered-console:hover {
  transform: translateY(-8px);
  border-color: rgba(76, 201, 255, 0.35);
  box-shadow: 0 0 80px rgba(76, 201, 255, 0.2);
}

.console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.console-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-1 { background: #ff4fd8; }
.dot-2 { background: #4cc9ff; }
.dot-3 { background: #ffe066; }

.console-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.console-screen {
  background: #12091c;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

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

.reel-column {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px;
  align-items: center;
}

.reel-item {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition-smooth);
}

.reel-item.win {
  background: var(--accent-pink);
  box-shadow: 0 0 12px var(--accent-pink-glow);
  transform: scale(1.08);
  animation: wave 2s infinite ease-in-out;
}

.console-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.spin-btn-mock {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-blend);
  border: none;
  box-shadow: 0 0 12px rgba(255, 79, 216, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.spin-btn-mock:hover {
  transform: scale(1.05);
}

.hero-stats.centered-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  width: 100%;
  max-width: 600px;
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  background: var(--accent-blend);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* GAME SECTION */
.game-section {
  padding: 120px 0 80px;
  position: relative;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-intro h2 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #fff 0%, #ff7fd1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-intro p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.game-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 20px;
  box-shadow: var(--glass-shadow);
  position: relative;
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.game-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
}

.status-dot-pulse {
  width: 10px;
  height: 10px;
  background: #39ff14;
  border-radius: 50%;
  box-shadow: 0 0 8px #39ff14;
  animation: pulse-glow 2s infinite;
}

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

.game-action-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.game-action-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

.game-iframe-container {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
}

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

.game-footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.game-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 70%;
}

/* CARDS / FEATURES SECTION */
.features-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  position: relative;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 30px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 79, 216, 0.25);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.feature-card:nth-child(1):hover::before { background: var(--accent-pink); }
.feature-card:nth-child(2):hover::before { background: var(--accent-blue); }
.feature-card:nth-child(3):hover::before { background: var(--accent-yellow); }

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.feature-card:nth-child(1) .feature-icon-wrapper {
  background: rgba(255, 79, 216, 0.12);
  color: #ff4fd8;
}
.feature-card:nth-child(2) .feature-icon-wrapper {
  background: rgba(76, 201, 255, 0.12);
  color: #4cc9ff;
}
.feature-card:nth-child(3) .feature-icon-wrapper {
  background: rgba(255, 224, 102, 0.12);
  color: #ffe066;
}

.feature-card h3 {
  font-size: 1.4rem;
  color: #fff;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ABOUT / INFORMATION SYSTEM */
.about-section {
  padding: 80px 0;
  position: relative;
}

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

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-image {
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--glass-shadow);
  transform: rotate(-1.5deg);
  transition: var(--transition-smooth);
}

.about-image:hover {
  transform: rotate(0) scale(1.01);
}

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

.about-content h2 {
  font-size: 2.6rem;
  background: var(--accent-blend);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* STATS AREA */
.stats-banner {
  background: linear-gradient(90deg, #1d1030 0%, #2a1745 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 50px 0;
  margin: 40px 0;
}

.stats-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

/* CONTACT SYSTEM */
.contact-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #ff4fd8;
  border: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: #fff;
}

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

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

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

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

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

/* LEGAL DOCUMENTS & SUBPAGES STYLE */
.legal-page {
  padding: 120px 0 80px;
  min-height: 80vh;
}

.legal-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--glass-shadow);
}

.legal-header {
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 20px;
}

.legal-header h1 {
  font-size: 2.6rem;
  background: var(--accent-blend);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.legal-content {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-top: 15px;
  font-family: var(--font-display);
}

.legal-content ul, .legal-content ol {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-content p strong {
  color: #fff;
}

.legal-page-padding {
  padding-top: 130px;
}

/* MODALS */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 9, 28, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  padding: 20px;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--bg-secondary);
  border: 2px solid rgba(255, 79, 216, 0.2);
  border-radius: 28px;
  padding: 30px;
  max-width: 550px;
  width: 100%;
  box-shadow: var(--glass-shadow);
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal.active .modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.close-modal:hover {
  background: var(--accent-pink);
  transform: rotate(90deg);
}

.modal-title {
  font-size: 1.8rem;
  background: var(--accent-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

/* FOOTER */
footer {
  background: rgba(18, 9, 28, 0.95);
  border-top: 1px solid rgba(255, 79, 216, 0.15);
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-blend);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 30px;
  margin-bottom: 40px;
}

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

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

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 15px;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent-blue);
}

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

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

.footer-links a:hover {
  color: #ff4fd8;
  transform: translateX(4px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-disclaimer-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-disclaimer-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 950px;
  margin: 0 auto;
  line-height: 1.6;
}

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

/* DYNAMIC TAB CONTROLLER FOR VIEWS */
.view-section {
  display: none;
}

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

/* MOBILE BOTTOM NAVIGATION */
.mobile-bottom-nav {
  display: none;
}

/* RESPONSIVE DESIGN & CLEAN RESOLUTION LAYOUTS */
@media (max-width: 1200px) {
  .hero-center-layout {
    text-align: center;
  }
  
  .hero-badge, .hero-buttons {
    align-self: center;
  }
  
  .hero-stats {
    justify-content: center;
  }

  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-visual {
    order: -1;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .stats-banner-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 10px 0;
  }
  
  .nav-container {
    padding: 8px 16px;
    border-radius: 14px;
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
  
  .legal-card {
    padding: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  /* Mobile Sticky Bottom Bar */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 9, 28, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 79, 216, 0.3);
    z-index: 999;
    justify-content: space-around;
    padding: 10px 0;
    border-radius: 16px 16px 0 0;
  }
  
  .mobile-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-family: var(--font-display);
    text-transform: uppercase;
  }
  
  .mobile-nav-btn.active {
    color: #ff4fd8;
  }
  
  .mobile-nav-btn span {
    font-size: 1.1rem;
  }
  
  body {
    padding-bottom: 60px;
  }
}