/* B.A. Games - GTA-style neon landing (Cayo_Kings inspired) */

:root {
  --color-primary: #FF3E6C;
  --color-secondary: #14D9C7;
  /* Neon palette */
  --neon-pink: #ff2d6a;
  --neon-cyan: #00f5e4;
  --neon-purple: #a855f7;
  --neon-gold: #fbbf24;
  --bg-deep: #0a0d12;
  --glow-primary: 0 0 20px rgba(255, 45, 106, 0.5), 0 0 40px rgba(255, 45, 106, 0.25);
  --glow-secondary: 0 0 20px rgba(0, 245, 228, 0.5), 0 0 40px rgba(0, 245, 228, 0.25);
  --font-display: 'Orbitron', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* ----- Neon / glass utilities ----- */
.glass-panel {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 45, 106, 0.2);
}
.neon-border {
  border: 1px solid rgba(0, 245, 228, 0.4);
  box-shadow: 0 0 12px rgba(0, 245, 228, 0.15);
}
.neon-glow {
  box-shadow: var(--glow-primary);
}
.btn-neon-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 62, 108, 0.5), 0 0 40px rgba(255, 62, 108, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-neon-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 0 28px rgba(255, 62, 108, 0.6), 0 0 50px rgba(255, 62, 108, 0.3);
}
.btn-neon-secondary {
  background: var(--color-secondary);
  color: #0a0d12;
  box-shadow: 0 0 20px rgba(20, 217, 199, 0.4), 0 0 40px rgba(20, 217, 199, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-neon-secondary:hover {
  transform: scale(1.03);
  box-shadow: 0 0 28px rgba(20, 217, 199, 0.5), 0 0 50px rgba(20, 217, 199, 0.25);
}
.btn-neon-ghost {
  background: rgba(55, 65, 81, 0.8);
  color: #fff;
  border: 1px solid rgba(0, 245, 228, 0.3);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.btn-neon-ghost:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 0 16px rgba(20, 217, 199, 0.2);
  transform: translateY(-1px);
}

/* Hero: neon orbs + gradient */
.hero-bg {
  background: linear-gradient(180deg, #0a0d12 0%, #0D1117 50%, rgba(10, 13, 18, 0.98) 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 40% at 20% 20%, rgba(255, 45, 106, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 35% at 80% 30%, rgba(0, 245, 228, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 62, 108, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

/* Section fade-in on scroll */
.section-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pricing / feature cards: neon hover */
.pricing-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 245, 228, 0.08);
}

/* Mobile nav overlay */
#mobile-nav-overlay {
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Section hint: info icon with custom tooltip on hover */
.section-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  margin-left: 0.375rem;
  color: #9CA3AF;
  cursor: help;
  border-radius: 50%;
  transition: color 0.15s ease;
  flex-shrink: 0;
  position: relative;
}
.section-info-icon:hover {
  color: #D1D5DB;
}
.section-info-icon svg {
  width: 100%;
  height: 100%;
}
/* Custom tooltip only (no title = no native tooltip); uniform readable width */
.section-info-icon[data-hint]:hover::after {
  content: attr(data-hint);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 8px);
  width: 320px;
  max-width: min(360px, calc(100vw - 24px));
  min-width: 280px;
  padding: 12px 14px;
  background: #1f2937;
  color: #e5e7eb;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  white-space: normal;
  text-align: left;
  z-index: 9999;
  pointer-events: none;
  animation: section-tooltip-in 0.08s ease;
  box-sizing: border-box;
}
@keyframes section-tooltip-in {
  from { opacity: 0; transform: translateX(-50%) translateY(2px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
