﻿/* ============================================
   Tipa Social - Neon Aurora Theme
   Free Simulated Gambling Games | Free Play Only
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700;800&family=DM+Sans:wght@400;500;700&display=swap');

/* CSS Variables */
:root {
  --night-deep: #0a0a1a;
  --night-mid: #0d1321;
  --night-light: #151d30;
  --aurora-green: #00e676;
  --aurora-green-light: #69f0ae;
  --aurora-purple: #d500f9;
  --aurora-purple-light: #e040fb;
  --soft-pink: #ff80ab;
  --text-primary: #ffffff;
  --text-secondary: #b8c4d4;
  --text-muted: #6b7a90;
  --glass-bg: rgba(13, 19, 33, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.04);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --aurora-gradient: linear-gradient(135deg, var(--aurora-green), var(--aurora-purple), var(--soft-pink));
  --aurora-gradient-text: linear-gradient(135deg, var(--aurora-green), var(--aurora-green-light), var(--aurora-purple-light), var(--soft-pink));
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--night-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* ============================================
   AURORA SHIMMER ANIMATION
   ============================================ */
@keyframes auroraShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes auroraPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes auroraFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(2deg); }
  66% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 230, 118, 0.3), 0 0 40px rgba(213, 0, 249, 0.2); }
  50% { box-shadow: 0 0 30px rgba(0, 230, 118, 0.5), 0 0 60px rgba(213, 0, 249, 0.3); }
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

@keyframes textGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes borderGlow {
  0% { border-color: var(--aurora-green); }
  33% { border-color: var(--aurora-purple); }
  66% { border-color: var(--soft-pink); }
  100% { border-color: var(--aurora-green); }
}

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

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* ============================================
   FLOATING PARTICLES
   ============================================ */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

.particle:nth-child(odd) {
  background: var(--aurora-green);
  box-shadow: 0 0 10px var(--aurora-green);
}

.particle:nth-child(even) {
  background: var(--aurora-purple);
  box-shadow: 0 0 10px var(--aurora-purple);
}

.particle:nth-child(3n) {
  background: var(--soft-pink);
  box-shadow: 0 0 10px var(--soft-pink);
}

.particle:nth-child(1) { left: 10%; animation-duration: 15s; animation-delay: 0s; width: 3px; height: 3px; }
.particle:nth-child(2) { left: 20%; animation-duration: 18s; animation-delay: 2s; width: 5px; height: 5px; }
.particle:nth-child(3) { left: 35%; animation-duration: 12s; animation-delay: 4s; }
.particle:nth-child(4) { left: 45%; animation-duration: 20s; animation-delay: 1s; width: 2px; height: 2px; }
.particle:nth-child(5) { left: 55%; animation-duration: 16s; animation-delay: 3s; }
.particle:nth-child(6) { left: 65%; animation-duration: 14s; animation-delay: 5s; width: 6px; height: 6px; }
.particle:nth-child(7) { left: 75%; animation-duration: 19s; animation-delay: 2.5s; }
.particle:nth-child(8) { left: 85%; animation-duration: 13s; animation-delay: 1.5s; width: 3px; height: 3px; }
.particle:nth-child(9) { left: 92%; animation-duration: 17s; animation-delay: 4.5s; }
.particle:nth-child(10) { left: 5%; animation-duration: 21s; animation-delay: 0.5s; width: 4px; height: 4px; }
.particle:nth-child(11) { left: 28%; animation-duration: 14s; animation-delay: 3.5s; }
.particle:nth-child(12) { left: 50%; animation-duration: 16s; animation-delay: 6s; width: 2px; height: 2px; }
.particle:nth-child(13) { left: 72%; animation-duration: 19s; animation-delay: 1.8s; }
.particle:nth-child(14) { left: 88%; animation-duration: 15s; animation-delay: 4.2s; width: 5px; height: 5px; }
.particle:nth-child(15) { left: 42%; animation-duration: 22s; animation-delay: 0.8s; }

/* ============================================
   GLASS MORPHISM UTILITIES
   ============================================ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.glass-light {
  background: var(--glass-highlight);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}

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

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   DISCLAIMER BANNER
   ============================================ */
.disclaimer-banner {
  background: linear-gradient(90deg, rgba(213, 0, 249, 0.15), rgba(0, 230, 118, 0.15));
  border-bottom: 1px solid var(--glass-border);
  padding: 8px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.disclaimer-banner strong {
  color: var(--soft-pink);
  font-weight: 700;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--aurora-gradient-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradient 4s ease infinite;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.logo span {
  font-weight: 300;
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--aurora-green-light);
  background: rgba(0, 230, 118, 0.08);
}

button.nav-link {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.auth-play-link {
  color: var(--night-deep);
  background: var(--aurora-gradient);
  font-weight: 700;
}

.auth-play-link:hover {
  color: var(--night-deep);
  background: linear-gradient(135deg, var(--aurora-green-light), var(--soft-pink));
}

.auth-user-control {
  color: var(--aurora-green-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--aurora-gradient);
  border-radius: 2px;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aurora-purple), var(--soft-pink));
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  margin-left: 8px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--aurora-green);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(10, 10, 26, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid var(--glass-border);
  padding: 80px 30px 30px;
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav .nav-link {
  display: block;
  padding: 16px 20px;
  font-size: 1.1rem;
  border-radius: 12px;
  margin-bottom: 8px;
}

.mobile-nav .age-badge {
  margin: 20px auto 0;
  width: 50px;
  height: 50px;
  font-size: 0.9rem;
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
}

/* Account modal */
.auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 4, 15, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

body.auth-modal-open {
  overflow: hidden;
}

.auth-modal-panel {
  position: relative;
  width: min(100%, 440px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 36px;
  border: 1px solid rgba(105, 240, 174, 0.25);
  border-radius: 8px;
  background: rgba(10, 10, 26, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.auth-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.auth-kicker {
  margin-bottom: 10px;
  color: var(--aurora-green-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.auth-form h2 {
  margin-bottom: 8px;
  font-size: 1.8rem;
}

.auth-form > p {
  margin-bottom: 22px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.auth-form label:not(.auth-consent) {
  display: block;
  margin: 14px 0 6px;
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 600;
}

.auth-form input:not([type="checkbox"]) {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font: inherit;
}

.auth-form input:not([type="checkbox"]):focus {
  border-color: var(--aurora-green);
}

.auth-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 0.83rem;
  line-height: 1.5;
}

.auth-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--aurora-green);
}

.auth-consent a,
.auth-switch button {
  color: var(--aurora-green-light);
  text-decoration: underline;
}

.auth-message {
  min-height: 21px;
  margin-top: 14px;
  color: var(--soft-pink);
  font-size: 0.84rem;
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.auth-form .auth-switch {
  margin: 18px 0 0;
  text-align: center;
}

.auth-switch button {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.auth-form[hidden] {
  display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 20px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(0, 230, 118, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(213, 0, 249, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 128, 171, 0.08) 0%, transparent 50%);
  animation: auroraShimmer 12s ease-in-out infinite;
  background-size: 200% 200%;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 40%, rgba(0, 230, 118, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(213, 0, 249, 0.05) 0%, transparent 40%);
  animation: auroraShimmer 15s ease-in-out infinite reverse;
  background-size: 200% 200%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--aurora-green-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: var(--aurora-gradient-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradient 5s ease infinite, fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 16px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-disclaimer {
  font-size: 0.85rem;
  color: var(--soft-pink);
  font-weight: 600;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.5s forwards;
  opacity: 0;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--aurora-green), var(--aurora-green-light));
  color: var(--night-deep);
  box-shadow: 0 4px 20px rgba(0, 230, 118, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 230, 118, 0.4);
}

.btn-secondary {
  background: rgba(213, 0, 249, 0.15);
  color: var(--aurora-purple-light);
  border: 1px solid rgba(213, 0, 249, 0.3);
}

.btn-secondary:hover {
  background: rgba(213, 0, 249, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(213, 0, 249, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--aurora-green);
  border: 1px solid var(--aurora-green);
}

.btn-outline:hover {
  background: rgba(0, 230, 118, 0.1);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 10px;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(213, 0, 249, 0.1);
  border: 1px solid rgba(213, 0, 249, 0.2);
  color: var(--aurora-purple-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  background: var(--aurora-gradient-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradient 5s ease infinite;
}

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

/* ============================================
   GAME CARDS
   ============================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.game-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--night-mid);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  animation: glowPulse 4s ease-in-out infinite;
}

.game-card:nth-child(2) { animation-delay: 1s; }
.game-card:nth-child(3) { animation-delay: 2s; }
.game-card:nth-child(4) { animation-delay: 3s; }

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 230, 118, 0.15), 0 20px 60px rgba(213, 0, 249, 0.1);
}

.game-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--aurora-green), var(--aurora-purple), var(--soft-pink), var(--aurora-green));
  background-size: 400% 400%;
  animation: auroraShimmer 6s ease infinite;
  border-radius: 21px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.game-card:hover::before {
  opacity: 1;
}

.game-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.game-card:hover .game-card-image img {
  transform: scale(1.08);
}

.game-card-image .free-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 14px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--aurora-green), var(--aurora-green-light));
  color: var(--night-deep);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-card-body {
  padding: 20px;
}

.game-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.game-card-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.game-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 20px;
}

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

.game-tag {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 230, 118, 0.1);
  color: var(--aurora-green-light);
  font-size: 0.75rem;
  font-weight: 500;
}

.game-tag.purple {
  background: rgba(213, 0, 249, 0.1);
  color: var(--aurora-purple-light);
}

/* ============================================
   FEATURES / THE AURORA WAY
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  border-radius: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 230, 118, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.15), rgba(213, 0, 249, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

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

/* ============================================
   RESPONSIBLE GAMBLING SECTION
   ============================================ */
.rg-section {
  background: linear-gradient(180deg, var(--night-deep) 0%, var(--night-mid) 100%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.rg-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.rg-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aurora-purple), var(--soft-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.rg-content h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.rg-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

/* ============================================
   MAGNENTAL COINS BANNER
   ============================================ */
.magnental-banner {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.08), rgba(213, 0, 249, 0.08), rgba(255, 128, 171, 0.08));
  border: 1px solid rgba(0, 230, 118, 0.15);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  margin: 40px 0;
}

.magnental-banner h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  background: var(--aurora-gradient-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradient 4s ease infinite;
}

.magnental-banner p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ============================================
   AGE VERIFICATION MODAL
   ============================================ */
.age-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.age-modal-content {
  max-width: 480px;
  width: 100%;
  text-align: center;
  padding: 48px 40px;
  border-radius: 24px;
  background: rgba(13, 19, 33, 0.95);
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.6s ease;
}

.age-modal-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--aurora-gradient-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradient 4s ease infinite;
  margin-bottom: 24px;
}

.age-modal-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aurora-purple), var(--soft-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.age-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.age-modal p {
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.age-modal .disclaimer {
  background: rgba(255, 128, 171, 0.1);
  border: 1px solid rgba(255, 128, 171, 0.2);
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
}

.age-modal .disclaimer p {
  color: var(--soft-pink);
  font-weight: 600;
  font-size: 0.85rem;
  margin: 0;
}

.age-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(180deg, var(--night-deep) 0%, rgba(10, 10, 26, 1) 100%);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 0;
  position: relative;
  z-index: 1;
}

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

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.3);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-column ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-column ul li a:hover {
  color: var(--aurora-green-light);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

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

.footer-bottom-links a:hover {
  color: var(--aurora-green-light);
}

.footer-rg {
  background: rgba(255, 128, 171, 0.08);
  border: 1px solid rgba(255, 128, 171, 0.15);
  border-radius: 12px;
  padding: 16px 24px;
  margin-top: 30px;
  text-align: center;
}

.footer-rg p {
  color: var(--soft-pink);
  font-size: 0.85rem;
  font-weight: 500;
}

.compliance-disclaimer {
  background: rgba(213, 0, 249, 0.06);
  border-top: 1px solid var(--glass-border);
  padding: 20px 20px;
  text-align: center;
  margin-top: 30px;
}

.compliance-disclaimer p {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  max-width: 1100px;
  margin: 0 auto;
}

.compliance-disclaimer strong {
  color: var(--text-secondary);
}

/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(0, 230, 118, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(213, 0, 249, 0.08) 0%, transparent 50%);
  animation: auroraShimmer 12s ease-in-out infinite;
  background-size: 200% 200%;
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  background: var(--aurora-gradient-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradient 5s ease infinite;
  margin-bottom: 16px;
}

.page-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.page-header .disclaimer-inline {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(255, 128, 171, 0.1);
  border: 1px solid rgba(255, 128, 171, 0.2);
  color: var(--soft-pink);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================
   CONTENT PAGES
   ============================================ */
.content-section {
  padding: 60px 0;
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.content-block h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  margin-top: 32px;
  color: var(--text-primary);
}

.content-block p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-block ul {
  margin-bottom: 16px;
}

.content-block ul li {
  color: var(--text-secondary);
  padding: 6px 0 6px 24px;
  position: relative;
}

.content-block ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--aurora-green);
}

.content-block strong {
  color: var(--text-primary);
}

.content-block a {
  color: var(--aurora-green-light);
}

.content-block a:hover {
  text-decoration: underline;
}

.highlight-box {
  background: rgba(0, 230, 118, 0.05);
  border: 1px solid rgba(0, 230, 118, 0.15);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.highlight-box.warning {
  background: rgba(255, 128, 171, 0.05);
  border-color: rgba(255, 128, 171, 0.15);
}

.highlight-box p {
  margin-bottom: 8px;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

/* ============================================
   GAME PAGE - IFRAME
   ============================================ */
.game-page-container {
  padding-top: 100px;
}

.game-iframe-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 40px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
}

.game-iframe-wrapper iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
  background: #000;
  transition: filter 0.35s ease, transform 0.35s ease;
}

.game-iframe-wrapper.auth-game-locked iframe {
  filter: blur(14px) brightness(0.45);
  transform: scale(1.03);
  pointer-events: none;
  user-select: none;
}

.game-auth-gate {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 5, 17, 0.42);
  text-align: center;
}

.game-auth-gate[hidden] {
  display: none;
}

.game-auth-gate-content {
  width: min(100%, 460px);
  padding: 32px;
  border: 1px solid rgba(105, 240, 174, 0.28);
  border-radius: 8px;
  background: rgba(10, 10, 26, 0.92);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.game-auth-gate-content h2 {
  margin-bottom: 10px;
  font-size: 1.7rem;
}

.game-auth-gate-content p {
  margin-bottom: 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.game-auth-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.game-auth-actions .btn {
  min-width: 130px;
}

@media (max-width: 479px) {
  .game-auth-gate {
    padding: 16px;
  }

  .game-auth-gate-content {
    min-width: 0;
    padding: 24px 18px;
  }

  .game-auth-actions {
    gap: 8px;
  }

  .game-auth-actions .btn {
    flex: 1;
    min-width: 0;
    padding-right: 12px;
    padding-left: 12px;
  }
}

.game-info {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.game-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  background: var(--aurora-gradient-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradient 5s ease infinite;
}

.game-info .game-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.game-meta-item {
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.game-meta-item strong {
  color: var(--aurora-green-light);
}

.game-warning {
  background: rgba(255, 128, 171, 0.08);
  border: 1px solid rgba(255, 128, 171, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
}

.game-warning p {
  color: var(--soft-pink);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Mobile First - Default is mobile */

/* Small phones (< 480px) */
@media (max-width: 479px) {
  .hero {
    padding: 100px 16px 60px;
    min-height: 90vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 0.95rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .age-modal-content {
    padding: 32px 24px;
  }
  
  .age-modal-buttons {
    flex-direction: column;
  }
  
  .rg-content {
    flex-direction: column;
    text-align: center;
  }
  
  .magnental-banner {
    padding: 30px 20px;
  }
  
  .magnental-banner h3 {
    font-size: 1.4rem;
  }
  
  .game-iframe-wrapper iframe {
    height: 400px;
  }
  
  .game-meta {
    flex-direction: column;
  }
}

/* Tablets and small desktops (480px - 768px) */
@media (min-width: 480px) and (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .game-iframe-wrapper iframe {
    height: 500px;
  }
}

/* Tablets (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .game-iframe-wrapper iframe {
    height: 550px;
  }
}

/* Tablet narrow (480px - 768px) - 2-column footer */
@media (min-width: 480px) and (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1025px) {
  .hamburger {
    display: none !important;
  }
  
  .mobile-nav {
    display: none !important;
  }
  
  .mobile-overlay {
    display: none !important;
  }
  
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  
  .game-iframe-wrapper iframe {
    height: 650px;
  }
}

/* Mobile breakpoint - show hamburger below 1025px */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .mobile-overlay {
    display: block;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.py-1 { padding-top: 8px; padding-bottom: 8px; }
.py-2 { padding-top: 16px; padding-bottom: 16px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }

/* Gradient Text Utility */
.gradient-text {
  background: var(--aurora-gradient-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradient 5s ease infinite;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--night-deep);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--aurora-green), var(--aurora-purple));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--aurora-green-light), var(--aurora-purple-light));
}

/* Selection */
::selection {
  background: rgba(0, 230, 118, 0.3);
  color: var(--text-primary);
}

/* Focus styles */
*:focus-visible {
  outline: 2px solid var(--aurora-green);
  outline-offset: 2px;
}

/* ============================================
   RESPONSIBLE GAMBLING PAGE SPECIFIC
   ============================================ */
.rg-hero {
  text-align: center;
  padding: 140px 0 60px;
  position: relative;
}

.rg-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.rg-resource-card {
  padding: 30px;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: var(--transition-smooth);
}

.rg-resource-card:hover {
  border-color: rgba(255, 128, 171, 0.2);
}

.rg-resource-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.rg-resource-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.rg-resource-card a {
  color: var(--aurora-green-light);
  font-weight: 600;
}

.rg-checklist {
  max-width: 600px;
  margin: 30px auto 0;
}

.rg-checklist li {
  padding: 12px 0 12px 36px;
  position: relative;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--glass-border);
}

.rg-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--aurora-green);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-info {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-email {
  display: inline-block;
  padding: 20px 40px;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 1.3rem;
  color: var(--aurora-green-light);
  font-weight: 600;
  margin: 20px 0;
  transition: var(--transition-smooth);
}

.contact-email:hover {
  border-color: rgba(0, 230, 118, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 230, 118, 0.15);
}

/* ============================================
   AURORA CANVAS (HERO)
   ============================================ */
#aurora-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ============================================
   ADDITIONAL ANIMATIONS
   ============================================ */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for grid items */
.games-grid .game-card:nth-child(1) { animation-delay: 0s; }
.games-grid .game-card:nth-child(2) { animation-delay: 0.15s; }
.games-grid .game-card:nth-child(3) { animation-delay: 0.3s; }
.games-grid .game-card:nth-child(4) { animation-delay: 0.45s; }

