/* =============================================
   SISU GAMES OY — GLOBAL STYLESHEET
   Domain: sisu-slots.com | GEO: FI
   ============================================= */

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

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

/* ---------- CSS Variables ---------- */
:root {
  --bg-deep:      #050810;
  --bg-dark:      #0a0e1a;
  --bg-card:      #111827;
  --bg-card2:     #1a2035;
  --gold:         #f0b429;
  --gold-light:   #ffd166;
  --gold-dark:    #c48c00;
  --purple:       #7c3aed;
  --purple-light: #a78bfa;
  --purple-dark:  #5b21b6;
  --cyan:         #06b6d4;
  --red:          #ef4444;
  --green:        #22c55e;
  --text-primary: #f1f5f9;
  --text-secondary:#b0c4d8;  /* raised: was #94a3b8 (7.8:1 → 11:1) */
  --text-muted:   #8da3b8;   /* raised: was #64748b (3.2:1 FAIL → 7.7:1 PASS) */
  --border:       rgba(240,180,41,0.18);
  --border-light: rgba(255,255,255,0.07);
  --glow-gold:    0 0 24px rgba(240,180,41,0.35);
  --glow-purple:  0 0 24px rgba(124,58,237,0.4);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-width: 300px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, textarea, select { font-family: inherit; outline: none; }

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

/* ---------- Selection ---------- */
::selection { background: var(--gold); color: var(--bg-deep); }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5 {
  font-family: 'Cinzel', serif;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin: 0;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1rem, 2vw, 1.3rem); }
p { color: var(--text-secondary); }

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--gold), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gold-text { color: var(--gold); }
.purple-text { color: var(--purple-light); }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section ---------- */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg-deep);
  box-shadow: 0 4px 20px rgba(240,180,41,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(240,180,41,0.55);
}
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-secondary:hover {
  background: var(--gold);
  color: var(--bg-deep);
  transform: translateY(-2px);
}
.btn-purple {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.55);
}
.btn-sm { padding: 9px 22px; font-size: 0.85rem; }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), var(--glow-gold);
}

/* ---------- Divider ---------- */
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  border-radius: 2px;
  margin: 16px auto;
}
.divider-left { margin: 16px 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(5,8,16,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(5,8,16,0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-gold);
}
.nav-logo-icon svg { width: 24px; height: 24px; }
.nav-logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}
.nav-logo-text span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  /* WCAG 1.4.1: underline indicator independent of colour */
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(176,196,216,0.35);
  text-decoration-thickness: 1px;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(240,180,41,0.1);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-dropdown-toggle svg { width: 14px; height: 14px; transition: var(--transition); }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  z-index: 1000;
  /* invisible bridge so mouse can travel from toggle to menu */
  margin-top: 8px;
}
/* invisible pseudo-bridge to prevent hover gap */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  white-space: nowrap;
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(176,196,216,0.3);
}
.nav-dropdown-menu a:hover {
  background: rgba(240, 180, 41, 0.1);
  color: var(--gold);
  text-decoration-color: var(--gold);
}

.nav-cta { margin-left: 12px; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 8px;
  transition: var(--transition);
  z-index: 1001;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--bg-deep);
  z-index: 999;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(176,196,216,0.3);
}
.mobile-nav a:hover {
  color: var(--gold);
  border-color: var(--border);
  background: rgba(240,180,41,0.08);
  text-decoration-color: var(--gold);
}
.mobile-nav-section {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
}
.mobile-nav-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 20px;
}
.mobile-nav-cta {
  margin-top: 16px;
  padding: 0 0;
}
.mobile-nav-cta .btn { width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: var(--bg-deep);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(240,180,41,0.2) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5,8,16,0.3) 0%, rgba(5,8,16,0.7) 100%);
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.22;
  position: relative;
  z-index: 0;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0.4;
}
@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,180,41,0.12);
  border: 1px solid rgba(240,180,41,0.3);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease both;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}
.hero h1 {
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.15s both;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease 0.3s both;
  max-width: 560px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.45s both;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.6s both;
}
.hero-stat-value {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* Slot Machine Preview on Hero */
.hero-visual {
  width: 100%;
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}
.hero-machine {
  background: linear-gradient(145deg, var(--bg-card2), var(--bg-card));
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), var(--glow-gold);
}
.hero-machine-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}
.hero-reels {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: var(--bg-deep);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border-light);
}
.hero-reel {
  flex: 1;
  height: 80px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
}
.hero-machine-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg-deep);
  font-weight: 700;
  font-family: 'Cinzel', serif;
  border-radius: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(240,180,41,0.4);
}
.hero-machine-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(240,180,41,0.6);
}

/* ============================================================
   FEATURES / WHY US
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 36px 28px;
}
.feature-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h4 { margin-bottom: 10px; color: var(--text-primary); }

/* ============================================================
   GAMES GRID
   ============================================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.game-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), var(--glow-purple);
}
.game-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.game-thumb-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}
.game-card:hover .game-thumb-bg { transform: scale(1.08); }
.game-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
}
.game-thumb-content { position: relative; z-index: 1; text-align: center; }
.game-play-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.game-card:hover .game-play-btn {
  background: var(--gold);
  border-color: var(--gold);
}
.game-play-btn svg { width: 22px; height: 22px; fill: #fff; }
.game-card:hover .game-play-btn svg { fill: var(--bg-deep); }
.game-rtp {
  background: rgba(240,180,41,0.9);
  color: var(--bg-deep);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.game-info {
  padding: 20px;
  background: var(--bg-card);
}
.game-info h4 { margin-bottom: 6px; font-size: 1rem; }
.game-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.game-tag {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tag-new { background: rgba(34,197,94,0.15); color: var(--green); border: 1px solid rgba(34,197,94,0.3); }
.tag-hot { background: rgba(239,68,68,0.15); color: var(--red); border: 1px solid rgba(239,68,68,0.3); }
.tag-social { background: rgba(124,58,237,0.15); color: var(--purple-light); border: 1px solid rgba(124,58,237,0.3); }
.tag-jackpot { background: rgba(240,180,41,0.15); color: var(--gold); border: 1px solid rgba(240,180,41,0.3); }

/* ============================================================
   SLOT MACHINE (Game Page)
   ============================================================ */
.slot-wrapper {
  background: linear-gradient(145deg, #0d1226, #111827);
  border-radius: 24px;
  border: 2px solid var(--border);
  padding: 32px;
  box-shadow: 0 0 80px rgba(124,58,237,0.2), 0 0 40px rgba(240,180,41,0.1);
  max-width: 780px;
  margin: 0 auto;
}
.slot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.slot-title {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.slot-balance {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 20px;
}
.slot-balance-icon {
  width: 20px; height: 20px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slot-balance-icon svg { width: 12px; height: 12px; }
.slot-balance-amount {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}
.slot-balance-label { font-size: 0.75rem; color: var(--text-muted); }

/* Reels container */
.slot-reels-wrap {
  background: var(--bg-deep);
  border-radius: 16px;
  border: 2px solid var(--border-light);
  padding: 20px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.slot-reels-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(180deg, var(--bg-deep), transparent);
  z-index: 2;
  pointer-events: none;
}
.slot-reels-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(0deg, var(--bg-deep), transparent);
  z-index: 2;
  pointer-events: none;
}
.slot-reels {
  display: flex;
  gap: 8px;
}
.slot-reel {
  flex: 1;
  height: 240px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-card2);
  border: 1px solid var(--border-light);
  position: relative;
}
.slot-reel-inner {
  display: flex;
  flex-direction: column;
  transition: transform 0s;
}
.slot-reel-inner.spinning {
  animation: reelSpin 0.15s linear infinite;
}
@keyframes reelSpin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-80px); }
}
.slot-symbol {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.slot-symbol svg { width: 52px; height: 52px; }

/* Payline indicator */
.payline-indicator {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 82px;
  border: 2px solid rgba(240,180,41,0.4);
  border-radius: 6px;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 20px rgba(240,180,41,0.05);
}

/* Win display */
.slot-win-display {
  text-align: center;
  min-height: 48px;
  margin-bottom: 20px;
}
.slot-win-amount {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  animation: winPop 0.4s ease;
  display: inline-block;
}
@keyframes winPop {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.slot-win-label { font-size: 0.85rem; color: var(--text-muted); }

/* Controls */
.slot-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: end;
}
.slot-control-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.slot-control-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-deep);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 4px;
}
.slot-control-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-card2);
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.slot-control-btn:hover {
  background: var(--gold);
  color: var(--bg-deep);
}
.slot-control-value {
  flex: 1;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}
.slot-spin-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg-deep);
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 12px;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(240,180,41,0.5);
  position: relative;
  overflow: hidden;
}
.slot-spin-btn::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transform: rotate(45deg) translateY(-100%);
  transition: transform 0.6s ease;
}
.slot-spin-btn:hover::before { transform: rotate(45deg) translateY(100%); }
.slot-spin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(240,180,41,0.65);
}
.slot-spin-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Paytable */
.paytable {
  margin-top: 28px;
  background: var(--bg-deep);
  border-radius: 14px;
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.paytable-header {
  padding: 14px 20px;
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border-light);
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.paytable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1px;
  background: var(--border-light);
}
.paytable-item {
  background: var(--bg-dark);
  padding: 14px 10px;
  text-align: center;
}
.paytable-item svg { width: 32px; height: 32px; margin: 0 auto 6px; }
.paytable-item-name { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 4px; }
.paytable-item-mult {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 700;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  padding: 28px;
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.star-icon { color: var(--gold); font-size: 1rem; }
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
  color: var(--text-secondary);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-deep);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-location { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   ABOUT / TEAM
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-visual picture {
  display: block;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
}
.about-img-placeholder {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--bg-card2), var(--bg-card));
  border: 2px solid var(--border);
  padding: 40px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--bg-deep);
  border-radius: 20px;
  padding: 16px 24px;
  font-family: 'Cinzel', serif;
  text-align: center;
  box-shadow: var(--glow-gold);
}
.about-badge-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.about-badge-text { font-size: 0.75rem; font-weight: 600; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { margin-bottom: 16px; line-height: 1.8; }
.about-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}
.about-list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.about-list-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.about-list-dot svg { width: 12px; height: 12px; }

/* ============================================================
   CURRENCY / PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  padding: 36px 28px;
  text-align: center;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: var(--glow-gold);
}
.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pricing-icon svg { width: 32px; height: 32px; }
.pricing-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: var(--text-secondary);
}
.pricing-coins {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.pricing-coins span { font-size: 1rem; font-weight: 400; }
.pricing-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-bottom: 28px;
}
.pricing-feature {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.pricing-check { color: var(--green); flex-shrink: 0; }
.pricing-check svg { width: 16px; height: 16px; }

/* ============================================================
   CONTACT / FORM
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-control {
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240,180,41,0.15);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394a3b8'%3E%3Cpath d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  padding-right: 44px;
}
.form-submit { width: 100%; }

/* ============================================================
   CONTACT INFO CARDS
   ============================================================ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.contact-card {
  padding: 28px 24px;
  text-align: center;
}
.contact-card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.contact-card-icon svg { width: 26px; height: 26px; }
.contact-card h4 { margin-bottom: 8px; font-size: 1rem; }
.contact-card p, .contact-card a { font-size: 0.9rem; color: var(--text-secondary); }
.contact-card a:hover { color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060912;
  border-top: 1px solid var(--border-light);
  padding-top: 72px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-light);
}
.footer-brand { max-width: 300px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-icon svg { width: 24px; height: 24px; }
.footer-logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
}
.footer-logo-text span { color: var(--gold); }
.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-social {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.footer-social svg { width: 17px; height: 17px; }
.footer-social:hover svg path { fill: var(--bg-deep); }

.footer-col h5 {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 0.87rem;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  /* WCAG 1.4.1 — underline always visible */
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(141,163,184,0.4);
}
.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
  text-decoration-color: var(--gold);
}

.footer-bottom {
  padding: 28px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
}
.footer-legal a { color: var(--gold); }
.footer-legal a:hover { text-decoration: underline; }
.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
  flex-shrink: 0;
}
.footer-copyright span { color: var(--gold); }

.footer-badges {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.footer-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer-badge svg { width: 14px; height: 14px; }

/* Responsible gaming bar */
.rg-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 14px 0;
}
.rg-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.rg-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.rg-item svg { width: 16px; height: 16px; }

/* Age gate bar */
.age-bar {
  background: linear-gradient(90deg, rgba(239,68,68,0.15), rgba(239,68,68,0.05));
  border-top: 1px solid rgba(239,68,68,0.2);
  padding: 10px 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(239,68,68,0.85);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(124,58,237,0.2) 0%, transparent 70%),
    var(--bg-dark);
  padding: 108px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb svg { width: 14px; height: 14px; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.shimmer-text {
  background: linear-gradient(90deg, var(--gold) 0%, #fff 40%, var(--gold) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.bg-gradient {
  background: linear-gradient(135deg, var(--bg-card2), var(--bg-card));
}
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-48 { margin-top: 48px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.inline-gold {
  background: rgba(240,180,41,0.12);
  border: 1px solid rgba(240,180,41,0.25);
  color: var(--gold);
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.88em;
  font-weight: 600;
}

/* Policy pages */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
}
.policy-content h2 {
  font-size: 1.4rem;
  margin: 40px 0 16px;
  color: var(--gold);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}
.policy-content h3 {
  font-size: 1.1rem;
  margin: 28px 0 12px;
  color: var(--text-primary);
}
.policy-content p, .policy-content li {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.policy-content ul {
  list-style: disc;
  padding-left: 24px;
}
.policy-content ul li { margin-bottom: 8px; }
.policy-content a { color: var(--gold); }
.policy-content a:hover { text-decoration: underline; }
.policy-updated {
  background: rgba(240,180,41,0.1);
  border-left: 3px solid var(--gold);
  padding: 14px 20px;
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
  margin-bottom: 36px;
}

/* Notification / toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  font-size: 0.9rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(80px);
  opacity: 0;
  transition: var(--transition);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { width: 20px; height: 20px; flex-shrink: 0; }
.toast-win { border-color: var(--gold); }
.toast-win .toast-icon { color: var(--gold); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 0.87rem; color: var(--text-secondary); }
.cookie-banner a { color: var(--gold); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ============================================================
   RESPONSIVE — 1200px
   ============================================================ */
@media (max-width: 1200px) {
  .hero-visual { width: 42vw; right: -20px; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer-top .footer-brand { grid-column: 1 / -1; max-width: 100%; }
  .footer-top .footer-brand .footer-desc { max-width: 560px; }
}

/* ============================================================
   RESPONSIVE — 991px (Tablet)
   ============================================================ */
@media (max-width: 991px) {
  .burger { display: flex; }
  .nav-links, .nav-cta { display: none; }
  .hero-visual { width: 100%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 480px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { flex-direction: column; }
  .footer-copyright { text-align: left; }
  .slot-controls { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .slot-controls { grid-template-columns: 1fr; }
  .slot-reels { gap: 6px; }
  .slot-reel { height: 200px; }
  .slot-symbol svg { width: 42px; height: 42px; }
  .payline-indicator { height: 68px; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 90px 0 48px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
  .slot-wrapper { padding: 20px 16px; }
  .slot-reels { gap: 4px; }
  .slot-reel { height: 180px; }
  .slot-symbol { height: 60px; }
  .slot-symbol svg { width: 36px; height: 36px; }
  .payline-indicator { height: 62px; }
  .rg-bar-inner { gap: 12px; }
  .hero-machine { padding: 20px; }
  .section-header { margin-bottom: 40px; }
  .games-grid { grid-template-columns: 1fr; }
  .paytable-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — 380px / 300px
   ============================================================ */
@media (max-width: 380px) {
  html { font-size: 14px; }
  .container { padding: 0 12px; }
  .slot-reels-wrap { padding: 12px; }
  .slot-reel { height: 160px; }
  .slot-symbol { height: 54px; }
  .slot-symbol svg { width: 32px; height: 32px; }
  .payline-indicator { height: 56px; }
  .btn { padding: 12px 22px; font-size: 0.88rem; }
  .footer-socials { flex-wrap: wrap; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .testimonial-card { padding: 20px; }
  .pricing-card { padding: 24px 18px; }
}
@media (max-width: 300px) {
  html { font-size: 13px; }
  .container { padding: 0 8px; }
  .slot-reels { gap: 3px; }
  .slot-reel { height: 144px; }
  .slot-symbol { height: 48px; }
  .slot-symbol svg { width: 28px; height: 28px; }
  .payline-indicator { height: 50px; }
  .nav-logo-text { font-size: 1rem; }
  .footer-badges { gap: 6px; }
}

/* ============================================================
   GAME PAGES — REDESIGN 2.0
   ============================================================ */

/* ---- Animated BG Layer ---- */
.gp-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.gp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: gpOrbFloat linear infinite;
}
.gp-orb:nth-child(1) { width: 500px; height: 500px; top: -10%; left: -10%; animation-duration: 22s; }
.gp-orb:nth-child(2) { width: 400px; height: 400px; top: 30%; right: -8%; animation-duration: 28s; animation-delay: -8s; }
.gp-orb:nth-child(3) { width: 300px; height: 300px; bottom: 5%;  left: 20%;  animation-duration: 18s; animation-delay: -4s; }
.gp-orb:nth-child(4) { width: 250px; height: 250px; top: 60%;   right: 25%; animation-duration: 32s; animation-delay: -14s; }
@keyframes gpOrbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(40px, -60px) scale(1.08); }
  50%  { transform: translate(-30px, -100px) scale(0.94); }
  75%  { transform: translate(-60px, -40px) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}
/* Color themes per page */
.gp-bg.theme-classic .gp-orb:nth-child(1) { background: #f0b429; }
.gp-bg.theme-classic .gp-orb:nth-child(2) { background: #92400e; }
.gp-bg.theme-classic .gp-orb:nth-child(3) { background: #f0b429; opacity: 0.1; }
.gp-bg.theme-classic .gp-orb:nth-child(4) { background: #d97706; }

.gp-bg.theme-video .gp-orb:nth-child(1) { background: #7c3aed; }
.gp-bg.theme-video .gp-orb:nth-child(2) { background: #06b6d4; }
.gp-bg.theme-video .gp-orb:nth-child(3) { background: #4c1d95; opacity: 0.12; }
.gp-bg.theme-video .gp-orb:nth-child(4) { background: #0891b2; }

.gp-bg.theme-jackpot .gp-orb:nth-child(1) { background: #f0b429; }
.gp-bg.theme-jackpot .gp-orb:nth-child(2) { background: #dc2626; }
.gp-bg.theme-jackpot .gp-orb:nth-child(3) { background: #b45309; opacity: 0.15; }
.gp-bg.theme-jackpot .gp-orb:nth-child(4) { background: #991b1b; }

.gp-bg.theme-social .gp-orb:nth-child(1) { background: #06b6d4; }
.gp-bg.theme-social .gp-orb:nth-child(2) { background: #7c3aed; }
.gp-bg.theme-social .gp-orb:nth-child(3) { background: #22c55e; opacity: 0.1; }
.gp-bg.theme-social .gp-orb:nth-child(4) { background: #0e7490; }

/* Twinkling stars layer */
.gp-stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 15% 12%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 42% 78%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 68% 23%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 87% 56%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 65%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 54% 44%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 73% 88%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 8%  38%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 92% 15%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 34% 91%, rgba(255,255,255,0.3) 0%, transparent 100%);
  animation: gpStarsTwinkle 6s ease-in-out infinite alternate;
}
@keyframes gpStarsTwinkle {
  0%   { opacity: 0.6; }
  50%  { opacity: 1; }
  100% { opacity: 0.5; }
}

/* Grid scanlines overlay — subtle */
.gp-grid-lines {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* Ensure page content sits above bg */
body > .gp-page-hero,
body > section,
body > footer,
body > .cookie-banner {
  position: relative;
  z-index: 1;
}

/* ---- ENHANCED PAGE HERO ---- */
.gp-page-hero {
  padding: 108px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gp-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,8,16,0) 0%, var(--bg-deep) 100%);
  z-index: 1;
}
.gp-page-hero .container { position: relative; z-index: 2; }

.gp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  animation: fadeInUp 0.5s ease both;
}
.gp-hero-eyebrow span { width: 6px; height: 6px; border-radius: 50%; animation: gpDotPulse 1.5s ease infinite; }
@keyframes gpDotPulse {
  0%,100%{ transform: scale(1); opacity: 1; }
  50%    { transform: scale(1.4); opacity: 0.6; }
}

.gp-page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 20px;
  animation: fadeInUp 0.5s ease 0.1s both;
}
.gp-page-hero > .container > p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.5s ease 0.2s both;
}

/* Stats strip in hero */
.gp-hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 0;
  animation: fadeInUp 0.5s ease 0.3s both;
}
.gp-hero-stat {
  padding: 16px 32px;
  text-align: center;
  border-right: 1px solid var(--border-light);
}
.gp-hero-stat:last-child { border-right: none; }
.gp-hero-stat-val {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.gp-hero-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Page nav tabs (switch between pages) */
.gp-page-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 20px 0 0;
  animation: fadeInUp 0.5s ease 0.35s both;
}
.gp-page-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  background: transparent;
  transition: var(--transition);
}
.gp-page-tab:hover,
.gp-page-tab.active {
  color: var(--text-primary);
  border-color: var(--gold);
  background: rgba(240,180,41,0.08);
}
.gp-page-tab.active { color: var(--gold); }
.gp-page-tab svg { width: 16px; height: 16px; opacity: 0.7; }
.gp-page-tab.active svg { opacity: 1; }

/* ---- GAME SECTION REDESIGN ---- */
.gp-section {
  padding: 72px 0;
  position: relative;
}
.gp-section + .gp-section::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Section title with icon */
.gp-section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
  gap: 12px;
}
.gp-section-num {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.gp-section-num::before,
.gp-section-num::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--border);
}
.gp-section-title h2 { margin: 0; }

/* ---- GAME INFO STRIP (replaces boring table) ---- */
.gp-info-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
}
.gp-info-item {
  background: var(--bg-card);
  padding: 20px 16px;
  text-align: center;
  transition: background 0.2s;
}
.gp-info-item:hover { background: var(--bg-card2); }
.gp-info-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.gp-info-value {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
}

/* ---- ENHANCED GAME CARDS GRID ---- */
.gp-games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .gp-games-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gp-games-grid { grid-template-columns: 1fr; } }

.gp-game-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  cursor: pointer;
  position: relative;
}
.gp-game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(240,180,41,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(240,180,41,0.08);
}

.gp-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.gp-thumb-bg {
  position: absolute;
  inset: 0;
}
.gp-thumb-symbols {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.gp-sym {
  width: 48px;
  height: 48px;
  opacity: 0.7;
  filter: drop-shadow(0 0 12px currentColor);
  transition: opacity 0.3s, transform 0.3s;
}
.gp-game-card:hover .gp-sym { opacity: 1; }
.gp-sym:nth-child(2) { width: 60px; height: 60px; opacity: 0.9; }
.gp-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7,10,20,0.95) 100%);
}
.gp-thumb-rtp {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
  font-family: 'Cinzel', serif;
  backdrop-filter: blur(8px);
}
.gp-thumb-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.gp-badge-hot  { background: rgba(239,68,68,0.25); color: #fca5a5; border: 1px solid rgba(239,68,68,0.4); }
.gp-badge-new  { background: rgba(34,197,94,0.2); color: #86efac; border: 1px solid rgba(34,197,94,0.3); }
.gp-badge-jp   { background: rgba(240,180,41,0.2); color: var(--gold); border: 1px solid rgba(240,180,41,0.4); }
.gp-badge-soc  { background: rgba(6,182,212,0.2); color: #67e8f9; border: 1px solid rgba(6,182,212,0.3); }

.gp-play-btn {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px 16px;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.25s ease;
}
.gp-game-card:hover .gp-play-btn { opacity: 1; transform: translateY(0); }
.gp-play-btn-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--bg-deep);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
  width: 100%;
  justify-content: center;
}
.gp-play-btn-inner svg { width: 14px; height: 14px; }

.gp-card-body {
  padding: 20px;
}
.gp-card-body h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  font-family: 'Cinzel', serif;
}
.gp-card-body p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}
.gp-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.gp-tag {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.gp-tag-soc  { background: rgba(6,182,212,0.12); color: #67e8f9; border: 1px solid rgba(6,182,212,0.25); }
.gp-tag-hot  { background: rgba(239,68,68,0.1); color: #fca5a5; border: 1px solid rgba(239,68,68,0.25); }
.gp-tag-new  { background: rgba(34,197,94,0.1); color: #86efac; border: 1px solid rgba(34,197,94,0.25); }
.gp-tag-jp   { background: rgba(240,180,41,0.1); color: var(--gold); border: 1px solid rgba(240,180,41,0.25); }
.gp-tag-cls  { background: rgba(217,119,6,0.12); color: #fcd34d; border: 1px solid rgba(217,119,6,0.3); }
.gp-tag-prem { background: rgba(124,58,237,0.12); color: var(--purple-light); border: 1px solid rgba(124,58,237,0.3); }

/* ---- GAME DESCRIPTION BLOCK ---- */
.gp-desc-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .gp-desc-block { grid-template-columns: 1fr; }
}
.gp-desc-text { line-height: 1.85; color: var(--text-secondary); }
.gp-desc-text p { margin-bottom: 16px; }
.gp-desc-text p:last-child { margin-bottom: 0; }
.gp-desc-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gp-feature-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}
.gp-feature-row:hover { border-color: var(--border); background: var(--bg-card2); }
.gp-feature-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.gp-feature-icon svg { width: 18px; height: 18px; }
.gp-feature-lbl { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 2px; }
.gp-feature-val { font-size: 0.95rem; font-weight: 600; }

/* ---- JACKPOT COUNTER v2 ---- */
.gp-jackpot-wrap {
  margin-bottom: 60px;
  text-align: center;
  position: relative;
}
.gp-jackpot-card {
  background: linear-gradient(135deg, #0d0614, #1a0033);
  border: 2px solid var(--gold);
  border-radius: 24px;
  padding: 48px 32px;
  position: relative;
  overflow: hidden;
}
.gp-jackpot-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(240,180,41,0.12) 0%, transparent 70%);
}
.gp-jackpot-card::after {
  content: '';
  position: absolute;
  top: -1px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: jackpotSweep 2.5s ease-in-out infinite;
}
@keyframes jackpotSweep {
  0%,100% { opacity: 0.5; }
  50%      { opacity: 1; box-shadow: 0 0 20px var(--gold); }
}
.gp-jackpot-label-top {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  position: relative;
}
.gp-jackpot-num {
  font-family: 'Cinzel', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  position: relative;
  text-shadow: 0 0 60px rgba(240,180,41,0.6), 0 0 120px rgba(240,180,41,0.3);
  animation: jackpotGlow 2s ease infinite;
}
@keyframes jackpotGlow {
  0%,100%{ text-shadow: 0 0 40px rgba(240,180,41,0.5); }
  50%    { text-shadow: 0 0 80px rgba(240,180,41,0.9), 0 0 160px rgba(240,180,41,0.4); }
}
.gp-jackpot-currency {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
  position: relative;
}
.gp-jackpot-currency strong { color: var(--green); font-weight: 700; }
.gp-jackpot-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 24px;
  position: relative;
  flex-wrap: wrap;
}
.gp-jackpot-mini { text-align: center; }
.gp-jackpot-mini-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.gp-jackpot-mini-val  { font-family: 'Cinzel', serif; font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }

/* ---- LEADERBOARD v2 ---- */
.gp-leaderboard {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gp-lb-header {
  background: linear-gradient(135deg, #0f0a00, #2a1800);
  border-bottom: 1px solid rgba(240,180,41,0.3);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gp-lb-header h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.gp-lb-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 700;
}
.gp-lb-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: gpDotPulse 1.2s ease infinite;
}
.gp-lb-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s;
}
.gp-lb-row:last-child { border-bottom: none; }
.gp-lb-row:hover { background: rgba(240,180,41,0.04); }
.gp-lb-pos {
  width: 28px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  flex-shrink: 0;
}
.pos-1 { color: var(--gold); }
.pos-2 { color: #94a3b8; }
.pos-3 { color: #c48c00; }
.gp-lb-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}
.gp-lb-name { flex: 1; font-size: 0.88rem; font-weight: 500; }
.gp-lb-score { font-family: 'Cinzel', serif; font-size: 0.88rem; color: var(--gold); }
.gp-lb-lvl {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}
.lvl-vip   { background: rgba(124,58,237,0.2); color: #c4b5fd; border: 1px solid rgba(124,58,237,0.35); }
.lvl-prem  { background: rgba(240,180,41,0.15); color: var(--gold); border: 1px solid rgba(240,180,41,0.3); }
.lvl-gold  { background: rgba(217,119,6,0.15); color: #fcd34d; border: 1px solid rgba(217,119,6,0.3); }
.lvl-silv  { background: rgba(148,163,184,0.12); color: #cbd5e1; border: 1px solid rgba(148,163,184,0.25); }

/* Level progress cards */
.gp-level-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: var(--transition);
}
.gp-level-card:hover { border-color: var(--border); transform: translateX(4px); }
.gp-level-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gp-level-icon svg { width: 26px; height: 26px; }
.gp-level-name { font-weight: 700; margin-bottom: 3px; font-size: 1rem; }
.gp-level-range { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.gp-level-bar { height: 4px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; }
.gp-level-fill { height: 100%; border-radius: 999px; }

/* ---- SOCIAL FEATURES GRID v2 ---- */
.gp-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
@media (max-width: 991px) { .gp-social-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gp-social-grid { grid-template-columns: 1fr; } }

.gp-social-card {
  padding: 32px 24px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.gp-social-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gp-social-card:hover { transform: translateY(-6px); border-color: var(--border); }
.gp-social-card:hover::before { opacity: 1; }
.gp-social-card:nth-child(1)::before { background: linear-gradient(90deg, transparent, #a78bfa, transparent); }
.gp-social-card:nth-child(2)::before { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.gp-social-card:nth-child(3)::before { background: linear-gradient(90deg, transparent, #22c55e, transparent); }
.gp-social-card:nth-child(4)::before { background: linear-gradient(90deg, transparent, #06b6d4, transparent); }
.gp-social-card-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.gp-social-card-icon svg { width: 30px; height: 30px; }
.gp-social-card h4 { margin-bottom: 10px; font-size: 1rem; }
.gp-social-card p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.65; }

/* ---- CTA BANNER ---- */
.gp-cta {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(240,180,41,0.1));
  border: 1px solid rgba(240,180,41,0.2);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(240,180,41,0.08) 0%, transparent 70%);
}
.gp-cta h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 14px; position: relative; }
.gp-cta p  { color: var(--text-secondary); margin-bottom: 28px; position: relative; }
.gp-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .gp-page-hero { padding: 96px 0 40px; }
  .gp-hero-stat { padding: 12px 20px; }
  .gp-hero-stat-val { font-size: 1.3rem; }
  .gp-jackpot-num { font-size: clamp(2.5rem, 8vw, 4rem); }
  .gp-jackpot-row { gap: 24px; }
  .gp-desc-block { gap: 28px; }
}
@media (max-width: 480px) {
  .gp-page-tabs { gap: 6px; }
  .gp-page-tab { padding: 8px 14px; font-size: 0.78rem; }
  .gp-hero-stats { gap: 0; }
  .gp-hero-stat { border-right: none; border-bottom: 1px solid var(--border-light); padding: 12px; flex: 1 1 50%; }
  .gp-cta { padding: 32px 20px; }
  .gp-jackpot-card { padding: 32px 20px; }
}

/* ============================================================
   MOBILE RESPONSIVENESS — COMPREHENSIVE FIXES
   ============================================================ */

/* ---- 768px fixes ---- */
@media (max-width: 768px) {
  /* Typography scale */
  h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 2rem); }

  /* Generic utility grids */
  .grid-2 { grid-template-columns: 1fr; }

  /* Jackpot counter mini-cards stack vertically */
  .gp-jackpot-row { flex-direction: column; align-items: center; gap: 12px; }

  /* Game page tabs wrap instead of overflow */
  .gp-page-tabs { flex-wrap: wrap; gap: 6px; }

  /* Social-games leaderboard + levels inline grid → single column */
  .social-lb-grid { grid-template-columns: 1fr !important; }

  /* Info strip: already uses auto-fit but clamp minimum so it wraps gracefully */
  .gp-info-strip { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }

  /* Banner CTA buttons always wrap */
  .banner-cta .btn { white-space: nowrap; }

  /* Trust bar centering on small tablets */
  .trust-bar-inner { justify-content: center; }
}

/* ---- 480px fixes ---- */
@media (max-width: 480px) {
  /* Trust bar stacks vertically */
  .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Hero machine card padding */
  .hero-machine { padding: 20px 16px; }

  /* Game page tab sizing (already partially covered, ensure wrap too) */
  .gp-page-tabs { flex-wrap: wrap; }
  .gp-page-tab { font-size: 0.75rem; padding: 7px 10px; }

  /* gp-info-strip full width items on very small screens */
  .gp-info-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Additional targeted fixes ---- */
@media (max-width: 640px) {
  /* / news-grid: 3-col → 1-col */
  .news-grid { grid-template-columns: 1fr !important; }
  /* contact office hours */
  .office-hours { grid-template-columns: 1fr !important; }
  /* Hero machine quick-links 2-col stays ok, but shrink font */
  .hero-machine a { font-size: 0.72rem; padding: 8px 6px; }
  /* Subscription plan cards in feedback */
  .plan-card { flex-wrap: wrap; }
  /* Steps grid 2→1 col on very small */
  .steps-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  /* gp-jackpot mini cards: 3 → 1 col */
  .gp-jackpot-row { flex-direction: column; }
  /* game features inside desc block */
  .gp-desc-features { padding: 20px 16px; }
  /* footer bottom inner: stack vertically */
  .footer-bottom-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-copyright { text-align: center; }
  /* rg-bar wrap */
  .rg-bar-inner { flex-wrap: wrap; gap: 12px; justify-content: center; }
  /* hero section */
  .hero-badge { font-size: 0.72rem; padding: 6px 14px; }
  /* pricing cards: no side margin */
  .pricing-card { margin: 0; }
  /* feedback tabs: column on very small */
  .tabs { flex-direction: column; }
  .tab { text-align: center; }
  /* subscription plan card amount: shrink */
  #tab-subscribe [id^="pc-"] { flex-wrap: wrap; }
  /* gp-lb table padding */
  .gp-lb-row { padding: 12px 16px; gap: 8px; }
  .gp-lb-name { font-size: 0.78rem; }
  .gp-lb-score { font-size: 0.82rem; }
  /* level cards in social-games */
  .gp-level-card { padding: 18px 16px; }
}

/* =============================================
   ACCESSIBILITY & PERFORMANCE
   ============================================= */

/* Skip navigation link */
.skip-nav {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-nav:focus {
  top: 0;
}

/* Focus-visible styles — keyboard navigation */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) {
  outline: none;
}

/* Buttons and links focus ring */
.btn:focus-visible,
.nav-link:focus-visible,
.footer-link:focus-visible,
.social-icon:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 6px;
}

/* Reduced motion — respect user preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode support */
@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  .navbar { border-bottom: 1px solid ButtonText; }
}

/* Print styles */
@media print {
  .navbar, .mobile-nav, .footer, .rg-bar, .age-bar, .cookie-banner { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* =============================================
   WCAG AA ACCESSIBILITY FIXES
   ============================================= */

/* --- Contrast: raise muted/secondary text at source (variables updated in :root) ---
   --text-muted:     #64748b → #8da3b8  (3.2:1 FAIL → 7.7:1 PASS)
   --text-secondary: #94a3b8 → #b0c4d8  (7.8:1 → 11.2:1)
   Both already updated in :root above. These rules ensure any
   hardcoded color values in component styles are also raised. */

/* Form labels */
.form-label { color: var(--text-muted); }

/* Pricing card labels */
.pricing-name,
.pricing-price,
.pricing-feature { color: var(--text-muted); }

/* Inline body links — privacy, terms, cookies, contact pages */
.legal-content a,
.page-content a,
.contact-card a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content a:hover,
.page-content a:hover,
.contact-card a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

/* --- Screen reader utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Heading visual sizes for corrected hierarchy (h4→h3, h5→h3 in markup) --- */
.features-grid .feature-card h3,
.steps-grid .step h3,
.gp-game-card h3,
.gp-social-card h3,
.news-card h3,
.testimonial-card h3,
.pricing-card h3,
.contact-card h3,
.level-card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

/* Footer column headings (visually small, semantically h3) */
.footer-col h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}
