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

:root {
  --primary: #1a0a2e;
  --secondary: #2d1b69;
  --accent: #ffd700;
  --accent2: #e91e8c;
  --text: #f0e6ff;
  --text-muted: #a89bc2;
  --card-bg: rgba(45, 27, 105, 0.6);
  --border: rgba(255, 215, 0, 0.25);
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* =============================================
   18+ AGE GATE OVERLAY
   ============================================= */
#age-gate {
  position: fixed;
  inset: 0;
  background: rgba(10, 4, 20, 0.97);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.age-gate-box {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1b69 100%);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 60px rgba(255, 215, 0, 0.2);
  animation: fadeInScale 0.4s ease;
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

.age-gate-box .age-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.age-gate-box h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
}

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

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

.btn-age-yes {
  background: linear-gradient(135deg, #ffd700, #f39c12);
  color: #1a0a2e;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-age-yes:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,215,0,0.4);
}

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

.btn-age-no:hover {
  border-color: var(--accent2);
  color: var(--accent2);
}

/* =============================================
   COOKIE BANNER
   ============================================= */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a0a2e, #2d1b69);
  border-top: 2px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 8888;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}

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

#cookie-banner a { color: var(--accent); }

.btn-cookie {
  background: var(--accent);
  color: #1a0a2e;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 24px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s;
}

.btn-cookie:hover { transform: scale(1.05); }

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

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

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

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

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

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(255,215,0,0.1);
}

.nav-cta {
  background: linear-gradient(135deg, #ffd700, #f39c12) !important;
  color: #1a0a2e !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255,215,0,0.3);
  background: linear-gradient(135deg, #ffe44d, #ffd700) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

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

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(26,10,46,0.98);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }

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

  .nav-links a {
    display: block;
    padding: 12px 16px;
    width: 100%;
  }
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,10,46,0.7) 0%, rgba(45,27,105,0.4) 100%);
}

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

.hero-badge {
  display: inline-block;
  background: rgba(255,215,0,0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}

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

.hero h1 .highlight {
  background: linear-gradient(135deg, #ffd700, #e91e8c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700, #f39c12);
  color: #1a0a2e;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,215,0,0.35);
  color: #1a0a2e;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 36px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

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

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

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

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

.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

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

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

/* =============================================
   GAMES GRID
   ============================================= */
.games-section {
  background: linear-gradient(180deg, var(--primary) 0%, #0d0520 100%);
}

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

.game-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255,215,0,0.15);
  border-color: var(--accent);
}

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

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

.game-tag {
  display: inline-block;
  background: rgba(255,215,0,0.15);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

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

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

.btn-play {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700, #f39c12);
  color: #1a0a2e;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,215,0,0.3);
  color: #1a0a2e;
}

/* =============================================
   FEATURES
   ============================================= */
.features-section {
  background: #0d0520;
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover { transform: translateY(-4px); }

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

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

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

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
  background: var(--primary);
}

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

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

.about-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
}

.about-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 20px;
}

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

.about-list {
  list-style: none;
  margin: 24px 0;
}

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

.about-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* =============================================
   NEWSLETTER / CONTACT CTA
   ============================================= */
.newsletter-section {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1b69 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.newsletter-box h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 12px;
}

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

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

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--accent);
}

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

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
  background: #0d0520;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

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

.contact-info h3 {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 20px;
}

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

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

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

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

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

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

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

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

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.09);
}

.form-group select option { background: #1a0a2e; }

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

.form-success {
  display: none;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid #2ecc71;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  color: #2ecc71;
  margin-top: 16px;
}

/* =============================================
   LOCATIONS SECTION
   ============================================= */
.locations-section {
  background: var(--primary);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.location-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s;
}

.location-card:hover { transform: translateY(-4px); }

.location-card h4 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 8px;
}

.location-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.location-card .loc-tag {
  display: inline-block;
  background: rgba(255,215,0,0.1);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #070210;
  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;
}

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

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

.footer-brand .logo {
  font-size: 1.3rem;
  margin-bottom: 16px;
  display: inline-flex;
}

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

.footer-disclaimer {
  background: rgba(255,215,0,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

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

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

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

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

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

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

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

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

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

/* =============================================
   GAME PAGES — WHEEL & SLOTS
   ============================================= */
.game-page {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--primary) 0%, #0d0520 100%);
  padding: 40px 24px 80px;
}

.game-page-header {
  text-align: center;
  margin-bottom: 40px;
}

.game-page-header h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--accent);
  margin-bottom: 8px;
}

.game-page-header p {
  color: var(--text-muted);
}

/* ---- WHEEL GAME ---- */
.wheel-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.wheel-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 32px;
}

#wheel-canvas {
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(255,215,0,0.3), 0 0 80px rgba(233,30,140,0.15);
  max-width: 100%;
}

.wheel-pointer {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 36px solid var(--accent);
  filter: drop-shadow(0 2px 6px rgba(255,215,0,0.6));
  z-index: 10;
}

.wheel-result {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-result p {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.wheel-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- SLOTS GAME ---- */
.slots-container {
  max-width: 700px;
  margin: 0 auto;
}

.slots-machine {
  background: linear-gradient(135deg, #1a0a2e, #2d1b69);
  border: 3px solid var(--accent);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 0 40px rgba(255,215,0,0.2);
  text-align: center;
}

.slots-title {
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 24px;
  text-shadow: 0 0 20px rgba(255,215,0,0.5);
}

.slots-reels {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.reel-window {
  width: 110px;
  height: 110px;
  background: #0d0520;
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.reel-strip {
  display: flex;
  flex-direction: column;
  transition: transform 0.1s linear;
}

.reel-symbol {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}

.slots-payline {
  position: absolute;
  top: 50%;
  left: -4px;
  right: -4px;
  height: 3px;
  background: rgba(255,215,0,0.6);
  transform: translateY(-50%);
  pointer-events: none;
}

.slots-status {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 20px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.slots-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-spin {
  background: linear-gradient(135deg, #ffd700, #f39c12);
  color: #1a0a2e;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 14px 48px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 1px;
}

.btn-spin:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,215,0,0.4);
}

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

.slots-paytable {
  margin-top: 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
}

.slots-paytable h3 {
  color: var(--accent);
  margin-bottom: 16px;
  text-align: center;
}

.paytable-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

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

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

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

/* =============================================
   TOKENS GAME (Scratch)
   ============================================= */
.scratch-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.scratch-card-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255,215,0,0.2);
}

#scratch-canvas {
  display: block;
  cursor: crosshair;
  touch-action: none;
}

.scratch-reveal {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a0a2e, #2d1b69);
  pointer-events: none;
}

.scratch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 20px;
  width: 100%;
}

.scratch-cell {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.scratch-status {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

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

.policy-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--accent);
  margin-bottom: 8px;
}

.policy-page .policy-date {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 40px;
}

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

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

.policy-page p,
.policy-page li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.policy-page ul,
.policy-page ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.policy-page a { color: var(--accent); }

.policy-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}

.policy-page table th,
.policy-page table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}

.policy-page table th {
  background: var(--card-bg);
  color: var(--accent);
  font-weight: 700;
}

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

/* =============================================
   RESPONSIBLE GAMING BANNER
   ============================================= */
.rg-banner {
  background: linear-gradient(135deg, rgba(233,30,140,0.1), rgba(255,215,0,0.05));
  border: 1px solid rgba(233,30,140,0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.rg-banner-icon { font-size: 2rem; flex-shrink: 0; }

.rg-banner-text h4 {
  color: var(--accent2);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

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

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,215,0,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(255,215,0,0); }
}

.pulse { animation: pulse 2s infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float { animation: float 3s ease-in-out infinite; }

/* =============================================
   BACK TO TOP
   ============================================= */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #ffd700, #f39c12);
  color: #1a0a2e;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#back-to-top:hover { transform: scale(1.1); }

/* =============================================
   RESPONSIVE TWEAKS
   ============================================= */
@media (max-width: 600px) {
  section { padding: 56px 16px; }
  .slots-reels { gap: 6px; }
  .reel-window { width: 85px; height: 85px; }
  .reel-symbol { width: 85px; height: 85px; font-size: 2.2rem; }
  .contact-form { padding: 24px 16px; }
}
