/*
Theme Name: JJ77 Game Neo Glass Redesign
Author: Antigravity
Version: 3.1
Description: Ultra premium, modern, glassmorphic WordPress affiliate pre-lander theme branded for JJ77 Game Download.
*/

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

:root {
  --bg-main: #07070B;
  --card-surf: #11131A;
  --card-surf-hover: #161924;
  --gold: #D4AF37;
  --gold-bright: #FFD76A;
  --gold-dark: #8E701D;
  --white: #F5F5F7;
  --text-sec: #B4B8C5;
  --accent-blue: #3A86FF;
  --accent-purple: #8338EC;
  --accent-green: #00E676;
  --accent-red: #FF0055;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.2);
  --glow-gold: 0 0 25px rgba(212, 175, 55, 0.2);
  --glow-blue: 0 0 25px rgba(58, 134, 255, 0.15);
  --glow-green: 0 0 20px rgba(0, 230, 118, 0.25);
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(58, 134, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(131, 56, 236, 0.03) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
}

/* Glassmorphism Utility */
.glass {
  background: rgba(17, 19, 26, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.glass-gold-border {
  border: 1px solid var(--border-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-family: var(--font-header);
  cursor: pointer;
  border: none;
  font-size: 15px;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: #07070B;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4), var(--glow-gold);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(7, 7, 11, 0.8);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #FFF 0%, var(--gold-bright) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-sec);
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--gold-bright);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger mobile menu toggle (Left Sidebar trigger on mobile) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--white);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   COLLAPSIBLE SIDEBARS (LEFT NAVIGATION & RIGHT LIVE CHAT)
   ========================================================================== */
.sidebar {
  position: fixed;
  top: 73px; /* Header height offset */
  height: calc(100vh - 73px);
  background: rgba(11, 13, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border-color);
  border-style: solid;
  z-index: 900;
  transition: var(--transition-smooth);
}

/* Left Sidebar (Nav) */
.sidebar-left {
  left: -280px;
  width: 280px;
  border-right-width: 1px;
  padding: 30px 24px;
}

.sidebar-left.open {
  left: 0;
}

.sidebar-left-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-left-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-sec);
  padding: 10px 16px;
  border-radius: 10px;
}

.sidebar-left-links a:hover, .sidebar-left-links a.active {
  color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.03);
}

/* Right Sidebar (Community Live Chat) */
.sidebar-right {
  right: -340px;
  width: 340px;
  border-left-width: 1px;
  display: flex;
  flex-direction: column;
}

.sidebar-right.open {
  right: 0;
}

.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chat-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
}

.chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: 12px;
}

.chat-msg-user {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-msg-user-vip {
  font-size: 9px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 800;
}

.chat-msg-text {
  font-size: 13px;
  color: var(--white);
  word-break: break-word;
}

/* Chat Bet Slips Shared Style */
.chat-bet-share {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-bet-label {
  font-size: 11px;
  color: var(--text-sec);
}

.chat-bet-payout {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-green);
}

.chat-footer {
  padding: 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 10px;
}

.chat-input {
  flex-grow: 1;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--white);
  font-size: 13px;
  font-family: var(--font-body);
}

.chat-input:focus {
  outline: none;
  border-color: var(--gold);
}

.chat-send-btn {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(17, 19, 26, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 1001;
  border-left: 1px solid var(--border-color);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--white);
  cursor: pointer;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: none;
}

.drawer-overlay.active {
  display: block;
}

/* Sections Global Styling */
section {
  position: relative;
}

.section-padding {
  padding: 80px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gold-bright);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title-glowing {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  background: linear-gradient(135deg, #FFF 0%, var(--gold-bright) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-sec);
  max-width: 600px;
  margin: 0 auto;
}

/* HERO SECTION */
.hero-section {
  min-height: calc(90vh - 80px);
  display: flex;
  align-items: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content {
  text-align: left;
}

.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.2);
  color: var(--accent-green);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 30%, var(--gold-bright) 70%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-sec);
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.hero-stat-item h3 {
  font-size: 28px;
  color: var(--white);
  font-weight: 800;
}

.hero-stat-item p {
  font-size: 13px;
  color: var(--text-sec);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-sphere-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 1;
}

.hero-cards-stack {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.hero-floating-card {
  position: absolute;
  width: 240px;
  height: 320px;
  border-radius: 20px;
  background: rgba(22, 25, 36, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-floating-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, transparent 100%);
  pointer-events: none;
}

.card-1 {
  transform: rotate(-10deg) translateX(-60px) translateY(-10px);
  z-index: 2;
  animation: floatCard1 6s ease-in-out infinite;
}

.card-2 {
  transform: rotate(5deg) translateX(60px) translateY(20px);
  z-index: 3;
  animation: floatCard2 7s ease-in-out infinite;
  border-color: var(--border-gold);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), var(--glow-gold);
}

@keyframes floatCard1 {
  0% { transform: rotate(-10deg) translateX(-60px) translateY(-10px); }
  50% { transform: rotate(-8deg) translateX(-60px) translateY(-25px); }
  100% { transform: rotate(-10deg) translateX(-60px) translateY(-10px); }
}

@keyframes floatCard2 {
  0% { transform: rotate(5deg) translateX(60px) translateY(20px); }
  50% { transform: rotate(7deg) translateX(60px) translateY(5px); }
  100% { transform: rotate(5deg) translateX(60px) translateY(20px); }
}

.card-header-icon {
  font-size: 32px;
}

.card-footer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-footer-info span.tag {
  font-size: 11px;
  color: var(--gold-bright);
  font-weight: 700;
  text-transform: uppercase;
}

.card-footer-info h4 {
  font-size: 20px;
  font-weight: 800;
}

/* LIVE WINNERS TICKER */
.live-ticker-section {
  background: rgba(17, 19, 26, 0.4);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  padding-left: 20px;
}

.ticker-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  white-space: nowrap;
  margin-right: 20px;
  z-index: 10;
}

.ticker-track {
  display: flex;
  gap: 20px;
  animation: scrollTicker 35s linear infinite;
  white-space: nowrap;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(17, 19, 26, 0.8);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: 12px;
}

.ticker-avatar {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
}

.ticker-user {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.ticker-game {
  font-size: 12px;
  color: var(--text-sec);
}

.ticker-win {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-green);
  background: rgba(0, 230, 118, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.ticker-mult {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-bright);
}

/* GAME CARDS */
.game-card {
  overflow: hidden;
  background: var(--card-surf);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.08), var(--glow-gold);
}

.game-card-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.game-card-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-card:hover .game-card-img {
  transform: scale(1.08);
}

.game-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 7, 11, 0.85);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.game-card-live-indicator {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent-red);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.live-indicator-dot {
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
  animation: pulseIndicator 1.5s infinite;
}

@keyframes pulseIndicator {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 11, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  opacity: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.game-card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.game-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.game-card-desc {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.5;
}

/* SLIDERS & CAROUSELS (TRENDING GAMES) */
.slider-outer-container {
  position: relative;
  width: 100%;
}

.slider-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 24px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-btn:hover {
  background: var(--gold);
  color: #07070B;
  border-color: var(--gold);
  box-shadow: var(--glow-gold);
}

.slider-inner-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(25% - 18px);
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  padding-bottom: 20px;
}

.slider-inner-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* CATEGORIES */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.category-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 12px;
  color: var(--text-sec);
  font-family: var(--font-header);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.category-tab-btn:hover, .category-tab-btn.active {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
  color: var(--gold-bright);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

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

/* ==========================================================================
   REAL-TIME LOBBY BETS LOG GRID (ALL BETS, HIGH ROLLERS, LEADERBOARD)
   ========================================================================== */
.bets-container {
  margin-top: 40px;
}

.bets-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.bets-tab-btn {
  background: none;
  border: none;
  padding: 8px 16px;
  color: var(--text-sec);
  font-family: var(--font-header);
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.bets-tab-btn:hover, .bets-tab-btn.active {
  color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.03);
}

.bets-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: rgba(17, 19, 26, 0.4);
}

.bets-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.bets-table th {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-sec);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.bets-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.bets-table tr:last-child td {
  border-bottom: none;
}

.bets-table tbody tr {
  transition: var(--transition-smooth);
}

.bets-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.01);
}

.bets-win-color {
  color: var(--accent-green);
  font-weight: 700;
}

.bets-mult-color {
  color: var(--gold-bright);
  font-weight: 700;
}

/* ==========================================================================
   HIGH-ROLLER CONFETTI WIN ALERTS
   ========================================================================== */
.highroller-toast {
  position: fixed;
  bottom: 80px;
  right: -360px;
  width: 320px;
  padding: 20px;
  z-index: 2000;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  box-shadow: var(--glow-gold), 0 10px 40px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.highroller-toast.show {
  right: 24px;
}

.highroller-toast-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.highroller-toast-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--accent-green);
  margin-top: 4px;
}

.highroller-toast-desc {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.4;
}

/* ==========================================================================
   INTERACTIVE GAMBLING BUDGET CALCULATOR
   ========================================================================== */
.budget-calc-wrapper {
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  margin-top: 24px;
  text-align: left;
}

.budget-calc-title {
  font-size: 18px;
  color: var(--gold-bright);
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.budget-calc-grids {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.budget-slider-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.budget-slider-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sec);
}

.budget-slider-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}

/* Styled Range Inputs */
.budget-range-input {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  outline: none;
}

.budget-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 0 10px var(--gold);
  transition: transform 0.2s;
}

.budget-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* ==========================================================================
   REDIRECT SCREEN OVERLAYS (LOGIN & REGISTER PRE-LANDERS)
   ========================================================================== */
.redirect-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(7, 7, 11, 0.95);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.redirect-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.redirect-box {
  text-align: center;
  padding: 40px;
  max-width: 400px;
}

.redirect-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(212, 175, 55, 0.1);
  border-left-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 24px auto;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.redirect-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.redirect-subtitle {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.6;
}

/* ==========================================================================
   SEO REVIEW PAGE TEMPLATE CLASSES
   ========================================================================== */
.review-stats-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.01);
}

.review-stats-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.review-stats-table tr:last-child td {
  border-bottom: none;
}

.review-stats-label {
  font-weight: 700;
  color: var(--gold-bright);
  width: 35%;
}

.review-stats-val {
  color: var(--white);
}

.review-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.review-trust-box {
  padding: 24px;
  border-radius: 16px;
  text-align: center;
}

.review-trust-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent-green);
  margin-bottom: 4px;
  font-family: var(--font-header);
}

.review-trust-label {
  font-size: 12px;
  color: var(--text-sec);
  text-transform: uppercase;
  font-weight: 700;
}

/* ==========================================================================
   WHY CHOOSE JJ77
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-box {
  padding: 40px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.feature-icon-container {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--gold-bright);
}

.feature-box h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--white);
}

.feature-box p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.7;
}

/* BONUSES & VIP REWARDS */
.bonuses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.bonus-card {
  padding: 40px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bonus-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(0, 230, 118, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(0, 230, 118, 0.2);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.bonus-val {
  font-size: 48px;
  font-weight: 900;
  color: var(--gold-bright);
  line-height: 1.1;
  margin-bottom: 10px;
  font-family: var(--font-header);
}

.bonus-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.bonus-card p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.6;
  margin-bottom: 30px;
  flex-grow: 1;
}

/* SCREENSHOT GALLERY */
.screenshot-gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.screenshot-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(17, 19, 26, 0.65);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.screenshot-scroll {
  display: grid;
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.screenshot-scroll::-webkit-scrollbar {
  display: none;
}

.screenshot-mini-card {
  min-width: 220px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: rgba(17, 19, 26, 0.55);
}

.screenshot-mini-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* VIP PROGRESSION SECTION */
.vip-card {
  padding: 48px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.vip-tab-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.vip-nav-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 12px;
  color: var(--text-sec);
  font-weight: 700;
  font-family: var(--font-header);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.vip-nav-btn.active[data-vip="bronze"] { background: rgba(205, 127, 50, 0.15); border-color: #CD7F32; color: #E8A87C; }
.vip-nav-btn.active[data-vip="silver"] { background: rgba(192, 192, 192, 0.15); border-color: #C0C0C0; color: #FFFFFF; }
.vip-nav-btn.active[data-vip="gold"] { background: rgba(212, 175, 55, 0.15); border-color: #D4AF37; color: #FFD76A; }
.vip-nav-btn.active[data-vip="platinum"] { background: rgba(229, 228, 226, 0.15); border-color: #E5E4E2; color: #E8F1FF; }

.vip-display-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
}

.vip-badge-icon {
  font-size: 64px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 15px currentColor);
}

.vip-tier-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.vip-progress-wrap {
  width: 100%;
  max-width: 600px;
}

.vip-progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.vip-progress-bg {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}

.vip-progress-fill {
  height: 100%;
  width: 0%; /* JS controlled */
  border-radius: 20px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.vip-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  width: 100%;
  margin-top: 20px;
}

.vip-perk-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 16px;
}

.vip-perk-box h4 {
  font-size: 14px;
  color: var(--text-sec);
  margin-bottom: 8px;
}

.vip-perk-box p {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

/* SECURE PAYMENTS SECTION */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.payment-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.payment-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
}

.payment-logo {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 900;
}

.payment-logo-jazz { color: #E52E2E; font-family: 'Outfit', sans-serif; letter-spacing: -1px; }
.payment-logo-ep { color: #00A651; font-family: 'Outfit', sans-serif; }
.payment-logo-bank { color: var(--accent-blue); }
.payment-logo-crypto { color: var(--gold-bright); }

.payment-title {
  font-size: 18px;
  font-weight: 700;
}

.payment-speed {
  font-size: 12px;
  background: rgba(0, 230, 118, 0.1);
  color: var(--accent-green);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
}

/* PLATFORM STATISTICS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.stat-card {
  padding: 40px 24px;
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--gold-bright);
  line-height: 1.1;
  margin-bottom: 8px;
  font-family: var(--font-header);
}

.stat-label {
  font-size: 14px;
  color: var(--text-sec);
  font-weight: 600;
  text-transform: uppercase;
}

/* BIG WINS SHOWCASE */
.bigwins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.bigwin-card {
  padding: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.05);
}

.bigwin-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glow-gold);
}

.bigwin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.bigwin-user {
  font-weight: 700;
  font-size: 15px;
}

.bigwin-game {
  font-size: 12px;
  color: var(--text-sec);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 6px;
}

.bigwin-amount {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent-green);
  font-family: var(--font-header);
  margin-bottom: 8px;
}

.bigwin-mult {
  font-size: 14px;
  color: var(--gold-bright);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* CONTENT SECTIONS (ABOUT & RESPONSIBLE GAMING) */
.content-box {
  padding: 48px;
  border-radius: 28px;
}

.content-blocks {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.content-block h3 {
  font-size: 22px;
  color: var(--gold-bright);
  margin-bottom: 16px;
}

.content-block p {
  color: var(--text-sec);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.content-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--text-sec);
}

.content-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
}

.badge-18-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 0 15px rgba(255, 0, 85, 0.2);
  margin-right: 12px;
}

/* FAQ SECTION (Accordion) */
.faq-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(17, 19, 26, 0.4);
  transition: var(--transition-smooth);
}

.faq-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-header);
  cursor: pointer;
}

.faq-answer-pane {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-content {
  padding: 0 24px 24px 24px;
  color: var(--text-sec);
  font-size: 14px;
  line-height: 1.7;
}

.faq-icon-arrow {
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-card.open .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--gold);
  color: #07070B;
}

/* FINAL CTA SECTION */
.cta-inner-banner {
  padding: 80px 40px;
  border-radius: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), var(--glow-gold);
}

.cta-glow-spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner-banner h2 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-inner-banner p {
  font-size: 16px;
  color: var(--text-sec);
  max-width: 600px;
  margin: 0 auto 36px auto;
}

/* FOOTER */
footer {
  background: #040407;
  border-top: 1px solid var(--border-color);
  padding: 80px 24px 100px 24px; /* extra bottom padding for mobile app bar */
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-col p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.6;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 14px;
  color: var(--text-sec);
}

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

.footer-payment-logos {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.footer-payment-badge {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.footer-disclaimer-box {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  text-align: center;
}

.footer-disclaimer-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-disclaimer-text {
  font-size: 12px;
  color: var(--text-sec);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* MOBILE STICKY APP BAR */
.mobile-app-bar {
  display: none; /* hidden on desktop */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(11, 13, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

.app-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-sec);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  flex-grow: 1;
}

.app-bar-item:hover, .app-bar-item.active {
  color: var(--gold-bright);
}

.app-bar-icon {
  font-size: 20px;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1200px) {
  .sidebar-left {
    z-index: 1002;
  }
  .sidebar-right {
    z-index: 1002;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .slider-inner-track {
    grid-auto-columns: calc(33.333% - 16px);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 64px; /* room for app bar */
  }
  .nav-menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .section-padding {
    padding: 60px 16px;
  }
  .slider-inner-track {
    grid-auto-columns: calc(50% - 12px);
    gap: 16px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mobile-app-bar {
    display: flex;
  }
  .hero-cards-stack {
    height: 320px;
  }
  .hero-floating-card {
    width: 180px;
    height: 240px;
    padding: 16px;
  }
  .card-1 {
    transform: rotate(-10deg) translateX(-40px) translateY(-5px);
  }
  .card-2 {
    transform: rotate(5deg) translateX(40px) translateY(10px);
  }
}

@media (max-width: 480px) {
  .slider-inner-track {
    grid-auto-columns: calc(100% - 10px);
  }
  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }
  .category-tab-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  .sidebar-left, .sidebar-right {
    width: 100%;
    height: calc(100vh - 64px);
    top: 0;
  }
  .sidebar-left {
    left: -100%;
  }
  .sidebar-right {
    right: -100%;
  }
}
