/* ============================================
   PlayNaijaZone - Main Stylesheet
   Social Casino Entertainment Platform
   ============================================ */

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

/* --- CSS Variables --- */
:root {
  --gold: #D4AF37;
  --gold-light: #F0D060;
  --gold-dark: #A07820;
  --green: #00C853;
  --green-dark: #007B33;
  --deep: #0A0A0F;
  --dark: #12121A;
  --card: #1A1A28;
  --card2: #20203A;
  --border: rgba(212,175,55,0.18);
  --text: #E8E8F0;
  --text-muted: #888899;
  --red: #C0392B;
  --purple: #6C3483;
  --radius: 14px;
  --shadow-gold: 0 0 30px rgba(212,175,55,0.2);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--deep);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ============================================
   AGE GATE OVERLAY
   ============================================ */
#age-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(ellipse at center, #1a1a28 0%, #050508 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.age-gate-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 480px; width: 100%;
  text-align: center;
  box-shadow: 0 0 60px rgba(212,175,55,0.15), 0 40px 80px rgba(0,0,0,0.6);
  animation: ageBoxIn .5s ease;
}
@keyframes ageBoxIn { from { opacity:0; transform: scale(.92) translateY(20px); } to { opacity:1; transform: scale(1) translateY(0); } }
.age-gate-logo { margin: 0 auto 28px; }
.age-gate-shield {
  width: 80px; height: 80px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  box-shadow: 0 0 30px rgba(212,175,55,0.4);
}
.age-gate-box h2 {
  font-size: 1.6rem; font-weight: 800; color: var(--gold);
  margin-bottom: 12px;
}
.age-gate-box p {
  color: var(--text-muted); font-size: .95rem; margin-bottom: 32px; line-height: 1.7;
}
.age-gate-buttons { display: flex; gap: 14px; flex-direction: column; }
.btn-age-yes {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0A0A0F; border: none; border-radius: 10px;
  padding: 16px; font-size: 1rem; font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}
.btn-age-yes:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,175,55,0.4); }
.btn-age-no {
  background: transparent; color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  padding: 14px; font-size: .95rem; font-weight: 500;
  transition: border-color .2s, color .2s;
}
.btn-age-no:hover { border-color: rgba(255,255,255,0.3); color: var(--text); }
.age-gate-disclaimer {
  margin-top: 20px; font-size: .78rem; color: var(--text-muted); line-height: 1.5;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
nav.navbar {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 16px rgba(212,175,55,0.35);
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: .5px;
}
.nav-links {
  display: flex; align-items: center; gap: 6px;
}
.nav-links a {
  color: var(--text-muted); font-size: .9rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold); background: rgba(212,175,55,0.08);
}
.nav-badge-18 {
  background: var(--red); color: #fff;
  font-size: .7rem; font-weight: 700;
  padding: 3px 8px; border-radius: 20px;
  letter-spacing: .5px;
}
.nav-hamburger {
  display: none; background: none; border: none;
  color: var(--text); font-size: 1.4rem; padding: 6px;
}
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 20px 16px; border-top: 1px solid var(--border);
  background: rgba(10,10,15,.98);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-muted); font-size: .95rem; font-weight: 500;
  padding: 12px 14px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.mobile-menu a:hover { color: var(--gold); background: rgba(212,175,55,0.08); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 24px 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% -20%, rgba(212,175,55,0.12) 0%, transparent 70%),
              radial-gradient(ellipse at 0% 100%, rgba(0,200,83,0.06) 0%, transparent 60%),
              var(--deep);
}
.hero-particles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.particle {
  position: absolute; border-radius: 50%;
  background: var(--gold); opacity: .15;
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: .15; }
  90% { opacity: .1; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.2);
  color: var(--gold); font-size: .8rem; font-weight: 600; letter-spacing: 1.5px;
  padding: 7px 18px; border-radius: 20px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800; line-height: 1.15;
  background: linear-gradient(135deg, #fff 30%, var(--gold-light) 70%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--gold); -webkit-text-fill-color: var(--gold); }
.hero-sub {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 600px; margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 60px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0A0A0F; font-weight: 700; font-size: 1rem;
  padding: 16px 32px; border-radius: 12px; border: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 24px rgba(212,175,55,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(212,175,55,0.45); color: #0A0A0F; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 12px;
  padding: 15px 28px; font-size: 1rem; font-weight: 500;
  transition: border-color .2s, background .2s, transform .2s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.hero-stats {
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid var(--border);
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 1.8rem; font-weight: 800; color: var(--gold);
  display: block; line-height: 1;
}
.hero-stat-label { font-size: .8rem; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .8px; }

/* ============================================
   SECTIONS
   ============================================ */
section { padding: 80px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,175,55,0.08); border: 1px solid rgba(212,175,55,0.15);
  color: var(--gold); font-size: .78rem; font-weight: 600;
  padding: 6px 16px; border-radius: 20px; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 16px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: #fff; margin-bottom: 16px; line-height: 1.2;
}
.section-title span { color: var(--gold); }
.section-sub { color: var(--text-muted); font-size: 1rem; max-width: 560px; line-height: 1.7; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-sub { margin: 0 auto; }

/* ============================================
   GAMES SECTION
   ============================================ */
.games-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
}
.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(212,175,55,0.15);
  border-color: rgba(212,175,55,0.35);
}
.game-card-thumb {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--card2);
}
.game-card-thumb canvas,
.game-card-thumb .game-preview-art {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
}
.game-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--green); color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  letter-spacing: .5px; text-transform: uppercase;
}
.game-card-badge.hot { background: #E74C3C; }
.game-card-body { padding: 20px; }
.game-card-title {
  font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 6px;
}
.game-card-desc { font-size: .88rem; color: var(--text-muted); margin-bottom: 18px; line-height: 1.6; }
.game-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 8px;
}
.game-card-tag {
  font-size: .75rem; color: var(--gold);
  background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.2);
  padding: 3px 10px; border-radius: 20px;
}
.btn-play {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0A0A0F; font-weight: 700; font-size: .95rem;
  padding: 13px; border-radius: 10px; border: none;
  transition: transform .2s, box-shadow .2s;
}
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,175,55,0.35); }

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-bg { background: var(--dark); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .3s, box-shadow .3s;
}
.feature-card:hover { border-color: rgba(212,175,55,0.3); box-shadow: 0 8px 32px rgba(0,0,0,.4); }
.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.feature-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================
   RESPONSIBLE GAMING BANNER
   ============================================ */
.rg-banner {
  background: linear-gradient(135deg, rgba(12,28,18,0.95), rgba(10,14,22,0.95));
  border: 1px solid rgba(0,200,83,0.2);
  border-radius: 20px; padding: 40px;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.rg-banner-icon {
  font-size: 56px; flex-shrink: 0;
}
.rg-banner-content h3 {
  font-size: 1.4rem; font-weight: 700; color: var(--green); margin-bottom: 10px;
}
.rg-banner-content p {
  font-size: .95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px;
}
.rg-links { display: flex; gap: 12px; flex-wrap: wrap; }
.rg-link {
  background: rgba(0,200,83,0.1); border: 1px solid rgba(0,200,83,0.25);
  color: var(--green); font-size: .85rem; font-weight: 600;
  padding: 8px 18px; border-radius: 8px;
  transition: background .2s, border-color .2s;
}
.rg-link:hover { background: rgba(0,200,83,0.18); border-color: rgba(0,200,83,0.4); color: var(--green); }
.age-badge-lg {
  flex-shrink: 0;
  width: 72px; height: 72px;
  background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900; color: #fff;
  box-shadow: 0 0 20px rgba(192,57,43,0.4);
}

/* ============================================
   REGULATORS
   ============================================ */
.regulators-section { background: var(--dark); }
.regulators-grid {
  display: flex; gap: 20px; flex-wrap: wrap; justify-content: center;
  align-items: stretch;
}
.regulator-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 28px;
  text-align: center; min-width: 200px; flex: 1;
  max-width: 240px;
  transition: border-color .3s;
}
.regulator-card:hover { border-color: rgba(212,175,55,0.3); }
.regulator-logo { font-size: 36px; margin-bottom: 12px; }
.regulator-card h4 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.regulator-card p { font-size: .8rem; color: var(--text-muted); margin-bottom: 14px; line-height: 1.5; }
.regulator-card a {
  font-size: .8rem; color: var(--gold); font-weight: 600;
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #070709;
  border-top: 1px solid var(--border);
  padding: 60px 24px 0;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.footer-brand p { font-size: .88rem; color: var(--text-muted); line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  font-size: .85rem; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .88rem; color: var(--text-muted); transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: var(--text-muted); }
.footer-18 {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: var(--text-muted);
}
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: var(--red); border-radius: 50%;
  font-size: .7rem; font-weight: 800; color: #fff;
}

/* ============================================
   GAME PAGE LAYOUT
   ============================================ */
.game-page-hero {
  background: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,0.08) 0%, transparent 70%),
              var(--dark);
  padding: 40px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.game-page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; color: #fff; margin-bottom: 8px;
}
.game-page-hero p { color: var(--text-muted); font-size: .95rem; }
.game-area { padding: 40px 24px; }
.game-container {
  max-width: 840px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 0 60px rgba(0,0,0,.5), 0 0 40px rgba(212,175,55,0.05);
}

/* SLOT MACHINE */
.slot-header {
  background: var(--card2); border-bottom: 1px solid var(--border);
  padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.slot-stat { text-align: center; }
.slot-stat-label {
  font-size: .7rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px; display: block;
}
.slot-stat-val {
  font-size: 1.6rem; font-weight: 800; color: var(--gold);
  font-family: 'Playfair Display', serif; display: block; line-height: 1.1;
  letter-spacing: 1px;
}
.slot-stat-unit { font-size: .72rem; color: var(--text-muted); }
.slot-title-center { text-align: center; }
.slot-title-center h2 {
  font-family: 'Playfair Display', serif; font-size: 1.4rem;
  font-weight: 800; color: #fff; letter-spacing: 2px; text-transform: uppercase;
}
.slot-title-center .slot-sub {
  font-size: .72rem; color: var(--red); font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; margin-top: 2px;
}
.slot-grid-wrap {
  padding: 28px;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,0.04) 0%, transparent 60%);
}
.slot-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 8px;
  background: #0D0D15;
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: 12px; padding: 16px;
  box-shadow: inset 0 0 40px rgba(0,0,0,.5);
}
.slot-cell {
  aspect-ratio: 1;
  background: #151522;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  transition: transform .1s, border-color .3s;
  position: relative; overflow: hidden;
}
.slot-cell.spinning {
  animation: cellSpin .08s linear infinite;
}
.slot-cell.highlight {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(212,175,55,0.4), inset 0 0 16px rgba(212,175,55,0.08);
  animation: cellPulse .5s ease infinite alternate;
}
@keyframes cellSpin {
  0% { transform: translateY(-4px); opacity: .6; }
  50% { transform: translateY(4px); opacity: 1; }
  100% { transform: translateY(-4px); opacity: .6; }
}
@keyframes cellPulse {
  from { box-shadow: 0 0 10px rgba(212,175,55,0.3); }
  to { box-shadow: 0 0 24px rgba(212,175,55,0.6); }
}
.slot-payouts {
  text-align: center; padding: 12px 28px 0;
  font-size: .8rem; color: var(--text-muted);
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}
.slot-payouts span { display: inline-flex; align-items: center; gap: 5px; }
.slot-payouts strong { color: var(--gold); }
.slot-controls {
  padding: 24px 28px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.wager-section { display: flex; flex-direction: column; gap: 10px; }
.wager-label { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.wager-control {
  display: flex; align-items: center; gap: 8px;
}
.wager-btn {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; color: #fff; font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.wager-btn:hover { background: rgba(212,175,55,0.15); }
.wager-val {
  min-width: 70px; text-align: center;
  font-size: 1.2rem; font-weight: 700; color: #fff;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 6px 12px;
}
.wager-presets { display: flex; gap: 6px; }
.wager-preset {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted); font-size: .78rem; padding: 5px 10px; border-radius: 6px;
  transition: background .2s, color .2s;
}
.wager-preset:hover, .wager-preset.active {
  background: rgba(212,175,55,0.15); color: var(--gold); border-color: rgba(212,175,55,0.3);
}
.spin-center { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.btn-spin {
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #E83030, #8B0000);
  border: 4px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 30px rgba(200,30,30,0.5), 0 6px 20px rgba(0,0,0,.4), inset 0 -3px 6px rgba(0,0,0,.3);
  color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: 1px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transition: transform .1s, box-shadow .2s;
}
.btn-spin:hover { transform: scale(1.04); box-shadow: 0 0 40px rgba(200,30,30,0.7), 0 8px 28px rgba(0,0,0,.5); }
.btn-spin:active { transform: scale(.97); }
.btn-spin .spin-icon { font-size: 1.8rem; }
.btn-spin:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.spin-side-btns { display: flex; flex-direction: column; gap: 8px; }
.side-btn {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-muted); font-size: .78rem; font-weight: 600;
  padding: 8px 18px; border-radius: 8px;
  transition: background .2s, color .2s;
  min-width: 70px; text-align: center;
}
.side-btn:hover { background: rgba(212,175,55,0.12); color: var(--gold); }
.side-btn.active { background: rgba(212,175,55,0.15); color: var(--gold); border-color: rgba(212,175,55,0.3); }
.slot-msg {
  text-align: center; padding: 8px 28px 4px;
  font-size: .9rem; font-weight: 600; color: var(--gold);
  min-height: 32px;
  transition: opacity .3s;
}

/* SCRATCH CARD GAME */
.scratch-header {
  background: var(--card2); border-bottom: 1px solid var(--border);
  padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.scratch-board {
  padding: 32px;
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 14px;
}
.scratch-cell {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #2a2045, #1a1430);
  border: 2px solid rgba(212,175,55,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: border-color .2s;
}
.scratch-cell .cover {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #4A3F6B, #3A2F5A);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  transition: transform .4s, opacity .4s;
}
.scratch-cell.revealed .cover { transform: scale(0); opacity: 0; pointer-events: none; }
.scratch-cell.highlight-match {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212,175,55,0.5);
}
.scratch-controls {
  padding: 20px 28px 28px;
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.btn-reveal-all {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0A0A0F; font-weight: 700; font-size: .95rem;
  padding: 13px 32px; border-radius: 10px; border: none;
  transition: transform .2s, box-shadow .2s;
}
.btn-reveal-all:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,175,55,0.35); }
.btn-new-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
  color: var(--text); font-weight: 600; font-size: .95rem;
  padding: 12px 28px; border-radius: 10px;
  transition: border-color .2s, color .2s;
}
.btn-new-card:hover { border-color: var(--gold); color: var(--gold); }
.scratch-msg {
  text-align: center; padding: 0 28px 8px;
  font-size: .9rem; font-weight: 600; color: var(--gold); min-height: 32px;
}

/* ============================================
   RESPONSIBLE GAMING PAGE
   ============================================ */
.rg-page-hero {
  background: linear-gradient(135deg, rgba(0,123,51,0.12) 0%, transparent 100%), var(--dark);
  padding: 60px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(0,200,83,0.15);
}
.rg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 20px; }
.rg-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.rg-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.rg-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; }
.rg-card .rg-icon { font-size: 28px; margin-bottom: 12px; }
.help-links { display: flex; flex-direction: column; gap: 12px; }
.help-link-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
  transition: border-color .2s;
}
.help-link-card:hover { border-color: rgba(0,200,83,0.3); }
.help-link-icon { font-size: 28px; flex-shrink: 0; }
.help-link-body h4 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.help-link-body p { font-size: .82rem; color: var(--text-muted); }
.help-link-body a { font-size: .82rem; color: var(--green); font-weight: 600; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-info-card, .contact-form-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
}
.contact-info-card h3, .contact-form-card h3 {
  font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 24px;
}
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.2);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-item-label { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .8px; }
.contact-item-val { font-size: .95rem; color: #fff; font-weight: 500; margin-top: 3px; }
.contact-item-val a { color: var(--gold); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .82rem; color: var(--text-muted); margin-bottom: 7px; font-weight: 500; }
.form-control {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  padding: 12px 16px; color: #fff; font-size: .95rem; font-family: inherit;
  transition: border-color .2s;
  outline: none;
}
.form-control:focus { border-color: var(--gold); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0A0A0F; font-weight: 700; font-size: 1rem;
  padding: 14px; border-radius: 10px; border: none;
  transition: transform .2s, box-shadow .2s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,175,55,0.35); }
.form-success {
  text-align: center; padding: 20px; color: var(--green); font-weight: 600;
  display: none;
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
#toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--card2); border: 1px solid var(--border);
  color: var(--gold); font-size: .9rem; font-weight: 600;
  padding: 14px 28px; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s; z-index: 500;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================
   UTILITIES
   ============================================ */
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.social-only-notice {
  background: rgba(0,200,83,0.06); border: 1px solid rgba(0,200,83,0.18);
  border-radius: 10px; padding: 14px 20px;
  font-size: .85rem; color: var(--text-muted); line-height: 1.6;
  display: flex; align-items: center; gap: 10px;
}
.social-only-notice strong { color: var(--green); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  section { padding: 56px 16px; }
  .hero { padding: 72px 16px 56px; }
  .slot-header { flex-direction: column; gap: 10px; }
  .slot-controls { flex-direction: column; align-items: center; }
  .scratch-board { gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .rg-banner { flex-direction: column; text-align: center; }
  .slot-grid-wrap { padding: 16px; }
  .slot-grid { gap: 5px; padding: 10px; }
  .slot-cell { font-size: 1.5rem; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 2rem; }
  .scratch-board { grid-template-columns: repeat(3,1fr); }
  .scratch-cell { font-size: 1.8rem; }
}
