/* Still On Fire — v3 (badges + hover + sections) */

:root{
  --bg:#0b0b0f;
  --panel:#12121a;
  --text:#f4f4f7;
  --muted:#b7b7c2;
  --line:rgba(255,255,255,.10);
  --accent:#ff4d4d;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1000px 600px at 10% 0%, rgba(255,77,77,.18), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(255,255,255,.08), transparent 55%),
    var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
p{line-height:1.6}
img{display:block}

.header{
  position:sticky; top:0; z-index:10;
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 22px;
  background: rgba(11,11,15,.70);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand{display:flex; gap:10px; align-items:center}
.brand-mark{font-size:18px}
.brand-name{font-weight:800; letter-spacing:.12em; font-size:13px}

.nav{display:flex; gap:18px; align-items:center}
.nav a{font-size:14px; color:var(--muted)}
.nav a:hover{color:var(--text)}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius: 999px;
  background: var(--text);
  color:#0b0b0f;
  font-weight:800;
  border:1px solid transparent;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.btn:hover{transform: translateY(-1px)}
.btn-small{padding:10px 12px; font-size:13px}
.btn-ghost{
  background: transparent;
  color: var(--text);
  border:1px solid var(--line);
  box-shadow:none;
}
.btn-ghost:hover{border-color: rgba(255,255,255,.25)}

.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  padding: 52px 22px 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-inner{padding: 10px 0}
.tag{
  display:inline-block;
  font-size:12px;
  letter-spacing:.14em;
  color: var(--muted);
  border:1px solid var(--line);
  padding:10px 12px;
  border-radius:999px;
}
h1{
  font-size:56px;
  line-height:1.02;
  margin: 18px 0 14px;
}
.accent{color: var(--accent)}
.sub{color: var(--muted); max-width: 55ch}
.hero-cta{display:flex; gap:12px; margin-top: 18px; flex-wrap:wrap}
.trust{display:flex; gap:14px; margin-top: 20px; flex-wrap:wrap}
.trust-item{
  font-size:13px;
  color: var(--muted);
  border:1px solid var(--line);
  padding:10px 12px;
  border-radius:999px;
}

.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  min-height: 260px;
}
.hero-card-inner{padding:22px}
.card-kicker{color:var(--muted); letter-spacing:.14em; font-size:12px}
.mini-row{display:flex; gap:10px; margin-top: 14px; flex-wrap:wrap}
.pill{
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 10px;
  border-radius:999px;
  font-size:12px;
}

.section{
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 22px 10px;
}
.section-head{
  display:flex; justify-content:space-between; gap:14px; align-items:flex-end; flex-wrap:wrap
}
h2{margin:0; font-size:28px}
.muted{color:var(--muted)}
.tiny{font-size:12px}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top: 16px;
}
.grid-narrow{
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}

.card{
  background: var(--panel);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
}
.card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
}
/* image zoom on hover */
.card:hover .img-wrap img{ transform: scale(1.04); }

.img-wrap{
  position:relative;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,.04);
  overflow:hidden;
}
.img-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.0);
  transition: transform .28s ease;
}

/* badge */
.badge{
  position:absolute; top:12px; left:12px;
  font-weight:900;
  font-size:11px;
  letter-spacing:.10em;
  padding:8px 10px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
}
.badge-hot{ box-shadow: 0 10px 30px rgba(255,77,77,.22); }
.badge-workout{ box-shadow: 0 10px 30px rgba(255,255,255,.18); }
.badge-limited{ box-shadow: 0 10px 30px rgba(255,77,77,.18); }
.badge-accessory{ box-shadow: 0 10px 30px rgba(255,255,255,.14); }

.card-body{padding:14px 14px 16px}
.card-body h3{margin:0 0 10px; font-size:16px}
.row{display:flex; justify-content:space-between; gap:10px; align-items:center}
.price{font-weight:800}
.buy{color:var(--muted); font-size:13px}

.center{display:grid; place-items:center; margin-top: 16px}

.footer{
  border-top:1px solid var(--line);
  padding: 18px 22px;
  max-width:1100px;
  margin: 18px auto 24px;
}

@media (max-width: 920px){
  .hero{grid-template-columns: 1fr}
  h1{font-size:44px}
  .grid{grid-template-columns: repeat(2, 1fr)}
  .grid-narrow{grid-template-columns: 1fr}
}
@media (max-width: 540px){
  .grid{grid-template-columns: 1fr}
  h1{font-size:38px}
}



/* === v5 additions === */

/* subtle hero-card entry + slow pulse */
.hero-card-animate{
  animation: cardIn .55s ease-out both, slowPulse 5.5s ease-in-out 1.2s infinite;
}
@keyframes cardIn{
  from{opacity:0; transform: translateY(10px) scale(.98);}
  to{opacity:1; transform: translateY(0) scale(1);}
}
@keyframes slowPulse{
  0%,100%{ box-shadow: 0 18px 50px rgba(0,0,0,.35); }
  50%{ box-shadow: 0 26px 70px rgba(0,0,0,.48); }
}

/* fade swap for rotating text */
.fade-swap{ opacity: .0; transition: opacity .18s ease; }

/* Why section cards */
.why-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top: 16px;
}
.why-card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
}
.why-card h3{ margin:0 0 8px; font-size:16px; }

/* Link-in-bio page */
.bio{
  min-height: 100vh;
  display:grid;
  place-items:center;
  padding: 32px 18px;
}
.bio-card{
  width: min(520px, 100%);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.bio-brand{
  font-weight: 900;
  letter-spacing: .14em;
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  margin-bottom: 10px;
}
.bio-sub{ text-align:center; margin: 0 0 16px; }
.bio-btn{ width:100%; margin-top: 10px; }
.bio-footer{ text-align:center; margin-top: 16px; opacity: .75; }

/* Ads landing */
.ads{ min-height:100vh; display:grid; place-items:center; padding: 42px 18px; }
.ads-hero{
  width: min(980px, 100%);
  text-align:center;
}
.ads-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
  margin-top: 18px;
}

@media (max-width: 920px){
  .why-grid{ grid-template-columns: 1fr; }
  .ads-grid{ grid-template-columns: 1fr; }
}
