/* =============================================
   ByteQuest.pro — Main Stylesheet
   ============================================= */

:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --primary-light: #a78bfa;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --dark: #0f0a1e;
  --dark-2: #1a1035;
  --dark-3: #251a4a;
  --text: #e2d9f3;
  --text-muted: #9d8ec4;
  --white: #ffffff;
  --success: #10b981;
  --danger: #ef4444;
  --border: rgba(124, 58, 237, 0.3);
  --shadow: 0 4px 32px rgba(124, 58, 237, 0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

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

ul {
  list-style: none;
}

/* =============================================
   COOKIE BANNER
   ============================================= */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-3);
  border-top: 2px solid var(--primary);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}

#cookie-banner p {
  font-size: 0.875rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 200px;
}

#cookie-banner p a {
  color: var(--primary-light);
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =============================================
   AGE VERIFICATION POPUP
   ============================================= */
#age-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(8px);
}

.age-popup-box {
  background: var(--dark-2);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.5);
}

.age-popup-box .age-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.age-popup-box h2 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 8px;
}

.age-popup-box p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.age-popup-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.age-popup-btns .btn-yes {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.age-popup-btns .btn-yes:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.age-popup-btns .btn-no {
  background: transparent;
  color: var(--text-muted);
  border: 2px solid var(--border);
  padding: 14px 36px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.age-popup-btns .btn-no:hover {
  border-color: var(--danger);
  color: var(--danger);
}

/* =============================================
   HEADER / NAV
   ============================================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 10, 30, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav-logo span {
  color: var(--accent);
}

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

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(124, 58, 237, 0.2);
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
  color: var(--white);
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  color: var(--dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,10,30,0.8) 0%, rgba(91,33,182,0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid var(--primary);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.85rem;
  color: var(--primary-light);
  margin-bottom: 24px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

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

/* =============================================
   GAMES GRID (HOME)
   ============================================= */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.game-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
  color: inherit;
}

.game-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.game-card-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.2);
  color: var(--primary-light);
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.game-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.game-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.game-card .btn {
  width: 100%;
}

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

.feature-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

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

/* =============================================
   NEWSLETTER SECTION
   ============================================= */
.newsletter-section {
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  margin: 0 24px 80px;
}

.newsletter-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.newsletter-section p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--primary);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-success {
  display: none;
  color: var(--success);
  font-weight: 600;
  margin-top: 12px;
}

/* =============================================
   LOCATIONS SECTION
   ============================================= */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.location-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}

.location-card:hover {
  border-color: var(--primary);
}

.location-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.location-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.location-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent);
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-hero {
  position: relative;
  padding: 120px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/about-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.25);
  z-index: 0;
}

.about-hero > * {
  position: relative;
  z-index: 1;
}

.about-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.about-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.about-content img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.value-item {
  background: var(--dark-3);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
}

.value-item .icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.value-item h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.value-item p {
  color: var(--text-muted);
  font-size: 0.825rem;
  margin: 0;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-item-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
}

.contact-form-box {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-form-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select option {
  background: var(--dark-2);
}

.form-success {
  display: none;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--success);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--success);
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}

/* =============================================
   GAMES PAGE
   ============================================= */
.page-hero {
  padding: 100px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--dark-3) 0%, var(--dark) 100%);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* =============================================
   WHEEL GAME
   ============================================= */
.game-section {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 40px;
}

.game-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.game-section > p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.wheel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.wheel-wrapper {
  position: relative;
  display: inline-block;
}

.wheel-pointer {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 28px solid var(--accent);
  filter: drop-shadow(0 2px 8px rgba(245,158,11,0.7));
  z-index: 10;
}

#wheelCanvas {
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.5), 0 0 80px rgba(124, 58, 237, 0.2);
  display: block;
}

.wheel-result {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 32px;
  text-align: center;
  min-width: 240px;
}

.wheel-result .result-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.wheel-result .result-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

/* =============================================
   SLOT MACHINE
   ============================================= */
.slot-machine {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.slot-display {
  background: var(--dark);
  border: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.4), inset 0 0 20px rgba(0,0,0,0.5);
}

.slot-reels {
  display: flex;
  gap: 8px;
}

.slot-reel {
  width: 90px;
  height: 90px;
  background: var(--dark-3);
  border: 2px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
  position: relative;
}

.slot-reel.spinning {
  animation: reelSpin 0.1s linear infinite;
}

@keyframes reelSpin {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

.slot-line {
  width: 100%;
  height: 2px;
  background: var(--accent);
  margin: 8px 0;
  opacity: 0.6;
}

.slot-info {
  display: flex;
  gap: 32px;
  text-align: center;
}

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

.slot-stat .s-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.slot-stat .s-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

.slot-result-msg {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--success);
  min-height: 28px;
  text-align: center;
}

.slot-paytable {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  width: 100%;
  max-width: 400px;
}

.slot-paytable h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-align: center;
}

.paytable-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.875rem;
}

.paytable-row:last-child {
  border-bottom: none;
}

.paytable-row .symbols {
  font-size: 1.2rem;
  letter-spacing: 4px;
}

.paytable-row .pts {
  color: var(--accent);
  font-weight: 700;
}

/* =============================================
   TOKEN GAME
   ============================================= */
.token-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.token-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 24px;
  background: var(--dark);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
}

.token-cell {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  position: relative;
}

.token-cell:hover {
  transform: scale(1.1);
  border-color: var(--accent);
}

.token-cell.selected {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.6);
  transform: scale(1.15);
}

.token-cell.matched {
  animation: tokenMatch 0.5s ease forwards;
}

@keyframes tokenMatch {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(0); opacity: 0; }
}

.token-info {
  display: flex;
  gap: 32px;
  text-align: center;
}

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

.token-stat .t-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.token-stat .t-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

.token-msg {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-light);
  min-height: 28px;
  text-align: center;
}

/* =============================================
   POLICY PAGES
   ============================================= */
.policy-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 24px;
}

.policy-page h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}

.policy-meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.policy-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin: 32px 0 12px;
}

.policy-page h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-light);
  margin: 20px 0 8px;
}

.policy-page p {
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.8;
}

.policy-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.policy-page ul li {
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.7;
}

.policy-page a {
  color: var(--primary-light);
  text-decoration: underline;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 60px 24px 24px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand .logo img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

.footer-brand .logo span {
  color: var(--accent);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-disclaimer {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 8px;
  padding: 12px;
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

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

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

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

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

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

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--danger);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--dark-2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 24px;
  }

  .slot-reel {
    width: 70px;
    height: 70px;
    font-size: 2.2rem;
  }

  .token-cell {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }

  .token-board {
    gap: 6px;
    padding: 16px;
  }

  .newsletter-section {
    margin: 0 12px 60px;
    padding: 40px 20px;
  }

  .game-section {
    padding: 24px 16px;
  }
}

/* =============================================
   UTILITY
   ============================================= */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.w-full { width: 100%; }

.highlight {
  color: var(--accent);
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* Glow effects */
.glow-text {
  text-shadow: 0 0 20px rgba(124, 58, 237, 0.6);
}

/* Win animation */
@keyframes winPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 40px rgba(16, 185, 129, 0.8); }
}

.win-glow {
  animation: winPulse 0.8s ease infinite;
}
