/* ==========================================================================
   NeelWin.co — Official Global Stylesheet
   Fully Responsive (Mobile, Tablet, Laptop, Desktop, 4K)
   100/100 Lighthouse Performance, Zero CLS, Touch-Friendly
   ========================================================================== */

:root {
  --bg-primary: #070a14;
  --bg-secondary: #0c1224;
  --bg-tertiary: #131d38;
  --surface-card: rgba(15, 23, 46, 0.78);
  --surface-card-hover: rgba(22, 34, 66, 0.90);
  --surface-glass: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(0, 200, 255, 0.16);
  --surface-border-hover: rgba(0, 229, 255, 0.45);
  --surface-border-gold: rgba(245, 183, 0, 0.35);

  --neon-cyan: #00e5ff;
  --neon-blue: #0066ff;
  --royal-gold: #f5b700;
  --royal-gold-light: #ffd700;
  --royal-gold-dark: #b8860b;
  --emerald: #10b981;
  --crimson: #ef4444;

  --text-main: #ffffff;
  --text-body: #cbd5e1;
  --text-muted: #8492a6;
  --text-gold: #ffd700;
  --text-cyan: #38bdf8;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  --glow-cyan: 0 0 25px rgba(0, 229, 255, 0.28);
  --glow-gold: 0 0 25px rgba(245, 183, 0, 0.28);
  --shadow-card: 0 12px 32px -4px rgba(0, 0, 0, 0.6);

  --font-heading: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1200px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(at 0% 0%, rgba(0, 102, 255, 0.18) 0px, transparent 50%),
    radial-gradient(at 100% 15%, rgba(245, 183, 0, 0.12) 0px, transparent 45%),
    radial-gradient(at 50% 60%, rgba(0, 229, 255, 0.08) 0px, transparent 60%),
    radial-gradient(at 10% 90%, rgba(0, 102, 255, 0.14) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  padding-bottom: calc(72px + var(--safe-bottom)); /* clearance for mobile bottom bar */
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -999px;
  left: 20px;
  background: var(--royal-gold);
  color: #070a14;
  padding: 10px 20px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 99999;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 15px;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 576px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  word-break: break-word;
}

h1 {
  font-size: clamp(1.85rem, 5vw, 3.4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.4rem, 3.8vw, 2.3rem);
  margin-bottom: 1.1rem;
  margin-top: 0.8rem;
  position: relative;
}

h2.section-title {
  display: block;
  text-align: center;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.2rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
}

h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-body);
  font-size: 1rem;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--royal-gold-light);
}

strong {
  color: var(--text-main);
  font-weight: 600;
}

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

/* Highlight Gradients */
.gold-text {
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cyan-text {
  background: linear-gradient(135deg, #00e5ff 0%, #0088ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-border);
  transition: background 0.3s ease;
  width: 100%;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

@media (max-width: 768px) {
  .header-container {
    height: 60px;
  }
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.4);
  border: 1px solid rgba(0, 229, 255, 0.5);
  object-fit: cover;
}

@media (max-width: 576px) {
  .brand-logo-img {
    width: 34px;
    height: 34px;
  }
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

@media (max-width: 576px) {
  .brand-name {
    font-size: 1.15rem;
  }
}

.brand-tagline {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--royal-gold);
  font-weight: 700;
}

@media (max-width: 360px) {
  .brand-tagline {
    display: none;
  }
}

/* Desktop Nav Menu */
.nav-menu {
  display: none;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
  }

  .nav-link {
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
  }

  .nav-link:hover, .nav-link.active {
    color: #ffffff;
    background: rgba(0, 229, 255, 0.1);
  }

  .nav-link.vip-badge-link {
    color: var(--royal-gold);
    font-weight: 600;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile Hamburger Toggle Button */
.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
}

@media (min-width: 992px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-nav-toggle .bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--neon-cyan);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-nav-toggle.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Off-Canvas Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 310px;
  max-width: 86vw;
  background: rgba(10, 14, 28, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--surface-border);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  z-index: 99999;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.drawer-close-btn:hover {
  color: #ffffff;
}

.drawer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.drawer-link:hover, .drawer-link.active {
  color: #fff;
  background: rgba(0, 229, 255, 0.12);
  border-left: 3px solid var(--neon-cyan);
}

.drawer-link.vip-link {
  color: var(--royal-gold);
}

.drawer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  min-height: 44px;
}

.btn-primary {
  background: linear-gradient(135deg, #00e5ff 0%, #0066ff 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.5);
  color: #ffffff;
}

.btn-gold {
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  color: #070a14;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
  color: #070a14;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--surface-border);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--neon-cyan);
  color: #ffffff;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  min-height: 36px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  min-height: 48px;
}

.btn-block {
  width: 100%;
}

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 100%;
  white-space: normal;
}

.badge-gold {
  background: rgba(245, 183, 0, 0.15);
  color: var(--royal-gold-light);
  border: 1px solid var(--surface-border-gold);
}

.badge-cyan {
  background: rgba(0, 229, 255, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

/* Sections */
.section-pad {
  padding: 50px 0;
}

@media (min-width: 768px) {
  .section-pad {
    padding: 70px 0;
  }
}

@media (min-width: 992px) {
  .section-pad {
    padding: 90px 0;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 35px 0 50px;
  text-align: center;
}

@media (min-width: 992px) {
  .hero-section {
    padding: 75px 0 85px;
  }
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-eyebrow {
  margin-bottom: 1.2rem;
}

.hero-title {
  margin-bottom: 1.2rem;
}

.hero-lead {
  font-size: clamp(0.98rem, 2.2vw, 1.25rem);
  color: var(--text-body);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2.5rem;
}

@media (max-width: 576px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }
}

/* Hero Stats Bar */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 1.8rem;
}

@media (max-width: 360px) {
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .hero-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.stat-card {
  background: var(--surface-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  color: #ffffff;
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Glassmorphism Cards */
.card-glass {
  background: var(--surface-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .card-glass {
    padding: 28px;
  }
}

.card-glass:hover {
  border-color: var(--surface-border-hover);
  box-shadow: var(--glow-cyan);
}

.card-gold {
  border-color: var(--surface-border-gold);
}

.card-gold:hover {
  border-color: rgba(245, 183, 0, 0.7);
  box-shadow: var(--glow-gold);
}

/* Responsive Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* Grid-4: 1 Column on Phone, 2 on Tablet, 4 on Desktop */
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 580px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* Games Showcase Section */
.game-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
  overflow: hidden;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--royal-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

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

.game-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.game-category {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Interactive Canvas Mini-Game Container (100% Mobile Responsive) */
.interactive-arcade-wrapper {
  background: linear-gradient(180deg, rgba(12, 18, 36, 0.95) 0%, rgba(7, 10, 20, 0.98) 100%);
  border: 2px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 20px 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), var(--glow-cyan);
  max-width: 560px;
  width: 100%;
  margin: 28px auto 0;
  text-align: center;
}

@media (min-width: 768px) {
  .interactive-arcade-wrapper {
    padding: 26px 20px;
  }
}

.arcade-screen {
  background: #04060c;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  margin: 12px auto;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
  max-width: 290px;
  width: 100%;
}

#snakeCanvas {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: 280px;
  height: 280px;
  aspect-ratio: 1 / 1;
  background: #020408;
  touch-action: none;
}

.arcade-controls-pad {
  display: grid;
  grid-template-columns: repeat(3, 52px);
  grid-gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.d-pad-btn {
  width: 52px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.d-pad-btn:active {
  background: var(--neon-cyan);
  color: #070a14;
}

/* VIP Perks Section */
.vip-tier-card {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
}

@media (min-width: 992px) {
  .vip-tier-card.featured {
    border-color: var(--royal-gold);
    box-shadow: var(--glow-gold);
    transform: scale(1.03);
  }
}

.vip-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #070a14;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.vip-tier-name {
  font-size: 1.35rem;
  margin-top: 8px;
  margin-bottom: 4px;
}

.vip-tier-badge-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.vip-perks-list {
  list-style: none;
  margin: 18px 0;
  padding: 0;
  text-align: left;
}

.vip-perks-list li {
  padding: 8px 0;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vip-perks-list li::before {
  content: '✓';
  color: var(--royal-gold);
  font-weight: 800;
}

/* App Download & Steps */
.app-steps-list {
  list-style: none;
  counter-reset: app-counter;
  padding: 0;
  margin: 20px 0;
}

.app-steps-list li {
  counter-increment: app-counter;
  position: relative;
  padding-left: 44px;
  margin-bottom: 18px;
  font-size: 0.96rem;
}

.app-steps-list li::before {
  content: counter(app-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tables (Horizontal Responsive Scrolling) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: rgba(0, 229, 255, 0.3);
  border-radius: 3px;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--surface-card);
  font-size: 0.9rem;
  min-width: 520px; /* guarantees table readability without squeezing columns */
}

.custom-table th {
  background: rgba(0, 102, 255, 0.15);
  color: #ffffff;
  padding: 12px 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  border-bottom: 1px solid var(--surface-border);
  white-space: nowrap;
}

.custom-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-body);
}

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

.custom-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.mobile-table-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--neon-cyan);
  text-align: center;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .mobile-table-hint {
    display: none;
  }
}

.highlight-row {
  background: rgba(0, 229, 255, 0.05);
}

.check-green {
  color: #10b981;
  font-weight: bold;
}

/* Callout Boxes */
.callout-box {
  border-radius: var(--radius-md);
  padding: 18px 16px;
  margin: 22px 0;
  border: 1px solid;
}

@media (min-width: 768px) {
  .callout-box {
    padding: 22px 24px;
    margin: 28px 0;
  }
}

.callout-advisory {
  background: rgba(245, 183, 0, 0.08);
  border-color: rgba(245, 183, 0, 0.35);
  color: #fef3c7;
}

.callout-advisory strong {
  color: var(--royal-gold-light);
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

/* FAQ Accordion */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-card {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-card.open {
  border-color: var(--neon-cyan);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 12px;
}

.faq-icon-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 18px;
  color: var(--text-body);
  font-size: 0.95rem;
}

.faq-card.open .faq-answer {
  max-height: 600px;
  transition: max-height 0.5s ease-in-out;
  padding-bottom: 18px;
}

/* Login & Register Boxes */
.auth-box {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 576px) {
  .auth-box {
    padding: 32px 24px;
  }
}

.auth-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 22px;
}

.auth-tab-btn {
  flex: 1;
  padding: 9px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  color: #fff;
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 16px; /* Prevents auto-zoom on iOS */
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

/* Site Footer */
.site-footer {
  background: #04060d;
  border-top: 1px solid var(--surface-border);
  padding: 50px 0 25px;
  font-size: 0.92rem;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 35px;
}

@media (min-width: 580px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.footer-age-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: var(--royal-gold-light);
}

/* Mobile Bottom Sticky Navigation Bar */
.mobile-bottom-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  padding-bottom: var(--safe-bottom);
  background: rgba(7, 10, 20, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--surface-border);
  z-index: 9990;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.5);
}

@media (min-width: 992px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  gap: 2px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  min-width: 48px;
}

.mobile-bottom-item:hover, .mobile-bottom-item.active {
  color: var(--neon-cyan);
}

.mobile-bottom-item.vip-item {
  color: var(--royal-gold);
}

.mobile-bottom-icon {
  font-size: 1.15rem;
  line-height: 1;
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: calc(75px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(12, 18, 36, 0.96);
  border: 1px solid var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 90vw;
  text-align: center;
}

@media (min-width: 992px) {
  .toast-msg {
    bottom: 30px;
  }
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
