/* ===== IRON JOYSTICK - MAIN STYLESHEET ===== */

:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --primary-light: #a78bfa;
  --accent: #f472b6;
  --accent2: #34d399;
  --dark: #0f0a1e;
  --dark2: #1a1035;
  --dark3: #251848;
  --text: #e2d9f3;
  --text-muted: #a89cc8;
  --white: #ffffff;
  --gold: #fbbf24;
  --red: #ef4444;
  --green: #22c55e;
  --border: rgba(124, 58, 237, 0.3);
  --shadow: 0 0 30px rgba(124, 58, 237, 0.3);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, 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: var(--transition);
}

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

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 10, 30, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo span {
  color: var(--primary-light);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

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

.nav-menu a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-light);
  border-bottom-color: var(--primary-light);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 25px !important;
  border-bottom: none !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary)) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

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

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

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

.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.7) 0%, rgba(91,33,182,0.3) 50%, rgba(15,10,30,0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.3);
  border: 1px solid var(--primary-light);
  color: var(--primary-light);
  padding: 0.4rem 1.2rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
  transform: translateY(-3px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #db2777);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(244, 114, 182, 0.4);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(244, 114, 182, 0.6);
  color: var(--white);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

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

.stat-item .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-light);
  display: block;
}

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

/* ===== SECTION COMMON ===== */
.section {
  padding: 5rem 2rem;
}

.section-alt {
  background: var(--dark2);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid var(--border);
  color: var(--primary-light);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

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

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

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

.game-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

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

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

.game-card-body {
  padding: 1.5rem;
}

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

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

.game-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.2);
  color: var(--primary-light);
  padding: 0.2rem 0.7rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

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

.feature-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.2rem;
}

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

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

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

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

.about-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  opacity: 0.5;
}

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

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-list {
  list-style: none;
  margin: 1.5rem 0;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0;
  color: var(--text);
  font-size: 0.95rem;
}

.about-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== NEWSLETTER / CONTACT ===== */
.newsletter-section {
  background: linear-gradient(135deg, var(--dark3), var(--dark2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  margin: 2rem 0;
}

.newsletter-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.8rem;
}

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

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.8rem 1.2rem;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

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

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

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

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-detail-text span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

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

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

.form-success {
  display: none;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--green);
  color: var(--green);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
}

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

.location-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.location-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-3px);
}

.location-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

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

.location-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  padding: 0.2rem 0.7rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

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

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

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

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

.footer-links {
  display: flex;
  gap: 1.5rem;
}

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

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

.disclaimer {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  padding: 1rem;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.6;
}

/* ===== 18+ POPUP ===== */
.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.age-popup {
  background: linear-gradient(135deg, var(--dark2), var(--dark3));
  border: 2px solid var(--primary);
  border-radius: 20px;
  padding: 3rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.5);
  animation: popupIn 0.4s ease;
}

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

.age-popup .age-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.age-popup h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.age-popup h2 span {
  color: var(--accent);
}

.age-popup p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.age-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.age-buttons .btn {
  min-width: 140px;
  justify-content: center;
}

.age-popup .age-note {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

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

.cookie-banner p a {
  color: var(--primary-light);
}

.cookie-actions {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 25px;
}

/* ===== GAMES PAGE ===== */
.page-hero {
  padding: 8rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--dark2) 0%, var(--dark) 100%);
  border-bottom: 1px solid var(--border);
}

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

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

/* ===== SLOT MACHINE GAME ===== */
.game-container {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.game-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.game-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Slot Machine */
.slot-machine {
  background: linear-gradient(135deg, #1a0a3e, #2d1060);
  border: 3px solid var(--gold);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}

.slot-reels {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.slot-reel {
  width: 90px;
  height: 90px;
  background: var(--dark);
  border: 3px solid var(--gold);
  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); }
  25% { transform: translateY(-5px); }
  75% { transform: translateY(5px); }
  100% { transform: translateY(0); }
}

.slot-result {
  min-height: 40px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}

.slot-tokens {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--text);
}

.token-count {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
}

/* Wheel Game */
.wheel-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.wheel-wrap {
  position: relative;
  width: 300px;
  height: 300px;
}

#wheelCanvas {
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
}

.wheel-pointer {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 30px solid var(--gold);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  z-index: 10;
}

.wheel-result {
  min-height: 40px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
}

/* Token Game */
.token-game {
  text-align: center;
}

.token-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  max-width: 320px;
  margin: 0 auto 1.5rem;
}

.token-cell {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  background: var(--dark2);
  position: relative;
}

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

.token-cell.revealed {
  animation: tokenReveal 0.3s ease;
}

@keyframes tokenReveal {
  0% { transform: scale(0.5) rotateY(90deg); }
  100% { transform: scale(1) rotateY(0); }
}

.token-cell.matched {
  border-color: var(--gold);
  background: rgba(251, 191, 36, 0.15);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

.token-score {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.token-score span {
  color: var(--gold);
  font-weight: 900;
  font-size: 1.4rem;
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ===== POLICY PAGES ===== */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.policy-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.policy-content .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.policy-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-light);
  margin: 2rem 0 0.8rem;
}

.policy-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin: 1.5rem 0 0.5rem;
}

.policy-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.policy-content ul,
.policy-content ol {
  color: var(--text-muted);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.policy-content a {
  color: var(--primary-light);
}

.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.policy-content table th,
.policy-content table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.policy-content table th {
  background: var(--dark3);
  color: var(--white);
  font-weight: 600;
}

.policy-content table td {
  color: var(--text-muted);
}

/* ===== RESPONSIBLE GAMING ===== */
.rg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.rg-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.rg-card h4 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* ===== NOTIFICATION ===== */
.notification {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 9000;
  background: var(--dark3);
  border: 1px solid var(--primary);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  min-width: 250px;
  max-width: 350px;
  box-shadow: var(--shadow);
  transform: translateX(120%);
  transition: transform 0.4s ease;
}

.notification.show {
  transform: translateX(0);
}

.notification.success { border-color: var(--green); }
.notification.error { border-color: var(--red); }

.notification-title {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15, 10, 30, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .hamburger {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .age-popup {
    padding: 2rem;
  }
  .slot-reel {
    width: 70px;
    height: 70px;
    font-size: 2.2rem;
  }
  .wheel-wrap {
    width: 240px;
    height: 240px;
  }
  #wheelCanvas {
    width: 240px;
    height: 240px;
  }
  .token-board {
    gap: 0.5rem;
  }
  .token-cell {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .section { padding: 3rem 1rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .newsletter-form { flex-direction: column; }
  .age-buttons { flex-direction: column; align-items: center; }
  .cookie-actions { flex-direction: column; width: 100%; }
  .cookie-actions .btn { width: 100%; justify-content: center; }
}
