:root{
  --bg:#0b0b0a; --panel:#141310; --ink:#f4f2ed; --sub:#cfc8bb;
  --gold:#d6a75c; --link:#f0d49a; --maxw:1200px; --r:18px; --shadow:0 18px 40px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html,body{margin:0;color:var(--ink);background-color:var(--bg);background-image:url('../assets/Banner2.png');background-repeat:no-repeat;background-position:top center;background-size:100% auto;font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;line-height:1.58}
a{color:var(--link);text-decoration:none} a:hover{text-decoration:underline}
img{max-width:100%;height:auto}
.container{max-width:var(--maxw);margin-inline:auto;padding:clamp(16px,2vw,28px)}
.btn{display:inline-flex;gap:.6rem;align-items:center;background:var(--gold);color:#1a1409;border:1px solid color-mix(in oklab, var(--gold), #000 22%);font-weight:900;padding:.85rem 1.05rem;border-radius:999px;box-shadow:var(--shadow);transition:.15s transform ease}
.btn:hover{transform:translateY(-1px)}
.btn.ghost{background:transparent;color:var(--ink);border-color:var(--gold);box-shadow:none}
.chip{display:inline-flex;align-items:center;gap:.5rem;padding:.35rem .65rem;border-radius:999px;background:#191612;border:1px solid #342a1e;color:#cfbf9e;font-size:.8rem}
.notice{font-size:.9rem;color:#b5a890}
/* NAV */
header.nav{
  position:sticky;
  top:0;
  z-index:80;
  backdrop-filter:saturate(140%) blur(12px);
  background-color:rgba(7,6,5,0.78);
  border-bottom:1px solid #2a251d;
}
header.nav .inner{display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:.8rem}
.brand img{width:44px;height:44px;border-radius:10px;border:1px solid #2a251d;object-fit:cover}
.brand h1{font-size:1rem;margin:0;font-weight:900;letter-spacing:.3px}
nav a{margin-left:1rem;color:var(--sub);font-weight:800} 
/* HERO */
.hero{
  position:relative;
  isolation:isolate;
  overflow:visible;
  padding:clamp(40px,8vh,72px) 0 40px;
  min-height:unset;
  background:transparent;
}
.hero .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:1.2rem;align-items:center}
.kicker{color:#bca888;letter-spacing:.14em;text-transform:uppercase;font-weight:900;font-size:.8rem}
h2{font-size:clamp(2rem,6vw,3.6rem);line-height:1.05;margin:.2rem 0} 
.hero p{color:var(--ink);opacity:1;max-width:62ch}
.hero .panel{background:var(--panel);border:1px solid #2a251d;border-radius:var(--r);padding:1rem;box-shadow:var(--shadow)}

/* Sections */
section{border-top:1px solid #2a251d;background:linear-gradient(180deg,#0f0e0c,#0b0b0a)}
.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:1rem}
h3{font-size:clamp(1.4rem,3vw,2rem);margin:.2rem 0 .6rem}
.grid{display:grid;gap:1rem} .grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))} .grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:960px){.hero .wrap{grid-template-columns:1fr} .grid.cols-3,.grid.cols-4{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.grid.cols-3,.grid.cols-4{grid-template-columns:1fr} nav{display:none}}
.card{border:1px solid #2a251d;border-radius:var(--r);background:var(--panel);padding:1rem;box-shadow:var(--shadow)}
.race{display:flex;align-items:center;gap:.9rem}
.race .badge{width:46px;height:46px;border-radius:12px;background:#1a1713;border:1px solid #3a2f23;display:grid;place-items:center;font-weight:800;color:var(--gold)}
.products .item{display:flex;gap:1rem;align-items:center}
.products .price{font-weight:800;color:var(--gold)}
.play-grid{display:grid;gap:1rem;grid-template-columns:2fr 1fr}
@media (max-width:960px){.play-grid{grid-template-columns:1fr}}
footer.foot{
  border-top:1px dashed #372d23;
  color:#bbae99;
  background:
    linear-gradient(180deg, rgba(5,4,3,.96) 0%, rgba(9,8,7,.98) 60%, rgba(4,3,3,1) 100%),
    url('../assets/header_banner.png') center/cover no-repeat;
  position:relative;
}
footer.foot .container{
  position:relative;
  z-index:1;
}
footer.foot::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top, rgba(0,0,0,.55), transparent 60%);
  pointer-events:none;
}
/* LIVE pill + social nav */
nav .live{display:inline-flex;align-items:center;gap:.4rem;margin-left:1rem;padding:.4rem .7rem;border-radius:999px;background:#201313;border:1px solid #482121;font-weight:900}
nav .dot{width:10px;height:10px;border-radius:999px;background:#ff3434;box-shadow:0 0 0 0 rgba(255,52,52,.8);animation:pulse 1.8s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255,52,52,.6)}70%{box-shadow:0 0 0 10px rgba(255,52,52,0)}100%{box-shadow:0 0 0 0 rgba(255,52,52,0)}}
nav .yt{margin-left:1rem;padding:.4rem .7rem;border-radius:999px;border:1px solid #2a251d;background:#151310;font-weight:900}


/* ============================
   v20 Additions (Nav toggle, pages, embeds, forms, store, proxy lab)
   ============================ */

/* Utility */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-999px;top:12px;background:#000;color:#fff;padding:.6rem .8rem;border-radius:12px;z-index:999}
.skip-link:focus{left:12px;outline:2px solid var(--gold)}
.btn.primary{background:var(--gold);color:#20160f;border-color:rgba(0,0,0,.0)}
.btn.primary:hover{transform:translateY(-2px)}
.btn.small{padding:.5rem .8rem;font-size:.9rem}
.btn.danger{border-color:#6b2c2c;background:#1f1010;color:#ffd2d2;box-shadow:none}
.note{color:#b8ab95;font-size:.95rem}

/* Nav toggle */
.nav-toggle{display:none;border:1px solid #2a251d;background:rgba(20,19,16,.6);color:var(--ink);border-radius:14px;padding:.55rem .65rem;cursor:pointer}
.nav-toggle .bars{display:grid;gap:5px}
.nav-toggle .bar{width:22px;height:2px;background:var(--ink);opacity:.9;border-radius:99px}
header.nav nav.nav-links{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end}

/* Keep existing behavior but allow opening on mobile */
@media (max-width:560px){
  .nav-toggle{display:inline-flex;align-items:center;gap:.6rem}
  header.nav nav.nav-links{display:none;position:absolute;left:0;right:0;top:100%;
    background:rgba(11,11,10,.98);border-bottom:1px solid #2a251d;
    padding:.7rem 1rem;gap:.15rem;flex-direction:column;align-items:stretch
  }
  header.nav nav.nav-links.open{display:flex}
  header.nav nav.nav-links a{margin:0;padding:.75rem .85rem;border-radius:14px;border:1px solid transparent}
  header.nav nav.nav-links a:hover{background:#151310;border-color:#2a251d;text-decoration:none}
}

/* Page hero */
.page-hero{padding:3.2rem 0 1.4rem 0}
.page-hero h2{margin:0}
.section{padding:2.2rem 0}
.section .section-head{margin-bottom:.6rem}

/* Embed wrapper */
.embed-wrap{position:relative;width:100%;max-width:1100px;margin:0 auto;aspect-ratio:16/9;border-radius:var(--r);overflow:hidden;border:1px solid #2a251d;background:#0f0f0d;box-shadow:var(--shadow)}
.embed-wrap iframe,.embed-wrap #twitch-embed{position:absolute;inset:0;width:100%;height:100%}

/* Forms */
.form{max-width:760px;margin:0 auto}
.field{display:grid;gap:.35rem;margin:.8rem 0}
.field label{font-weight:900;color:var(--sub)}
.field input,.field textarea,.field select{
  width:100%;padding:.8rem .9rem;border-radius:16px;border:1px solid #2a251d;background:#0f0f0e;color:var(--ink)
}
.field textarea{min-height:120px;resize:vertical}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media (max-width:700px){.form .row{grid-template-columns:1fr}}
.form-actions{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap;margin-top:1rem}

/* Store */
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
@media (max-width:960px){.product-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.product-grid{grid-template-columns:1fr}}
.product{display:flex;flex-direction:column;gap:.8rem}
.product h4{margin:.1rem 0}
.product .meta{color:#b9ab95;font-size:.95rem}
.product .actions{display:flex;gap:.6rem;flex-wrap:wrap}
.cart{position:sticky;top:86px}
.cart .line{display:flex;justify-content:space-between;gap:1rem}
.cart ul{list-style:none;padding:0;margin:0;display:grid;gap:.6rem}
.cart li{display:flex;justify-content:space-between;gap:.8rem;border:1px solid #2a251d;border-radius:14px;padding:.65rem .75rem;background:#12110f}
.qty{display:inline-flex;align-items:center;gap:.4rem}
.qty button{border:1px solid #2a251d;background:#0f0f0e;color:var(--ink);border-radius:12px;width:34px;height:34px;cursor:pointer}
.qty span{min-width:22px;text-align:center;font-weight:900}
.cart small{color:#b8ab95}

/* Proxy maker */
.proxy-maker{display:grid;grid-template-columns:1fr 1fr;gap:1rem;align-items:start}
@media (max-width:960px){.proxy-maker{grid-template-columns:1fr}}
.proxy-card{width:100%;max-width:360px;aspect-ratio:63/88;border-radius:18px;border:1px solid #2a251d;background:
  radial-gradient(120% 120% at 0% 0%, rgba(214,167,92,.18), transparent 55%),
  radial-gradient(120% 120% at 100% 0%, rgba(255,52,52,.10), transparent 55%),
  linear-gradient(180deg,#141310,#0f0f0e);
  box-shadow:var(--shadow);overflow:hidden
}
.proxy-card .top{padding:.8rem .85rem;border-bottom:1px solid #2a251d;display:flex;justify-content:space-between;gap:.7rem;align-items:flex-start}
.proxy-card .name{font-weight:950;letter-spacing:.2px}
.proxy-card .cost{font-weight:950;color:var(--gold);white-space:nowrap}
.proxy-card .art{height:44%;background:linear-gradient(135deg,#1b1711,#0e0e0c);border-bottom:1px solid #2a251d;display:grid;place-items:center;color:#b8ab95;font-weight:900}
.proxy-card .body{padding:.75rem .85rem;display:grid;gap:.55rem}
.proxy-card .stats{display:flex;justify-content:space-between;align-items:center;color:#d8cfbf}
.proxy-card .pill{display:inline-flex;gap:.45rem;align-items:center;padding:.25rem .55rem;border-radius:999px;border:1px solid #2a251d;background:#12110f;color:#d5c8b3;font-weight:900;font-size:.8rem}
.proxy-sheet{display:none}
@media print{
  header.nav, footer.foot, .no-print{display:none!important}
  body{background:#fff;color:#000}
  .proxy-sheet{display:block}
  .proxy-sheet .grid{grid-template-columns:repeat(3, 1fr);gap:.2in}
  .proxy-card{box-shadow:none;border:1px solid #000;background:#fff;color:#000}
  .proxy-card .art{background:#f1f1f1;color:#333}
  .proxy-card .pill{border-color:#000;background:#fff;color:#000}
}


/* ============================
   v21 Visual polish + Twitch hero embed
   ============================ */

body{
  background:
    radial-gradient(circle at top, rgba(214,167,92,.20) 0, transparent 55%),
    radial-gradient(circle at bottom, rgba(144,78,34,.24) 0, transparent 60%),
    #0b0b0a;
}

/* Hero refinements */
.hero{
  position:relative;
  overflow:hidden;
  min-height:80vh;
  background:
    linear-gradient(135deg, #140f0a 0%, #090908 45%, #171013 100%);
}
.hero::before{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(circle at 0 0, rgba(214,167,92,.25), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(255,52,52,.18), transparent 55%);
  opacity:.9;
  mix-blend-mode:screen;
  pointer-events:none;
}
.hero .container{
  position:relative;
  z-index:2;
}

/* Live Twitch card */
.live-card{
  display:flex;
  flex-direction:column;
  gap:.6rem;
  background:
    radial-gradient(circle at 0 0, rgba(214,167,92,.22), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(255,52,52,.15), transparent 55%),
    var(--panel);
}
.live-card-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
}
.live-badge{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.28rem .7rem;
  border-radius:999px;
  background:#201313;
  border:1px solid #482121;
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.live-badge .dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:#ff3434;
  box-shadow:0 0 0 0 rgba(255,52,52,.8);
  animation:pulse 1.8s infinite;
}
.live-link{
  font-size:.82rem;
  font-weight:800;
  opacity:.9;
}
.twitch-embed-wrap{
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  border-radius:14px;
  overflow:hidden;
  border:1px solid #2a251d;
  background:#050505;
  box-shadow:var(--shadow);
}
#twitch-embed{
  position:absolute;
  inset:0;
}
.live-note{
  font-size:.88rem;
  color:#c8bbab;
}

/* Extra glow on CTA buttons */
.hero .btn{
  position:relative;
}
.hero .btn::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:999px;
  border:1px solid rgba(214,167,92,.45);
  opacity:0;
  pointer-events:none;
  transition:.2s opacity ease;
}
.hero .btn:hover::after{
  opacity:1;
}


/* ============================
   v26 Global banner background (Banner2)
   ============================ */

html,body{min-height:100%}

body{
  background-color: var(--bg);
  background-image: url('../assets/footer_banner.png');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto; /* banner-style: show full image without cropping */
  background-attachment: scroll;
}

/* Show the banner behind top hero areas on all pages */
.hero,
.page-hero{
  background:transparent !important;
}

/* Keep cards/panels readable on top of the art */
.hero .panel,
.live-card,
.card{
  background-color:rgba(20,19,16,0.95);
}

/* Hero overrides: remove top gradient so banner art shows */
.hero{border-top:none!important;background:transparent!important;}
