/* 
 * Shared Premium Stylesheet - slots-fun.sbs
 * Aesthetic: "Electric Night" (2026 Future-proof Dutch Social Casino)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #0f0f1b;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-modal: rgba(255, 255, 255, 0.03);
  --primary-glow: rgba(168, 85, 247, 0.4);
  --primary: #a855f7;
  --primary-hover: #c084fc;
  --secondary: #eab308;
  --secondary-glow: rgba(234, 179, 8, 0.3);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border-color: rgba(255, 255, 255, 0.12);
  --neon-green: #22c55e;
  --neon-red: #ef4444;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Glowing backdrops for Frosted Glass theme depth */
body::before {
  content: '';
  position: fixed;
  top: -100px;
  left: -100px;
  width: 450px;
  height: 450px;
  background: rgba(168, 85, 247, 0.18); /* bg-purple-600/18 */
  filter: blur(120px);
  border-radius: 9999px;
  z-index: -10;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: -150px;
  right: -100px;
  width: 550px;
  height: 550px;
  background: rgba(234, 179, 8, 0.08); /* bg-yellow-600/8 */
  filter: blur(160px);
  border-radius: 9999px;
  z-index: -10;
  pointer-events: none;
}

h1, h2, h3, .font-heading {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
}

/* Glassmorphism Classes */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.glass-premium {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

/* Typography & Neon Accents */
.text-neon-purple {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary-glow);
}

.text-neon-gold {
  color: var(--secondary);
  text-shadow: 0 0 10px var(--secondary-glow);
}

.border-neon-purple {
  border: 1px solid var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.border-neon-gold {
  border: 1px solid var(--secondary);
  box-shadow: 0 0 15px var(--secondary-glow);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
  background: linear-gradient(135deg, var(--primary-hover) 0%, #a78bfa 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  color: #fff;
}

.btn-gold, #btn-spin {
  background: linear-gradient(135deg, #9333ea 0%, #a855f7 100%) !important;
  color: #ffffff !important;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(147, 51, 234, 0.45) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.btn-gold:hover, #btn-spin:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 15px 45px rgba(147, 51, 234, 0.65) !important;
}

.btn-gold:active, #btn-spin:active {
  transform: scale(0.98) !important;
}

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

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  transition: all 0.3s ease;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.nav-item a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.nav-item a:hover, .nav-item a.active {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Dynamic Live Balans badge */
.balance-badge {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-family: 'Space Grotesk', sans-serif;
}

/* Compliance Headers and Footers */
.compliance-banner {
  background: #fff;
  color: #000;
  text-align: center;
  font-weight: 800;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 100;
  border-bottom: 3px solid #ef4444;
}

.compliance-footer-bar {
  background: #11111e;
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Age Gate Overlay */
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(25px);
  padding: 1.5rem;
}

.age-gate-card {
  max-width: 500px;
  width: 100%;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 1.5rem;
}

/* Cookie Consent Bar */
#cookie-consent {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 800px;
  z-index: 999;
  border-radius: 1rem;
  padding: 1.5rem;
  display: none; /* Controlled via JS */
}

/* Footer structure */
footer {
  background: rgba(10, 10, 20, 0.4) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 4rem 0 2rem 0;
}

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

.footer-column h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 1.25rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Info Cards for Pages */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.game-card {
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 15px 30px rgba(168, 85, 247, 0.2);
}

.game-thumb {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.game-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: bold;
}

.game-info {
  padding: 1.5rem;
}

/* Interactive elements */
.quiz-container {
  margin: 2rem 0;
  padding: 2rem;
  border-radius: 1rem;
}

.quiz-option {
  display: block;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-option:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: var(--primary);
}

/* Animations */
@keyframes spin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-75%); }
}

@keyframes flash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse-subtle {
  animation: flash 2s infinite ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-menu {
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
    gap: 1rem;
  }
  .balance-badge {
    align-self: center;
  }
}
