/* ========================================
   TOLUVIEJA - Social Entertainment Platform
   Main Stylesheet
   ======================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Exo+2:wght@300;400;600;700;900&family=Playfair+Display:wght@400;700;900&family=Raleway:wght@300;400;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --gold: #FFD700;
  --gold-dark: #B8860B;
  --gold-light: #FFF8DC;
  --green-deep: #0D1B0D;
  --green-dark: #1B3A1B;
  --green-mid: #2E7D32;
  --green-bright: #4CAF50;
  --green-light: #81C784;
  --red-danger: #C62828;
  --red-warm: #E53935;
  --bg-dark: #080F08;
  --bg-card: #111E11;
  --text-light: #F5F5F5;
  --text-muted: #9E9E9E;
  --neon-green: #00E676;
  --neon-gold: #FFD740;
  --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.4);
  --shadow-green: 0 0 20px rgba(76, 175, 80, 0.3);
  --border-gold: 1px solid rgba(255, 215, 0, 0.35);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Exo 2', 'Segoe UI', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(46,125,50,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,215,0,0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(0,230,118,0.04) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: 'Cinzel Decorative', 'Playfair Display', serif;
  line-height: 1.2;
}

h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

p, span, a, li {
  font-family: 'Raleway', 'Exo 2', sans-serif;
}

/* ---- Age Verification Popup ---- */
#age-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.age-popup-box {
  background: linear-gradient(145deg, var(--green-dark), var(--bg-dark));
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  max-width: 480px;
  width: 90%;
  box-shadow: var(--shadow-gold), 0 0 60px rgba(0,0,0,0.8);
  animation: popupIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.age-popup-logo {
  width: 200px;
  margin: 0 auto 25px;
}

.age-popup-badge {
  font-size: 5rem;
  margin-bottom: 10px;
  display: block;
  filter: drop-shadow(0 0 15px rgba(255,215,0,0.6));
}

.age-popup-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(255,215,0,0.4);
}

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

.age-popup-text strong {
  color: var(--text-light);
}

.age-popup-disclaimer {
  background: rgba(198,40,40,0.15);
  border: 1px solid rgba(198,40,40,0.4);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 25px;
  font-size: 0.82rem;
  color: #EF9A9A;
}

.age-btn-yes {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-dark);
  border: none;
  padding: 16px 48px;
  border-radius: 50px;
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: block;
  width: 100%;
  margin-bottom: 12px;
  box-shadow: 0 4px 20px rgba(255,215,0,0.35);
  letter-spacing: 1px;
}

.age-btn-yes:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,215,0,0.55);
}

.age-btn-no {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 40px;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: block;
  width: 100%;
  text-decoration: none;
}

.age-btn-no:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-light);
}

/* ---- Cookie Banner ---- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(27,58,27,0.97), rgba(13,27,13,0.97));
  border-top: 1px solid rgba(255,215,0,0.3);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 9000;
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
}

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

.cookie-text a {
  color: var(--gold);
  text-decoration: none;
}

.cookie-text a:hover { text-decoration: underline; }

.cookie-btn {
  background: var(--gold);
  color: var(--bg-dark);
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.cookie-btn:hover { background: var(--gold-light); }

/* ---- Header / Navigation ---- */
#main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(13,27,13,0.97), rgba(27,58,27,0.97));
  border-bottom: 1px solid rgba(255,215,0,0.25);
  backdrop-filter: blur(15px);
  padding: 0 40px;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.header-logo img {
  height: 52px;
  width: auto;
}

.header-logo-text {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.2rem;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(255,215,0,0.3);
  display: none;
}

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

.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.main-nav a:hover {
  background: rgba(255,215,0,0.12);
  color: var(--gold);
}

.main-nav a.active {
  background: rgba(255,215,0,0.15);
  color: var(--gold);
}

.nav-play-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: var(--bg-dark) !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.nav-play-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,215,0,0.5) !important;
  background: linear-gradient(135deg, #FFE040, var(--gold)) !important;
}

.header-18plus {
  background: var(--red-danger);
  color: white;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: 'Exo 2', sans-serif;
  letter-spacing: 1px;
  margin-left: 8px;
}

/* Mobile menu toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ---- Disclaimer Bar ---- */
.disclaimer-bar {
  background: linear-gradient(135deg, var(--red-danger), #B71C1C);
  text-align: center;
  padding: 10px 20px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: white;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.disclaimer-bar span {
  margin: 0 8px;
  opacity: 0.8;
}

/* ---- Hero Section ---- */
#hero-section {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 40px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(46,125,50,0.2) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(255,215,0,0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--green-deep) 50%, var(--bg-dark) 100%);
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(198,40,40,0.9);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 8px 24px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: white;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--gold);
  text-shadow: 0 0 40px rgba(255,215,0,0.35), 0 4px 20px rgba(0,0,0,0.8);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--green-light);
  margin-bottom: 16px;
  font-style: italic;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-no-money {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 36px;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-dark);
  border: none;
  padding: 18px 48px;
  border-radius: 50px;
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 25px rgba(255,215,0,0.4);
  letter-spacing: 1px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,215,0,0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255,215,0,0.4);
  padding: 16px 40px;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary:hover {
  background: rgba(255,215,0,0.1);
  border-color: var(--gold);
  color: var(--gold);
}

/* Hero floating chips animation */
.floating-chip {
  position: absolute;
  font-size: 2rem;
  animation: floatChip 6s ease-in-out infinite;
  opacity: 0.6;
  pointer-events: none;
}

@keyframes floatChip {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-20px) rotate(10deg); opacity: 0.9; }
}

/* ---- Section Styles ---- */
.section {
  position: relative;
  z-index: 1;
  padding: 80px 40px;
}

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

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

.section-tag {
  display: inline-block;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--gold);
  margin-bottom: 16px;
  text-shadow: 0 0 30px rgba(255,215,0,0.2);
}

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

/* Divider */
.gold-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px auto;
  border-radius: 2px;
}

/* ---- Games Section ---- */
#games-section {
  background: linear-gradient(180deg, var(--bg-dark), var(--green-deep), var(--bg-dark));
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  justify-content: center;
}

.game-card {
  background: linear-gradient(145deg, var(--bg-card), var(--green-dark));
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,215,0,0.5);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(255,215,0,0.15);
}

.game-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.game-card:hover .game-card-image {
  transform: scale(1.03);
}

.game-card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent 50%, rgba(13,27,13,0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: var(--transition);
}

.game-card:hover .game-card-overlay {
  opacity: 1;
}

.game-play-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-dark);
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  width: 100%;
  transition: var(--transition);
}

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

.game-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.game-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.game-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.game-tag {
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
}

.game-tag.free {
  background: rgba(76,175,80,0.12);
  border-color: rgba(76,175,80,0.3);
  color: var(--green-bright);
}

/* ---- Features Section ---- */
#features-section {
  background: var(--bg-dark);
}

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

.feature-card {
  background: linear-gradient(145deg, var(--bg-card), var(--green-dark));
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: rgba(255,215,0,0.35);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255,215,0,0.3));
}

.feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Regulators Section ---- */
#regulators-section {
  background: linear-gradient(180deg, var(--green-deep), var(--bg-dark));
  padding: 60px 40px;
}

.regulators-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: stretch;
}

.regulator-item {
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.07));
  border: 1px solid rgba(255,215,0,0.18);
  border-radius: 16px;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: var(--transition);
  min-width: 160px;
  max-width: 200px;
  position: relative;
  overflow: hidden;
}

.regulator-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.regulator-item:hover::before { opacity: 1; }

.regulator-item:hover {
  background: linear-gradient(145deg, rgba(255,215,0,0.06), rgba(255,215,0,0.1));
  border-color: rgba(255,215,0,0.45);
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.4), 0 0 20px rgba(255,215,0,0.08);
}

/* White logo container — removes white background visually */
.regulator-logo-wrap {
  background: white;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 54px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: var(--transition);
}

.regulator-item:hover .regulator-logo-wrap {
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transform: scale(1.04);
}

.regulator-logo {
  height: 34px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
}

.regulator-name {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

.regulator-name strong {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  margin-bottom: 2px;
}

/* ---- Slot Machine Game ---- */
#game-section {
  background: linear-gradient(180deg, var(--bg-dark), rgba(13,27,13,0.95), var(--bg-dark));
  padding: 80px 40px;
}

.slot-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.slot-machine {
  background: linear-gradient(145deg, #1B3A1B, #0D1B0D);
  border: 3px solid var(--gold);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 0 60px rgba(255,215,0,0.15), 0 30px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,215,0,0.2);
  position: relative;
  overflow: hidden;
}

.slot-machine::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(255,215,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Slot machine top panel */
.slot-top-panel {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,215,0,0.2);
}

.slot-game-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2rem;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(255,215,0,0.5);
  margin-bottom: 6px;
  letter-spacing: 3px;
}

.slot-game-subtitle {
  font-size: 0.8rem;
  color: var(--green-light);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Jackpot display */
.slot-jackpot {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.jackpot-box {
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  text-align: center;
  min-width: 140px;
}

.jackpot-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.jackpot-value {
  font-family: 'Exo 2', monospace;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(255,215,0,0.5);
}

.jackpot-box.balance .jackpot-value { color: var(--neon-green); }
.jackpot-box.spins .jackpot-value { color: #64B5F6; }

/* Reels container */
.reels-container {
  background: #000;
  border: 3px solid rgba(255,215,0,0.4);
  border-radius: 18px;
  padding: 16px;
  margin: 0 auto 24px;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
}

/* Win line highlight */
.win-line {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
  transform: translateY(-50%);
  opacity: 0;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s;
  box-shadow: 0 0 15px rgba(255,215,0,0.8);
}

.win-line.active { opacity: 1; }

.reels-inner {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.reel {
  flex: 1;
  max-width: 120px;
  background: white;
  border-radius: 10px;
  border: 2px solid rgba(255,215,0,0.4);
  height: 130px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.2);
}

.reel-strip {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: none;
}

.reel-symbol {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  line-height: 1;
  flex-shrink: 0;
  background: white;
  user-select: none;
}

/* Reel gradient overlays */
.reel::before,
.reel::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 30px;
  z-index: 5;
  pointer-events: none;
}

.reel::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}

.reel::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

/* Spinning animation */
@keyframes reelSpin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

.reel.spinning .reel-strip {
  animation: reelSpinAnim 0.08s linear infinite;
}

@keyframes reelSpinAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-130px); }
}

/* Controls area */
.slot-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.bet-control {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 50px;
  padding: 6px 6px 6px 16px;
}

.bet-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  white-space: nowrap;
}

.bet-btn {
  background: rgba(255,215,0,0.15);
  border: 1px solid rgba(255,215,0,0.3);
  color: var(--gold);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.bet-btn:hover {
  background: rgba(255,215,0,0.3);
}

.bet-value {
  font-family: 'Exo 2', monospace;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  min-width: 44px;
  text-align: center;
}

.spin-btn {
  background: linear-gradient(135deg, var(--gold), #FF8C00);
  color: var(--bg-dark);
  border: none;
  padding: 18px 56px;
  border-radius: 50px;
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 25px rgba(255,215,0,0.4);
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.spin-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.spin-btn:hover::after { opacity: 1; }

.spin-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,215,0,0.6);
}

.spin-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

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

.auto-spin-btn {
  background: rgba(76,175,80,0.15);
  border: 1px solid rgba(76,175,80,0.35);
  color: var(--green-light);
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.auto-spin-btn:hover {
  background: rgba(76,175,80,0.25);
}

.auto-spin-btn.active {
  background: rgba(76,175,80,0.3);
  border-color: var(--green-bright);
  color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0,230,118,0.2);
}

/* Win message */
.win-message {
  text-align: center;
  padding: 16px;
  margin-top: 16px;
  border-radius: var(--radius-md);
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.2rem;
  font-weight: 700;
  opacity: 0;
  transition: var(--transition);
  height: 0;
  overflow: hidden;
}

.win-message.show {
  opacity: 1;
  height: auto;
}

.win-message.win {
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  color: var(--gold);
}

.win-message.big-win {
  background: rgba(255,215,0,0.15);
  border: 2px solid var(--gold);
  color: var(--gold);
  animation: bigWinPulse 0.5s ease-in-out infinite alternate;
}

@keyframes bigWinPulse {
  from { box-shadow: 0 0 20px rgba(255,215,0,0.3); }
  to { box-shadow: 0 0 40px rgba(255,215,0,0.7); }
}

.win-message.lose {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
}

/* Paytable */
.slot-paytable {
  margin-top: 28px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.paytable-header {
  background: rgba(255,215,0,0.08);
  padding: 12px 20px;
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 2px;
  border-bottom: 1px solid rgba(255,215,0,0.15);
}

.paytable-body {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1px;
  background: rgba(255,215,0,0.08);
}

.paytable-row {
  background: rgba(0,0,0,0.4);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.paytable-sym {
  font-size: 1.4rem;
}

.paytable-info {
  font-size: 0.8rem;
}

.paytable-name {
  color: var(--text-muted);
  display: block;
  font-size: 0.72rem;
}

.paytable-payout {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---- Responsible Play Section ---- */
#responsible-section {
  background: linear-gradient(135deg, rgba(198,40,40,0.08), rgba(13,27,13,0.98));
  border-top: 1px solid rgba(198,40,40,0.3);
  border-bottom: 1px solid rgba(198,40,40,0.3);
}

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

.responsible-text h2 {
  color: white;
  margin-bottom: 20px;
}

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

.responsible-list {
  list-style: none;
  margin: 20px 0;
}

.responsible-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
}

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

.responsible-card {
  background: linear-gradient(145deg, var(--bg-card), rgba(198,40,40,0.08));
  border: 1px solid rgba(198,40,40,0.3);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.responsible-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #EF9A9A;
  margin-bottom: 20px;
}

.help-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  text-decoration: none;
  margin-bottom: 10px;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
}

.help-link:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,215,0,0.2);
}

.help-link-icon { font-size: 1.5rem; }

.help-link-text { flex: 1; }

.help-link-name {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-light);
}

.help-link-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.help-link-arrow {
  color: var(--gold);
  opacity: 0.6;
}

/* ---- Footer ---- */
#main-footer {
  background: linear-gradient(180deg, #050A05, #0A120A);
  border-top: 1px solid rgba(255,215,0,0.15);
  padding-top: 60px;
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 50px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
  margin-top: 16px;
}

.footer-brand-logo {
  width: 200px;
  height: auto;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: rgba(255,215,0,0.2);
  border-color: rgba(255,215,0,0.4);
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 1rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,215,0,0.15);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

/* Responsible play footer block */
.footer-responsible {
  background: linear-gradient(135deg, rgba(198,40,40,0.12), rgba(183,28,28,0.08));
  border-top: 1px solid rgba(198,40,40,0.25);
  border-bottom: 1px solid rgba(198,40,40,0.25);
  padding: 30px 40px;
}

.footer-responsible-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-resp-icon { font-size: 2.5rem; flex-shrink: 0; margin-top: 4px; }

.footer-resp-content { flex: 1; min-width: 300px; }

.footer-resp-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #EF9A9A;
  margin-bottom: 8px;
}

.footer-resp-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-resp-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.resp-link-btn {
  background: rgba(198,40,40,0.15);
  border: 1px solid rgba(198,40,40,0.35);
  color: #EF9A9A;
  padding: 8px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}

.resp-link-btn:hover {
  background: rgba(198,40,40,0.3);
}

/* Footer bottom */
.footer-bottom {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 40px;
}

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

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

.footer-badges {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-badge {
  background: rgba(198,40,40,0.8);
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1px;
}

.footer-badge.green {
  background: rgba(27,94,32,0.8);
  border: 1px solid rgba(76,175,80,0.3);
  color: var(--green-light);
}

.footer-no-money {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---- Coins animation ---- */
@keyframes coinFall {
  0% { transform: translateY(-100px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.coin {
  position: fixed;
  font-size: 1.5rem;
  pointer-events: none;
  z-index: 9999;
  animation: coinFall 2.5s ease-in forwards;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .responsible-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  #main-header {
    padding: 0 20px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: rgba(13,27,13,0.99);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid rgba(255,215,0,0.2);
    backdrop-filter: blur(15px);
  }
  .main-nav.open { display: flex; }
  .mobile-menu-btn { display: block; }
  .header-logo-text { display: none; }

  .hero-content { padding: 20px; }
  .section { padding: 50px 20px; }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 0 20px 30px;
    gap: 30px;
  }
  .footer-bottom { padding: 20px; }
  .footer-responsible { padding: 20px; }

  .reels-inner { gap: 4px; }
  .reel { max-width: 80px; }
  .reel-symbol { font-size: 40px; }

  .slot-controls {
    flex-direction: column;
    align-items: center;
  }
  .spin-btn { width: 100%; text-align: center; justify-content: center; }
  .bet-control { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .slot-game-title { font-size: 1.4rem; }
  .reel { max-width: 58px; height: 100px; }
  .reel-symbol { font-size: 30px; height: 100px; }
  .reels-container { padding: 10px; }
  .jackpot-box { min-width: 110px; padding: 10px 14px; }
  .jackpot-value { font-size: 1.1rem; }
}

/* ---- Page Content (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--bg-dark));
  padding: 80px 40px 60px;
  text-align: center;
  border-bottom: 1px solid rgba(255,215,0,0.15);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  margin-bottom: 16px;
}

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

.content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
}

.content-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin: 36px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}

.content-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--green-light);
  margin: 24px 0 10px;
}

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

.content-section ul, .content-section ol {
  color: var(--text-muted);
  padding-left: 24px;
  margin-bottom: 16px;
}

.content-section li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.content-section a {
  color: var(--gold);
  text-decoration: none;
}

.content-section a:hover { text-decoration: underline; }

/* FAQ accordion */
.faq-item {
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  background: rgba(255,215,0,0.04);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--text-light);
  transition: var(--transition);
  user-select: none;
}

.faq-question:hover {
  background: rgba(255,215,0,0.08);
  color: var(--gold);
}

.faq-question.open {
  background: rgba(255,215,0,0.08);
  color: var(--gold);
  border-bottom: 1px solid rgba(255,215,0,0.15);
}

.faq-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-question.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer.open { max-height: 500px; }

.faq-answer-inner {
  padding: 20px 24px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.92rem;
}

/* Contact form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
}

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

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .content-section { padding: 40px 20px; }
  .page-hero { padding: 60px 20px 40px; }
  .contact-form { padding: 24px; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.form-input, .form-select, .form-textarea {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text-light);
  font-family: 'Raleway', sans-serif;
  font-size: 0.92rem;
  transition: var(--transition);
  width: 100%;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,215,0,0.1);
}

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

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

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(255,215,0,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,215,0,0.5); }

/* Utility */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.hidden { display: none !important; }

/* Particle dots */
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: particleAnim var(--dur, 4s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes particleAnim {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  10% { opacity: 0.6; transform: scale(1); }
  90% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-80px) scale(0.5); }
}
