/* =============================================
   MAARCK3 — Site Redesign
   Paleta: Verde #22c55e + Dark #0d1117
   ============================================= */

/* Auth-only: escondido até estar logado */
.auth-only { display: none !important; }

:root {
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-glow: rgba(34, 197, 94, 0.3);
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-card: #1c2230;
  --bg-card-hover: #222c3c;
  --text-primary: #f0f6fc;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;
  --border: #30363d;
  --border-green: rgba(34, 197, 94, 0.4);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-green: 0 0 24px rgba(34, 197, 94, 0.15);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* =============================================
   SCROLLBAR
   ============================================= */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* =============================================
   HEADER / NAV
   ============================================= */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34,197,94,0.3);
  box-shadow: 0 1px 20px rgba(34,197,94,0.12), 0 0 40px rgba(34,197,94,0.04);
  height: 64px;
  display: flex;
  align-items: center;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: color var(--transition);
}

.logo:hover { color: var(--green); }

.logo-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--green);
  object-fit: cover;
  animation: logoPulse 3s ease-in-out infinite alternate;
}

@keyframes logoPulse {
  from { box-shadow: 0 0 0 3px rgba(34,197,94,0.1), 0 0 8px rgba(34,197,94,0.2); }
  to   { box-shadow: 0 0 0 3px rgba(34,197,94,0.3), 0 0 20px rgba(34,197,94,0.5); }
}

.logo-text span {
  color: var(--green);
  text-shadow: 0 0 10px rgba(34,197,94,0.8), 0 0 28px rgba(34,197,94,0.4);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.nav-link.active {
  color: var(--green);
  background: transparent;
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 8px rgba(34,197,94,0.9), 0 0 16px rgba(34,197,94,0.5);
  border-radius: 2px;
}

.nav-store {
  background: var(--green);
  color: #000 !important;
  font-weight: 600;
  padding: 8px 16px;
}

.nav-store:hover { background: var(--green-dark); }
.nav-store.active {
  background: transparent;
  color: var(--green) !important;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.nav-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
  font-size: 0.85rem;
}

.nav-social-icon:hover {
  background: var(--green);
  color: #000;
  transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 16px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}

.mobile-nav.open { display: flex; }

.mobile-nav-link {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  transition: all var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--bg-card);
  color: var(--text-primary);
}

.mobile-nav-link.active { color: var(--green); }

.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

/* =============================================
   MAIN CONTENT
   ============================================= */

.page {
  padding-top: 64px;
  min-height: 100vh;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   HERO SECTION
   ============================================= */

/* ── HERO CINEMATIC SPLIT ─────────────────────────────── */

.hero {
  position: relative;
  padding: 80px 0 80px;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 90% at 92% 50%, rgba(34,197,94,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 35% 50% at 10% 20%, rgba(34,197,94,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: center;
  width: 100%;
}

/* ── LEFT ── */
.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--border-green);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--green);
  text-shadow: 0 0 20px rgba(34,197,94,0.6), 0 0 60px rgba(34,197,94,0.25);
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--green);
  color: #000;
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

/* ── STAT CARDS ── */
.hero-stats {
  display: flex;
  gap: 12px;
}

.hero-stat-card {
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: 14px;
  padding: 14px 22px;
  text-align: center;
  transition: all 0.3s ease;
  min-width: 90px;
}

.hero-stat-card:hover {
  background: rgba(34,197,94,0.1);
  border-color: rgba(34,197,94,0.4);
  box-shadow: 0 0 28px rgba(34,197,94,0.12);
  transform: translateY(-3px);
}

.hero-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── RIGHT: AVATAR ── */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-avatar-wrap {
  position: relative;
  display: inline-block;
}

.hero-avatar-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,0.35) 0%, transparent 70%);
  animation: avatarPulse 3s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes avatarPulse {
  from { opacity: 0.5; transform: scale(0.92); }
  to   { opacity: 1;   transform: scale(1.08); }
}

.hero-avatar {
  position: relative;
  z-index: 1;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 3px solid var(--green);
  box-shadow:
    0 0 0 8px rgba(34,197,94,0.08),
    0 0 48px rgba(34,197,94,0.3),
    0 0 100px rgba(34,197,94,0.12);
  object-fit: cover;
}

.hero-live-badge {
  position: absolute;
  bottom: 16px; right: 8px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg-primary);
  z-index: 2;
}

/* =============================================
   SECTION HEADERS
   ============================================= */

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title span { color: var(--green); }

.section-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* =============================================
   CASINO CARDS GRID
   ============================================= */

.offers-section { padding: 48px 0; }

.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.casino-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.casino-card:hover {
  border-color: var(--border-green);
  box-shadow: var(--shadow-green);
  transform: translateY(-4px);
}

.casino-card-banner {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.casino-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.casino-card:hover .casino-card-banner img {
  transform: scale(1.05);
}

.casino-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.casino-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.casino-name {
  font-weight: 700;
  font-size: 1rem;
}

.casino-badge-safe {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--green);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--border-green);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.casino-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.casino-stat {
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
}

.casino-stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.casino-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.casino-stat.highlight .casino-stat-value { color: var(--green); }

.casino-disclaimer {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 12px;
}

.casino-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.btn-casino-view {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  display: block;
  width: 100%;
}

.btn-casino-view:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-casino-claim {
  background: var(--green);
  color: #000;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  transition: all var(--transition);
}

.btn-casino-claim:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

/* =============================================
   PAGE HERO (internas)
   ============================================= */

.page-hero {
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--border-green);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.page-hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* =============================================
   ABOUT PAGE
   ============================================= */

.about-section { padding: 48px 0 80px; }

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.about-sidebar {
  position: sticky;
  top: 88px;
}

.about-avatar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.about-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--green);
  box-shadow: var(--shadow-green);
  margin: 0 auto 16px;
  object-fit: cover;
}

.about-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-name span { color: var(--green); }

.about-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.about-stat {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
}

.about-stat-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  display: block;
}

.about-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.about-social-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-secondary);
}

.about-social-btn:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.about-content { flex: 1; }

.about-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
}

.about-block-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-block-text {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

.about-block-text p + p { margin-top: 12px; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.about-tag {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* =============================================
   STREAM PAGE
   ============================================= */

.stream-section { padding: 40px 0 80px; }

.stream-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
}

.stream-embed-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.stream-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.stream-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stream-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.stream-info-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.stream-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.stream-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
}

.stream-dot.live {
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.stream-schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.stream-schedule-item:last-child { border-bottom: none; }

.schedule-day { color: var(--text-secondary); }
.schedule-time { font-weight: 600; color: var(--green); }

.discord-cta {
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.discord-cta h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.discord-cta p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #5865F2;
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  width: 100%;
  justify-content: center;
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
}

/* =============================================
   FAQ PAGE
   ============================================= */

.faq-section { padding: 40px 0 80px; }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--border-green);
  box-shadow: var(--shadow-green);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--green); }

.faq-item.open .faq-question { color: var(--green); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  transition: all var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--green);
  border-color: var(--green);
  color: #000;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-brand .logo { margin-bottom: 12px; }

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-social:hover {
  background: var(--green);
  border-color: var(--green);
  color: #000;
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-legal-link:hover { color: var(--green); }

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-age {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.begambleaware {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.begambleaware span { color: var(--text-primary); }

/* =============================================
   UTILITY
   ============================================= */

.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .casino-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .about-sidebar { position: static; }
  .stream-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav, .nav-socials, .btn-twitch-login, .twitch-user { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-right { order: -1; }
  .hero-avatar { width: 180px; height: 180px; }
  .hero-tag { margin: 0 auto 20px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }

  .casino-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-socials { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── TWITCH LOGIN ──────────────────────────── */
.btn-twitch-login {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #9146ff;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn-twitch-login:hover {
  background: #7c3aed;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(145, 70, 255, 0.35);
}
.btn-twitch-login i { font-size: 0.9rem; }

.twitch-user {
  display: flex;
  align-items: center;
  gap: 8px;
}
.twitch-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #9146ff;
  object-fit: cover;
}
.twitch-user-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.twitch-logout {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.75rem;
  font-family: var(--font);
  transition: all var(--transition);
  line-height: 1.4;
}
.twitch-logout:hover {
  background: rgba(255,80,80,0.12);
  border-color: rgba(255,80,80,0.4);
  color: #f87171;
}

/* ─── TWITCH USER DROPDOWN ──────────────────── */
.twitch-user {
  position: relative;
  cursor: pointer;
}
.twitch-user-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  user-select: none;
}
.twitch-user-trigger:hover {
  border-color: #9146ff;
  background: var(--bg-card-hover);
}
.twitch-user-trigger .twitch-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #9146ff;
  object-fit: cover;
}
.twitch-user-trigger .twitch-user-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.twitch-user-trigger .twitch-caret {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-left: 2px;
  transition: transform var(--transition);
}
.twitch-user.open .twitch-caret {
  transform: rotate(180deg);
}

.twitch-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 200;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.twitch-user.open .twitch-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.twitch-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.twitch-dropdown-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #9146ff;
  object-fit: cover;
  flex-shrink: 0;
}
.twitch-dropdown-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.twitch-dropdown-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.twitch-dropdown-label {
  font-size: 0.72rem;
  color: #9146ff;
  font-weight: 500;
}

.twitch-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  font-family: var(--font);
  text-align: left;
}
.twitch-dropdown-item:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}
.twitch-dropdown-item i { width: 16px; text-align: center; }
.twitch-dropdown-item.danger:hover {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
}
.twitch-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}
.twitch-dropdown-points {
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

/* =============================================
   CASINO MODAL
   ============================================= */

.casino-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.casino-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.casino-modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s ease;
  position: relative;
}

.casino-modal-overlay.open .casino-modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background var(--transition);
}

.modal-close:hover {
  background: rgba(255,255,255,0.1);
}

.modal-banner {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-card);
}

.modal-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-body {
  padding: 20px;
}

.modal-casino-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-casino-name::after {
  content: 'Parceiro';
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
}

.modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.modal-info-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.modal-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.modal-info-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.modal-info-item.highlight .modal-info-value {
  color: var(--green);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-claim-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  background: var(--green);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.modal-claim-btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.modal-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .modal-info-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   LOJA DE PONTOS
   ============================================= */

.store-how-it-works {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  flex-wrap: wrap;
}

.store-how-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 180px;
}

.store-how-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-glow);
  border: 1px solid var(--border-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.store-how-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.store-how-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.store-how-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.store-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 64px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.store-error {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 64px;
  color: var(--text-muted);
  text-align: center;
}

.store-error i { font-size: 2rem; color: var(--text-muted); }

.store-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.store-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.store-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-green);
  box-shadow: var(--shadow-green);
}

.store-card-out {
  opacity: 0.55;
}

.store-card-out:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}

.store-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-secondary);
  overflow: hidden;
}

.store-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-card-soldout {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.store-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.store-card-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.store-card-cost {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green);
}

.store-card-cost i { font-size: 0.8rem; }

.store-card-stock {
  font-size: 0.75rem;
  font-weight: 500;
}

.stock-unlimited { color: var(--text-muted); }
.stock-ok { color: var(--text-muted); }
.stock-low { color: #f59e0b; }
.stock-out { color: #ef4444; }

.store-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px;
  background: var(--green);
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.store-card-btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.store-card-btn-out {
  background: var(--bg-secondary);
  color: var(--text-muted);
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 640px) {
  .store-how-arrow { display: none; }
  .store-how-it-works { gap: 12px; }
}

/* =============================================
   MINI JOGOS — RASPADINHA
   ============================================= */

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

/* --- Scratch Card --- */
.scratch-card-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 480px;
  margin: 40px auto 0;
}

.scratch-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}

.scratch-card-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: -12px;
}

.scratch-zones {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.scratch-zone {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.scratch-symbol {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 2.8rem;
  line-height: 1;
  user-select: none;
}

.scratch-symbol span {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scratch-canvas {
  position: absolute;
  inset: 0;
  cursor: crosshair;
  border-radius: var(--radius);
  touch-action: none;
}

.scratch-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.scratch-result {
  width: 100%;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  display: none;
}

.scratch-result.win {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.scratch-result.lose {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

.scratch-result-emoji {
  font-size: 2rem;
  margin-bottom: 8px;
}

.scratch-result-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.scratch-result.win .scratch-result-title { color: var(--green); }
.scratch-result.lose .scratch-result-title { color: var(--text-secondary); }

.scratch-result-msg {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.scratch-cooldown {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.scratch-cooldown-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.scratch-cooldown-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.scratch-cooldown-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.scratch-cooldown-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
}

.scratch-cooldown-badge.win-badge {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
}

.scratch-cooldown-badge.lose-badge {
  background: var(--bg-card);
  color: var(--text-muted);
}

/* Confetti burst */
@keyframes confetti-fall {
  0%   { transform: translateY(-20px) rotate(0deg);   opacity: 1; }
  100% { transform: translateY(80px)  rotate(720deg); opacity: 0; }
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confetti-fall 1.2s ease-out forwards;
  pointer-events: none;
}

.scratch-confetti {
  position: relative;
  overflow: visible;
}

@media (max-width: 480px) {
  .scratch-zone { width: 95px; height: 95px; }
  .scratch-symbol { font-size: 2.2rem; }
}

/* =============================================
   SLOT MACHINE
   ============================================= */

.slot-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 820px;
  margin: 32px auto 0;
  width: 100%;
}

/* ── PP Demo iframe ── */
.slot-iframe-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  position: relative;
}
.slot-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
@media (max-width: 600px) {
  .slot-iframe-wrap {
    aspect-ratio: 9 / 13;
  }
}

.slot-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}

/* Game header */
.slot-game-header {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.slot-game-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-primary);
}

.slot-game-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.slot-game-provider {
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 600;
  margin-top: 2px;
}

.slot-game-change {
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font);
  padding: 5px 10px;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.slot-game-change:hover { border-color: var(--green); color: var(--text-primary); }

/* Stats bar */
.slot-stats {
  display: flex;
  gap: 0;
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.slot-stat {
  flex: 1;
  padding: 10px 8px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.slot-stat:last-child { border-right: none; }

.slot-stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.slot-stat-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 2px;
  display: block;
}

.slot-stat-value.balance-value { color: var(--green); }

/* Reels */
.slot-machine {
  position: relative;
  background: #050a10;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  width: 100%;
}

.slot-win-line {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background: rgba(34, 197, 94, 0.5);
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.slot-reels {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.slot-reel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 90px;
}

.reel-sym {
  width: 90px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  background: #0d1117;
  transition: filter 0.08s;
  line-height: 1;
  user-select: none;
}

.reel-sym.mid {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.1);
}

.reel-sym.spinning {
  filter: blur(4px);
  transform: scale(0.95);
}

.reel-sym.win-flash {
  animation: winFlash 0.4s ease-in-out 3;
}

@keyframes winFlash {
  0%, 100% { box-shadow: none; border-color: rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 20px var(--green); border-color: var(--green); }
}

/* Win display */
.slot-win-msg {
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.slot-win-msg.win {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.slot-win-msg.lose {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
  font-size: 0.85rem;
}

.slot-win-msg.big-win {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  animation: winFlash 0.4s ease 3;
}

/* Spin button */
.btn-spin {
  width: 100%;
  padding: 14px;
  background: var(--green);
  color: #000;
  font-weight: 800;
  font-size: 1.05rem;
  font-family: var(--font);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background var(--transition), transform var(--transition), opacity var(--transition);
}

.btn-spin:hover:not(:disabled) { background: var(--green-dark); transform: translateY(-1px); }
.btn-spin:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* Cooldown / already played */
.slot-cooldown {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

/* Final score */
.slot-final-wrap {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-green);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  display: none;
}

.slot-final-score {
  font-size: 3rem;
  font-weight: 800;
  color: var(--green);
  margin: 8px 0;
}

.slot-name-input {
  width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
  box-sizing: border-box;
}
.slot-name-input:focus { border-color: var(--green); }
.slot-name-input::placeholder { color: var(--text-muted); }

.btn-save-score {
  width: 100%;
  margin-top: 10px;
  padding: 11px;
  background: var(--green);
  color: #000;
  font-weight: 700;
  font-family: var(--font);
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}
.btn-save-score:hover { background: var(--green-dark); }

/* Leaderboard */
.slot-leaderboard-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 480px;
  margin: 24px auto 0;
  width: 100%;
}

.lb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.lb-title {
  font-weight: 700;
  font-size: 1rem;
}

.lb-week {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.lb-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.lb-entry:last-child { border-bottom: none; }

.lb-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.lb-rank.r1 { background: #f59e0b; color: #000; }
.lb-rank.r2 { background: #9ca3af; color: #000; }
.lb-rank.r3 { background: #cd7c2e; color: #fff; }
.lb-rank.other { background: var(--bg-secondary); color: var(--text-muted); }

.lb-name {
  flex: 1;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.lb-game {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.lb-score {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--green);
}

.lb-empty {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Game picker modal */
.game-picker-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  display: none;
}

.game-picker-overlay.open { display: flex; }

.game-picker-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 440px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.game-picker-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.game-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.game-pick-item {
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
}

.game-pick-item:hover { border-color: var(--green); transform: scale(1.04); }
.game-pick-item.selected { border-color: var(--green); }

.game-pick-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.game-pick-name {
  font-size: 0.62rem;
  text-align: center;
  padding: 3px 4px;
  color: var(--text-muted);
  background: var(--bg-secondary);
  line-height: 1.2;
}

@media (max-width: 520px) {
  .slot-reel { width: 76px; }
  .reel-sym { width: 76px; height: 68px; font-size: 2rem; }
  .game-picker-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger delay para grids */
.fade-in:nth-child(2) { transition-delay: 0.06s; }
.fade-in:nth-child(3) { transition-delay: 0.12s; }
.fade-in:nth-child(4) { transition-delay: 0.18s; }
.fade-in:nth-child(5) { transition-delay: 0.24s; }
.fade-in:nth-child(6) { transition-delay: 0.3s; }

/* =============================================
   SCROLL TO TOP
   ============================================= */

.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(34,197,94,0.5);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(34,197,94,0.6);
}

/* =============================================
   FOOTER REDESIGN
   ============================================= */

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-link:hover { color: var(--green); }
.footer-link i { font-size: 0.8rem; width: 14px; }

@media (max-width: 768px) {
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .scroll-top { bottom: 16px; right: 16px; }
}

/* ─── ABOUT TIMELINE ─────────────────── */
.about-timeline {
  position: relative;
  padding: 4px 0 0;
  margin-top: 12px;
}
.about-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--green) 0%, rgba(34,197,94,0.1) 100%);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(34,197,94,0.55);
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.timeline-dot-now {
  width: 14px;
  height: 14px;
  background: var(--green);
  box-shadow: 0 0 16px rgba(34,197,94,0.8), 0 0 32px rgba(34,197,94,0.3);
  animation: dotPulse 2s ease-in-out infinite;
  margin-left: -1px;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(34,197,94,0.8), 0 0 20px rgba(34,197,94,0.3); }
  50%       { box-shadow: 0 0 20px rgba(34,197,94,1.0), 0 0 40px rgba(34,197,94,0.5); }
}
.timeline-body { flex: 1; }
.timeline-year {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 5px;
}
.timeline-title {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.timeline-desc {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ─── CASINO FILTER BAR ───────────────── */
.casino-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  min-width: 80px;
}
.filter-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  font-family: var(--font);
}
.filter-btn:hover {
  border-color: var(--green);
  color: var(--green);
}
.filter-btn.active {
  background: rgba(34,197,94,0.15);
  border-color: var(--green);
  color: var(--green);
}
@media (max-width: 768px) {
  .casino-filter-bar { flex-direction: column; gap: 16px; padding: 16px; }
  .filter-group { flex-direction: column; align-items: flex-start; }
  .filter-label { min-width: unset; }
}
