/* =============================================
   SpawnNetwork.info - Main Stylesheet
   Social Games | Australia
   ============================================= */

:root {
  --primary: #6a0dad;
  --primary-dark: #4a0080;
  --primary-light: #9b30ff;
  --accent: #ffd700;
  --accent-dark: #e6b800;
  --bg-dark: #0d0d1a;
  --bg-card: #1a1a2e;
  --bg-card2: #16213e;
  --text-light: #f0f0f0;
  --text-muted: #aaa;
  --success: #28a745;
  --danger: #dc3545;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(106,13,173,0.25);
  --transition: 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: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* ---- HEADER / NAV ---- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,13,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(106,13,173,0.4);
  padding: 0 24px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent), #ff9800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary);
  color: var(--accent);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
  color: white !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  border-radius: 25px !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(106,13,173,0.5) !important;
}

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

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

/* ---- MOBILE NAV ---- */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: rgba(13,13,26,0.98);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid rgba(106,13,173,0.4);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 16px; }
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/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(180deg, rgba(13,13,26,0.3) 0%, rgba(13,13,26,0.8) 100%);
  z-index: 1;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(106,13,173,0.6);
  border: 1px solid var(--primary-light);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

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

.hero p {
  font-size: 1.15rem;
  color: #ccc;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 20px rgba(106,13,173,0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(106,13,173,0.6);
}

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

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

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #ff9800);
  color: var(--bg-dark);
  box-shadow: 0 4px 20px rgba(255,215,0,0.3);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,215,0,0.5);
}

/* ---- SECTIONS ---- */
section {
  padding: 80px 24px;
}

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

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

.section-tag {
  display: inline-block;
  background: rgba(106,13,173,0.3);
  border: 1px solid var(--primary);
  color: var(--primary-light);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

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

.section-header h2 span {
  color: var(--accent);
}

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

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

.game-card {
  background: var(--bg-card);
  border: 1px solid rgba(106,13,173,0.3);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

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

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

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

.game-card-tag {
  display: inline-block;
  background: rgba(106,13,173,0.4);
  color: var(--primary-light);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.game-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

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

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

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

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

.about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2px solid rgba(106,13,173,0.5);
  pointer-events: none;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.about-content h2 span { color: var(--accent); }

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

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid rgba(106,13,173,0.3);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

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

.stat-box .lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(106,13,173,0.2);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

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

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

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ---- VENUES ---- */
.venues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.venue-card {
  background: var(--bg-card);
  border: 1px solid rgba(106,13,173,0.2);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

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

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

.venue-card .address {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.venue-card .city {
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---- NEWSLETTER ---- */
.newsletter-section {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card2));
  border-top: 1px solid rgba(106,13,173,0.3);
  border-bottom: 1px solid rgba(106,13,173,0.3);
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.newsletter-inner h2 span { color: var(--accent); }

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

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 240px;
  padding: 14px 20px;
  border-radius: 30px;
  border: 1px solid rgba(106,13,173,0.5);
  background: rgba(255,255,255,0.05);
  color: var(--text-light);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--primary-light);
  background: rgba(255,255,255,0.08);
}

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

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

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.8;
}

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

.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(106,13,173,0.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-item-text span {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ---- FORM ---- */
.form-card {
  background: var(--bg-card);
  border: 1px solid rgba(106,13,173,0.3);
  border-radius: var(--radius);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(106,13,173,0.4);
  background: rgba(255,255,255,0.04);
  color: var(--text-light);
  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);
  background: rgba(255,255,255,0.07);
}

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

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

.form-success {
  display: none;
  background: rgba(40,167,69,0.15);
  border: 1px solid var(--success);
  border-radius: 8px;
  padding: 16px;
  color: #5cb85c;
  text-align: center;
  margin-top: 16px;
  font-weight: 600;
}

/* ---- FOOTER ---- */
footer {
  background: var(--bg-card);
  border-top: 1px solid rgba(106,13,173,0.3);
  padding: 60px 24px 24px;
}

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

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

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.7;
}

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

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

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

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

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

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

.responsible-gaming {
  background: rgba(106,13,173,0.1);
  border: 1px solid rgba(106,13,173,0.3);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 32px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

/* ---- 18+ POPUP ---- */
.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-popup {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card2));
  border: 2px solid var(--primary);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(106,13,173,0.5);
  animation: popIn 0.4s ease;
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.age-badge {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: white;
  margin: 0 auto 24px;
  border: 3px solid var(--accent);
}

.age-popup h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

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

.age-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.age-btns .btn {
  flex: 1;
  justify-content: center;
}

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(26,26,46,0.97);
  border-top: 1px solid rgba(106,13,173,0.5);
  padding: 16px 24px;
  z-index: 5000;
  display: none;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

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

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

.cookie-btns button {
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.btn-accept:hover { background: var(--primary-light); }

.btn-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.2) !important;
}

.btn-decline:hover { color: var(--text-light); }

/* ---- PAGE HEADER (inner pages) ---- */
.page-header {
  padding: 140px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(106,13,173,0.15) 0%, transparent 100%);
  border-bottom: 1px solid rgba(106,13,173,0.2);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.page-header h1 span { color: var(--accent); }

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

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

.policy-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 36px 0 12px;
}

.policy-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-light);
  margin: 24px 0 8px;
}

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

.policy-content ul {
  color: var(--text-muted);
  padding-left: 24px;
  margin-bottom: 14px;
  line-height: 1.8;
}

.policy-content ul li { margin-bottom: 6px; }

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

.policy-meta {
  background: rgba(106,13,173,0.1);
  border: 1px solid rgba(106,13,173,0.3);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---- GAMES PAGE ---- */
.games-page-section {
  padding: 140px 24px 80px;
}

/* ---- SLOT MACHINE ---- */
.slot-machine-wrapper {
  max-width: 480px;
  margin: 0 auto 60px;
}

.slot-machine {
  background: linear-gradient(180deg, #1a0033, #2d0060);
  border: 3px solid var(--accent);
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow: 0 0 40px rgba(255,215,0,0.2), inset 0 0 40px rgba(0,0,0,0.5);
  text-align: center;
}

.slot-machine h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(255,215,0,0.5);
}

.slot-machine .coins-display {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 20px;
}

.slot-machine .coins-display span {
  color: var(--accent);
  font-weight: 700;
}

.reels-container {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.reel {
  width: 90px;
  height: 90px;
  background: white;
  border-radius: 10px;
  border: 3px solid #333;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
}

.reel-inner {
  position: absolute;
  top: 0; left: 0; right: 0;
  transition: top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reel-symbol {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: white;
}

.slot-result {
  min-height: 32px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  text-shadow: 0 0 8px rgba(255,215,0,0.4);
}

.slot-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.slot-btns button {
  padding: 12px 24px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-spin {
  background: linear-gradient(135deg, #e60000, #ff4444);
  color: white;
  box-shadow: 0 4px 15px rgba(230,0,0,0.4);
}

.btn-spin:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,0,0,0.6);
}

.btn-spin:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-reset {
  background: rgba(255,255,255,0.1);
  color: #ccc;
  border: 1px solid rgba(255,255,255,0.2) !important;
}

.btn-reset:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}

/* ---- WHEEL ---- */
.wheel-wrapper {
  max-width: 480px;
  margin: 0 auto 60px;
  text-align: center;
}

.wheel-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(255,215,0,0.5);
}

.wheel-coins {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 20px;
}

.wheel-coins span {
  color: var(--accent);
  font-weight: 700;
}

.wheel-container {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto 20px;
}

.wheel-canvas {
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(255,215,0,0.3);
}

.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: 30px solid var(--accent);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  z-index: 10;
}

.wheel-result {
  min-height: 32px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.btn-spin-wheel {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 14px 36px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(106,13,173,0.4);
}

.btn-spin-wheel:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(106,13,173,0.6);
}

.btn-spin-wheel:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---- COIN FLIP ---- */
.coin-flip-wrapper {
  max-width: 400px;
  margin: 0 auto 60px;
  text-align: center;
}

.coin-flip-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.coin-flip-coins {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 20px;
}

.coin-flip-coins span {
  color: var(--accent);
  font-weight: 700;
}

.coin-scene {
  perspective: 600px;
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
}

.coin {
  width: 140px;
  height: 140px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.coin.flip-heads { transform: rotateY(1800deg); }
.coin.flip-tails { transform: rotateY(1980deg); }

.coin-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  backface-visibility: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.coin-heads {
  background: radial-gradient(circle, #ffd700, #e6b800);
  border: 4px solid #c8960c;
}

.coin-tails {
  background: radial-gradient(circle, #c0c0c0, #a0a0a0);
  border: 4px solid #808080;
  transform: rotateY(180deg);
}

.coin-choice-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.choice-btn {
  padding: 10px 24px;
  border-radius: 20px;
  border: 2px solid rgba(255,215,0,0.4);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.choice-btn.selected,
.choice-btn:hover {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}

.coin-result {
  min-height: 32px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.btn-flip {
  background: linear-gradient(135deg, #ff6b00, #ff9800);
  color: white;
  padding: 14px 36px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(255,107,0,0.4);
}

.btn-flip:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,107,0,0.6);
}

.btn-flip:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---- TABS ---- */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(106,13,173,0.3);
  padding-bottom: 0;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: var(--transition);
  border-radius: 8px 8px 0 0;
}

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: rgba(255,215,0,0.05);
}

.tab-btn:hover:not(.active) {
  color: var(--text-light);
  background: rgba(255,255,255,0.03);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- WIN ANIMATION ---- */
@keyframes winPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.win-anim { animation: winPulse 0.5s ease 3; }

/* ---- CONFETTI ---- */
.confetti-container {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  pointer-events: none;
  z-index: 8000;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -10px;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  to {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 600px) {
  section { padding: 60px 16px; }
  .age-popup { padding: 32px 20px; }
  .age-btns { flex-direction: column; }
  .form-card { padding: 24px 16px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .wheel-container { width: 260px; height: 260px; }
  .wheel-canvas { width: 260px; height: 260px; }
}

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.hidden { display: none !important; }
