:root{
  --bg0:#000000;
  --bg1:#0B0C15;
  --card: rgba(18,19,26,0.75);
  --text:#E2E8F0;
  --muted:#94A3B8;

  /* theme injected by JS via data-theme */
  --brand:#B1E948;
  --brandDim: rgba(177,233,72,0.12);
  --brandGlow: rgba(177,233,72,0.35);
}

html, body { height:100%; }
body{
  background: var(--bg0);
  color: var(--text);
}

.text-brand{ color: var(--brand); }
.bg-brand-dim{ background: var(--brandDim); }
.border-brand{ border-color: rgba(255,255,255,0.08); }
.border-brand-strong{ border-color: rgba(255,255,255,0.14); }

.glow{
  text-shadow: 0 0 22px var(--brandGlow);
}

.glass{
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all .25s ease;
}
.glass:hover{
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-4px);
}

.brand-glass{
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  backdrop-filter: blur(16px);
}

.brand-ring{
  box-shadow: 0 0 24px rgba(0,0,0,0.55), 0 0 22px var(--brandDim);
  border: 1px solid rgba(255,255,255,0.08);
}

.btn-primary{
  background: var(--brand);
  color:#000;
  font-weight: 800;
  border-radius: 9999px;
  padding: 0.95rem 1.4rem;
  display:inline-flex;
  gap:.5rem;
  align-items:center;
  justify-content:center;
  box-shadow: 0 0 22px var(--brandGlow);
  transition: transform .2s ease, opacity .2s ease;
}
.btn-primary:hover{ transform: scale(1.03); opacity: .95; }

.btn-secondary{
  border-radius: 9999px;
  padding: 0.95rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.18);
  color:#fff;
  display:inline-flex;
  gap:.5rem;
  align-items:center;
  justify-content:center;
  transition: all .2s ease;
}
.btn-secondary:hover{
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.04);
}

.section-title-bar{
  height: 4px;
  width: 88px;
  border-radius: 9999px;
  background: var(--brand);
  box-shadow: 0 0 18px var(--brandGlow);
}

.video-frame{
  position:relative;
  overflow:hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  aspect-ratio: 16/9;
  background: rgba(255,255,255,0.03);
}
.video-frame img, .video-frame video, .video-frame iframe{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.9;
}

.lang-btn{
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.65);
  border-radius: .75rem;
  padding: .5rem .75rem;
  font-size: .75rem;
  transition: all .2s ease;
}
.lang-btn:hover{ border-color: rgba(255,255,255,0.35); }
.lang-btn.active{
  border-color: rgba(255,255,255,0.45);
  color: var(--brand);
}

.marquee{
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  background: rgba(255,255,255,0.02);
}
.marquee-track{
  display:flex;
  width:max-content;
  animation: marquee 18s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state: paused; }
@keyframes marquee{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

.kbd{
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  border-radius: .5rem;
  padding: .2rem .45rem;
  font-size: .75rem;
  color: rgba(255,255,255,0.9);
}

/* ─────────────────────────────────────────────
   ICON TILE (matches your screenshots)
───────────────────────────────────────────── */
.icon-tile{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--brandDim);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(0,0,0,0.45), 0 0 18px var(--brandDim);
  color: var(--brand);
}
.icon-tile svg{
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─────────────────────────────────────────────
   YouTube: autoplay + muted + no user controls
───────────────────────────────────────────── */
.video-nocontrol iframe{
  pointer-events: none; /* blocks clicks/controls */
}

/* ─────────────────────────────────────────────
   Calculator slider styling
───────────────────────────────────────────── */
input[type="range"]{
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.14);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  background: var(--brand);
  box-shadow: 0 0 18px var(--brandGlow);
  border: 2px solid rgba(0,0,0,0.55);
}
input[type="range"]::-moz-range-thumb{
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  background: var(--brand);
  box-shadow: 0 0 18px var(--brandGlow);
  border: 2px solid rgba(0,0,0,0.55);
}
input[type="range"]::-moz-range-track{
  height: 6px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.14);
}

/* ─────────────────────────────────────────────
   Floating image + champion badge
───────────────────────────────────────────── */
@keyframes floaty{
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.promo-float{
  min-height: 420px;
  animation: floaty 6s ease-in-out infinite;
  box-shadow: 0 0 26px rgba(0,0,0,0.6);
}
.champ-badge{
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  min-width: 170px;
}
