/* ============================================================
   BotBet — Sporty 3D depth layer
   Brighter palette with yellow energy: layered depth, glow,
   raised elements, diagonal speed streaks + animated backdrop.
   ============================================================ */

/* Ambient animated backdrop — black field with bold yellow energy */
body {
  position: relative;
  background:
    radial-gradient(1200px 800px at 12% -8%, rgba(255, 212, 0, 0.14), transparent 58%),
    radial-gradient(900px 700px at 108% 8%, rgba(255, 212, 0, 0.08), transparent 55%),
    radial-gradient(1000px 760px at 50% 118%, rgba(202, 252, 3, 0.06), transparent 55%),
    #050505;
  overflow-x: hidden;
}

/* Fine perspective grid overlay — brighter */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 78%);
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

/* Floating energy orb (yellow), animated */
body::after {
  content: "";
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 40, 0.26), rgba(202, 252, 3, 0.06) 55%, transparent 72%);
  filter: blur(54px);
  top: -130px;
  left: -130px;
  z-index: 0;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

/* Diagonal speed streaks — sporty energy lines (fixed, subtle) */
.speed-streaks {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(120deg, transparent 0%, rgba(255, 212, 0, 0.06) 24%, transparent 50%),
    linear-gradient(120deg, transparent 0%, rgba(255, 212, 0, 0.05) 34%, transparent 58%),
    linear-gradient(120deg, transparent 0%, rgba(255, 224, 46, 0.05) 18%, transparent 46%);
  background-size: 380px 380px;
  mix-blend-mode: screen;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(44px, 32px) scale(1.08); }
  66%      { transform: translate(-22px, 64px) scale(0.95); }
}

/* ---------- Header: raised glass + energy underline ---------- */
.site-header {
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.88), rgba(10, 10, 10, 0.94));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(140, 125, 0, 0.5);
  box-shadow: 0 10px 34px -18px rgba(0, 0, 0, 0.9);
}

.nav a, .brand { text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55); }

/* ---------- Buttons: sporty raised / pressable ---------- */
.btn {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    0 12px 26px -13px rgba(255, 212, 0, 0.6);
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  will-change: transform;
  font-weight: 700;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-bright), var(--primary-dark));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 16px 34px -14px rgba(255, 212, 0, 0.9);
  color: #0a0a0a;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #fff24d, #ffc400);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 20px 42px -14px rgba(255, 212, 0, 1);
  color: #0a0a0a;
}

/* The "Start free trial" / primary CTA uses a hot yellow energy arc */
.btn-primary.hot {
  background: linear-gradient(135deg, #ffffff 0%, #ffe14a 45%, #ffd400 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 16px 36px -12px rgba(255, 212, 0, 0.7),
    0 14px 30px -14px rgba(255, 212, 0, 0.75);
  animation: hotPulse 3.6s ease-in-out infinite;
}
.btn-primary.hot:hover {
  background: linear-gradient(135deg, #ffffff 0%, #fff24d 45%, #ffe14a 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 22px 46px -12px rgba(255, 212, 0, 0.8),
    0 20px 38px -14px rgba(255, 212, 0, 0.95);
}
@keyframes hotPulse {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.08); }
}

.btn-outline {
  background: rgba(20, 20, 20, 0.7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 8px 22px -14px rgba(0, 0, 0, 0.85);
}
.btn-outline:hover {
  border-color: var(--primary);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 0 0 1px rgba(255, 212, 0, 0.45),
    0 14px 30px -16px rgba(255, 212, 0, 0.65);
  color: var(--primary-bright);
}

/* ---------- Cards: sportier layered depth + hover lift ---------- */
.feature, .pick-card, .plan-card, .auth-card, .subscribe-card,
.stat-box, .stat-card, .analysis {
  background: linear-gradient(180deg, rgba(27, 27, 27, 0.92), rgba(18, 18, 18, 0.97));
  border: 1px solid rgba(140, 125, 0, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 20px 44px -26px rgba(0, 0, 0, 0.9),
    0 4px 14px -8px rgba(0, 0, 0, 0.6);
}

.pick-card, .feature, .stat-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
}
.pick-card:hover, .feature:hover, .stat-card:hover {
  transform: translateY(-6px) rotateX(2deg);
  border-color: rgba(255, 212, 0, 0.65);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 32px 60px -26px rgba(0, 0, 0, 0.95),
    0 0 28px -8px rgba(255, 212, 0, 0.45);
}

/* Shine sweep on cards — skew feels sporty */
.feature, .pick-card, .stat-card, .plan-card {
  position: relative;
  overflow: hidden;
}
.feature::after, .pick-card::after, .stat-card::after, .plan-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events: none;
}
.feature:hover::after, .pick-card:hover::after, .stat-card:hover::after, .plan-card:hover::after {
  left: 130%;
}

/* ---------- Plan cards: stronger 3D, hotter featured ---------- */
.plan-card {
  border-radius: 18px;
  transform: translateZ(0);
}
.plan-featured {
  border: 1px solid rgba(255, 212, 0, 0.7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 24px 52px -26px rgba(255, 212, 0, 0.5),
    0 4px 18px -10px rgba(0, 0, 0, 0.7);
}
.plan-featured h2 { color: var(--yellow); }
.plan-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(130% 60% at 50% 0%, rgba(255, 212, 0, 0.15), transparent 70%);
  pointer-events: none;
}

/* ---------- Hero: bold sporty text + energy glow ---------- */
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 212, 0, 0.25);
}
.hero .accent {
  background: linear-gradient(120deg, #ffd400, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(255, 212, 0, 0.35);
}
.hero .accent.cyan {
  background: linear-gradient(180deg, #fff24d, #ffd400);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Badge chip: raised pill, hot */
.badge {
  box-shadow: 0 6px 18px -8px rgba(255, 212, 0, 0.8);
  background: var(--grad-heat);
  color: #0a0a0a;
}

/* Prices: lifted stat, yellow leader */
.price { text-shadow: 0 2px 18px rgba(255, 212, 0, 0.3); }
.plan-featured .price { text-shadow: 0 2px 20px rgba(255, 212, 0, 0.45); }

/* Conf links/buttons inside cards keep depth */
.link-button { text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); }

/* Energy stats (proof strip) */
.proof-num { text-shadow: 0 2px 22px rgba(255, 212, 0, 0.18); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  body::after, .pick-card, .feature, .stat-card, .btn, .btn-primary.hot {
    animation: none;
    transition: none;
  }
  .feature::after, .pick-card::after, .stat-card::after, .plan-card::after { display: none; }
  .speed-streaks { display: none; }
  .demo-card, .demo-chip { animation: none; transition: none; }
}

/* ===================== Mobile: calm the 3D layer =====================
   Fixed glow/blur orbs and streak overlays cost GPU and read as
   "parts flowing around" on small screens. Cull or shrink them. */
@media (max-width: 768px) {
  body::after {  /* floating orb */
    width: 260px;
    height: 260px;
    filter: blur(30px);
    top: -60px;
    left: -70px;
    opacity: .6;
    animation: none;
  }
  .speed-streaks { opacity: .4; }
  /* Lighter page grid so it never fights the content */
  body::before { background-size: 36px 36px; opacity: .7; }
  /* Keep hover-lift/transform cheap on touch (no hover anyway) */
  .feature::after, .pick-card::after, .stat-card::after, .plan-card::after { display: none; }
}

/* On real phone widths, hide decorative fixed layers entirely */
@media (max-width: 480px) {
  body::after { display: none; }
  .speed-streaks { display: none; }
  body::before { -webkit-mask-image: none; mask-image: none; }
}

