/* ==========================================================================
   INSTAPLAY CASINO DESIGN SYSTEM & TOKENS
   ========================================================================== */
:root {
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  /* Color Palette: Cyber Casino Dark theme */
  --color-bg-darkest: #050308;
  --color-bg-dark: #0d0918;
  --color-bg-card: rgba(22, 16, 36, 0.6);
  --color-bg-card-hover: rgba(35, 26, 56, 0.85);
  
  /* Primary & Accents */
  --color-accent-purple: #9d4edd;
  --color-accent-purple-glow: rgba(157, 78, 221, 0.35);
  --color-accent-pink: #ff007f;
  --color-accent-pink-glow: rgba(255, 0, 127, 0.3);
  --color-accent-cyan: #00f5d4;
  --color-accent-cyan-glow: rgba(0, 245, 212, 0.3);
  
  /* VIP Gold / Schoolbus Yellow for CTAs & Jackpots */
  --color-accent-gold: #fac515;
  --color-accent-gold-glow: rgba(250, 197, 21, 0.4);
  --color-accent-gold-dark: #dca306;
  
  /* Borders */
  --color-border-glass: rgba(255, 255, 255, 0.05);
  --color-border-hover: rgba(157, 78, 221, 0.4);
  
  /* Text colors */
  --color-text-main: #f5f3f7;
  --color-text-muted: #ab9ebf;
  --color-text-dim: #786b8c;
  
  /* Curves & Motion */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   RESET & GLOBAL BASICS
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-display);
  background-color: var(--color-bg-darkest);
  color: var(--color-text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}

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

/* Scrollbars */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  border: 2px solid var(--color-bg-darkest);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-purple);
}

/* ==========================================================================
   DYNAMIC CASINO AMBIENT GLOW
   ========================================================================== */
.mesh-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #110822 0%, var(--color-bg-darkest) 100%);
  filter: blur(100px);
}

.mesh-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  mix-blend-mode: screen;
  animation: mesh-float 22s infinite alternate ease-in-out;
}

.circle-1 {
  top: -10%;
  left: 10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--color-accent-purple) 0%, transparent 70%);
}

.circle-2 {
  bottom: -10%;
  right: 10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, var(--color-accent-pink) 0%, transparent 70%);
  animation-duration: 26s;
  animation-delay: -5s;
}

.circle-3 {
  top: 30%;
  left: 40%;
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, var(--color-accent-cyan) 0%, transparent 70%);
  animation-duration: 18s;
  animation-delay: -3s;
}

@keyframes mesh-float {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(5%, 10%) scale(1.06) rotate(180deg); }
  100% { transform: translate(-5%, -5%) scale(0.94) rotate(360deg); }
}

.mesh-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.008) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.008) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}

/* ==========================================================================
   LAYOUT CONTAINERS & GLASS COMPONENTS
   ========================================================================== */
.app-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.glass-panel {
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--border-radius-md);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--color-border-hover);
  box-shadow: 0 12px 40px 0 rgba(157, 78, 221, 0.15);
}

/* Button UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-bounce);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-dark));
  color: #000;
  box-shadow: 0 0 16px var(--color-accent-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 24px var(--color-accent-gold);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-accent-purple);
  transform: translateY(-2px);
}

/* ==========================================================================
   APP HEADER
   ========================================================================== */
.app-header {
  margin-bottom: 2.5rem;
}

.header-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(13, 9, 24, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--border-radius-md);
  position: relative;
  z-index: 1000;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--color-accent-gold);
  filter: drop-shadow(0 0 8px var(--color-accent-gold-glow));
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.logo-text span {
  background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation System */
.app-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-btn,
.nav-link-item {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-dropdown-btn:hover,
.nav-link-item:hover {
  color: var(--color-text-main);
}

.dropdown-icon {
  transition: var(--transition-smooth);
}

.nav-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: #110d22;
  border: 1px solid var(--color-border-glass);
  border-radius: var(--border-radius-sm);
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 100;
  padding: 0.5rem 0;
  overflow: hidden;
}

.nav-dropdown-content a {
  display: block;
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.nav-dropdown-content a:hover {
  background: rgba(157, 78, 221, 0.15);
  color: var(--color-text-main);
  padding-left: 1.4rem;
}

.nav-dropdown:hover .nav-dropdown-content {
  display: block;
  animation: fade-in-down 0.25s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes fade-in-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.header-ctas {
  display: flex;
  gap: 0.75rem;
}

.btn-login {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.btn-register {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

/* Mobile Nav Styles */
.btn-mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-text-main);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-menu {
  display: none;
  margin-top: 1rem;
  background: #100a1c;
  border: 1px solid var(--color-border-glass);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
}

.mobile-menu-section {
  margin-bottom: 1.5rem;
}

.mobile-menu-section h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--color-accent-purple);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
}

.mobile-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.mobile-menu-grid a {
  padding: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.mobile-menu-grid a:hover {
  color: var(--color-text-main);
}

/* ==========================================================================
   HERO / JACKPOT / TICKER BANNER
   ========================================================================== */
.hero-banner {
  text-align: center;
  padding: 3rem 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-gradient-text {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -2px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-gradient-text span {
  background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(250, 197, 21, 0.15));
}

.hero-desc {
  max-width: 680px;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  color: var(--color-text-muted);
  font-weight: 300;
}

/* Live Jackpot Widget */
.jackpot-ticker-panel {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 2.5rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(250, 197, 21, 0.2);
  background: linear-gradient(180deg, rgba(22, 16, 36, 0.95) 0%, rgba(13, 9, 24, 0.95) 100%);
  margin-bottom: 2rem;
  box-shadow: 0 0 30px rgba(250, 197, 21, 0.1);
}

.jackpot-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.jackpot-title::before, .jackpot-title::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-accent-gold);
}

.jackpot-amount {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 30px var(--color-accent-gold);
  letter-spacing: 1px;
}

.hero-action-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* ==========================================================================
   INTERACTIVE REELS / WIDGET
   ========================================================================== */
.interactive-section {
  margin-bottom: 2.5rem;
}

.interactive-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}

.slots-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slots-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slots-card h2 span {
  color: var(--color-accent-cyan);
}

.slots-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* Reel Interface */
.slots-machine {
  background: #0f0b1a;
  border: 4px solid var(--color-accent-purple);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  width: 100%;
  max-width: 420px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 0 20px var(--color-accent-purple-glow);
  margin-bottom: 1.5rem;
}

.slots-window {
  display: flex;
  gap: 0.75rem;
  background: #000;
  padding: 0.75rem;
  border-radius: var(--border-radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 1.25rem;
  justify-content: center;
  overflow: hidden;
}

.reel {
  width: 80px;
  height: 90px;
  background: #171228;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.6);
}

.reel-symbol {
  animation: none;
  transition: transform 0.15s ease-in-out;
}

.reel.spinning .reel-symbol {
  animation: spin-reel 0.1s infinite linear;
}

@keyframes spin-reel {
  0% { transform: translateY(-50px); opacity: 0.3; }
  100% { transform: translateY(50px); opacity: 0.3; }
}

.slots-control {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.slots-payout-message {
  font-size: 1rem;
  font-weight: 700;
  min-height: 1.5rem;
  color: var(--color-accent-gold);
  text-shadow: 0 0 5px var(--color-accent-gold-glow);
}

/* Quick Features Info Panel */
.features-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.features-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid rgba(0, 245, 212, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 0.5rem;
  color: var(--color-accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item:nth-child(2) .feature-icon {
  background: rgba(157, 78, 221, 0.1);
  border-color: rgba(157, 78, 221, 0.2);
  color: var(--color-accent-purple);
}

.feature-item:nth-child(3) .feature-icon {
  background: rgba(255, 0, 127, 0.1);
  border-color: rgba(255, 0, 127, 0.2);
  color: var(--color-accent-pink);
}

.feature-text h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

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

/* ==========================================================================
   GAME CATEGORIES & LOBBY GRID
   ========================================================================== */
.lobby-section {
  margin-bottom: 2.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.section-header h2 span {
  color: var(--color-accent-gold);
}

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

.lobby-card {
  overflow: hidden;
  border-radius: var(--border-radius-md);
  position: relative;
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  border: 1px solid var(--color-border-glass);
}

.lobby-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 3, 8, 0.95) 100%);
  z-index: 1;
}

/* CSS simulated backgrounds for lobby slots */
.card-slots {
  background: linear-gradient(135deg, #4c0519 0%, #110005 100%);
}
.card-live {
  background: linear-gradient(135deg, #022c22 0%, #000b08 100%);
}
.card-table {
  background: linear-gradient(135deg, #1e1b4b 0%, #03001a 100%);
}

.card-glowing-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1.5px, transparent 1.5px);
  background-size: 15px 15px;
  z-index: 0;
}

.lobby-card-content {
  position: relative;
  z-index: 2;
}

.lobby-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.lobby-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.btn-play-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--color-accent-purple);
  color: #fff;
  border-radius: var(--border-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-play-sm:hover {
  background: #af64f8;
  transform: translateX(4px);
}

/* ==========================================================================
   TRUST BADGES / DEPOSIT METHODS
   ========================================================================== */
.trust-banner-card {
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 1.5rem;
  border-radius: var(--border-radius-md);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-logo {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.2rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--border-radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.trust-logo.gcash { color: #0084ff; border-color: rgba(0, 132, 255, 0.2); }
.trust-logo.paymaya { color: #00e676; border-color: rgba(0, 230, 118, 0.2); }
.trust-logo.paypal { color: #003087; border-color: rgba(0, 48, 135, 0.2); }
.trust-logo.pagcor { color: #fac515; border-color: rgba(250, 197, 21, 0.2); }

.trust-item-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.trust-item-text p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   SEMANTIC SEO & AIEO ARTICLE SECTION
   ========================================================================== */
.seo-content-section {
  margin-bottom: 2.5rem;
}

.seo-article-card {
  padding: 3rem 2.5rem;
}

.seo-article-header {
  border-bottom: 1px solid var(--color-border-glass);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.seo-article-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 0%, var(--color-text-muted) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.seo-meta-info {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent-purple);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.seo-article-body {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.seo-article-body p {
  margin-bottom: 1.5rem;
}

.seo-article-body strong {
  color: var(--color-text-main);
  font-weight: 600;
}

.seo-article-body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 2.5rem 0 1rem 0;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  border-left: 3px solid var(--color-accent-gold);
  padding-left: 0.75rem;
}

.seo-article-body ul, .seo-article-body ol {
  margin: 1.25rem 0 1.5rem 1.5rem;
}

.seo-article-body li {
  margin-bottom: 0.75rem;
}

/* AI-Step Pattern */
.step-list {
  list-style: none;
  counter-reset: steps-counter;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.step-list li {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 0;
}

.step-list li::before {
  content: counter(steps-counter);
  counter-increment: steps-counter;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  background: rgba(157, 78, 221, 0.1);
  border: 1px solid rgba(157, 78, 221, 0.3);
  color: var(--color-accent-purple);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.1);
}

/* FAQ Accordions */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item {
  border: 1px solid var(--color-border-glass);
  border-radius: var(--border-radius-sm);
  background: rgba(13, 9, 24, 0.3);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--color-border-hover);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--color-text-main);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.2rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 1.2rem 1.2rem 1.2rem;
  transition: max-height 0.5s ease-in-out;
}

.faq-arrow {
  transition: transform 0.3s ease;
  color: var(--color-accent-gold);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

/* ==========================================================================
   PROGRAMMATIC SEO FOOTER LINKS DRAWER
   ========================================================================== */
.footer-directory-container {
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.btn-directory-toggle {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--color-text-main);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.toggle-icon {
  transition: var(--transition-smooth);
}

.footer-directory-container.expanded .toggle-icon {
  transform: rotate(180deg);
}

.footer-directory-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.footer-directory-container.expanded .footer-directory-content {
  max-height: 2000px;
  transition: max-height 0.5s ease-in;
  padding: 0 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid var(--color-border-glass);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  padding-top: 1.25rem;
}

.directory-link {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: inline-block;
  padding: 0.25rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.directory-link:hover {
  color: var(--color-accent-gold);
  padding-left: 0.35rem;
}

/* ==========================================================================
   APP FOOTER
   ========================================================================== */
.app-footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--color-border-glass);
  color: var(--color-text-dim);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-disclaimer {
  max-width: 800px;
  line-height: 1.7;
}

.pagcor-disclaimer {
  font-weight: 700;
  color: var(--color-text-muted);
}

/* Toast Notifications */
.toast-notification {
  visibility: hidden;
  min-width: 250px;
  background-color: var(--color-accent-purple);
  color: #fff;
  text-align: center;
  border-radius: var(--border-radius-sm);
  padding: 1rem;
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5), 0 0 15px var(--color-accent-purple-glow);
}

.toast-notification.show {
  visibility: visible;
  animation: fade-in-up 0.5s, fade-out-down 0.5s 2.5s;
}

@keyframes fade-in-up {
  from { bottom: 0; opacity: 0; }
  to { bottom: 30px; opacity: 1; }
}

@keyframes fade-out-down {
  from { bottom: 30px; opacity: 1; }
  to { bottom: 0; opacity: 0; }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .interactive-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-ctas {
    display: none; /* Collapsed in mobile nav menu */
  }
  
  .nav-links {
    display: none; /* Collapsed in mobile nav menu */
  }
  
  .btn-mobile-nav-toggle {
    display: block;
  }
  
  .mobile-nav-menu.show {
    display: block;
  }
  
  .hero-gradient-text {
    font-size: 2.4rem;
  }
  
  .jackpot-amount {
    font-size: 2rem;
  }
  
  .seo-article-card {
    padding: 1.5rem;
  }
  
  .seo-article-header h2 {
    font-size: 1.6rem;
  }
}
