:root{
  --bg:#05070c;
  --panel:#0b101a;
  --panel2:#0f1624;
  --txt:#e9eef8;
  --muted:rgba(233,238,248,.70);
  --line:rgba(255,255,255,.09);
  --gold:#ffcf6a;
  --cyan:#19d6ff;
  --shadow: 0 18px 40px rgba(0,0,0,.55);
  --r:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--txt);
  background:var(--bg);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
.muted{color:var(--muted)}
.faint{opacity:.8}

/* Background */
.bg{position:fixed;inset:0;z-index:-3;pointer-events:none}
.bg-grid{
  position:absolute;inset:-40%;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size:120px 120px;
  transform:rotate(8deg);
  opacity:.20;
}
.bg-glow{
  position:absolute;inset:-10%;
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(25,214,255,.16), transparent 65%),
    radial-gradient(900px 600px at 80% 20%, rgba(255,207,106,.12), transparent 60%),
    radial-gradient(900px 600px at 50% 90%, rgba(170,120,255,.12), transparent 60%);
  filter: blur(2px);
}
.bg-stars{
  position:absolute;inset:0;
  background-image: radial-gradient(rgba(255,255,255,.20) 1px, transparent 1px);
  background-size: 180px 180px;
  opacity:.18;
}

/* Sticky HUD (no overlap) */
.hud{
  position:sticky; top:0; z-index:50;
  display:flex; gap:14px; justify-content:space-between; align-items:flex-start;
  padding:14px 14px 10px;
  background: rgba(5,7,12,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.hud-left{display:flex;gap:12px;align-items:flex-start}
.crest{
  width:46px;height:46px;border-radius:14px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.10);
  display:grid;place-items:center;
  box-shadow: var(--shadow);
}
.kicker{letter-spacing:.12em;font-size:.72rem;color:rgba(255,207,106,.85)}
.title{margin:2px 0 0;font-size:1.12rem}
.sub{margin-top:4px;font-size:.90rem;color:var(--muted)}

.hud-right{display:flex;flex-direction:column;gap:10px;min-width:260px}
.tts-row{display:flex;gap:10px;align-items:center}
.select{
  flex:1;
  padding:10px 12px;border-radius:12px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:var(--txt);
}
.chip{
  padding:8px 12px;border-radius:999px;
  border:1px solid rgba(25,214,255,.25);
  background: rgba(25,214,255,.10);
  color: rgba(25,214,255,.95);
  font-weight:700;
  font-size:.82rem;
  white-space:nowrap;
}

/* Buttons */
.btn{
  padding:11px 14px;border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.09);
  color:var(--txt);
  font-weight:800;
}
.btn:active{transform:translateY(1px)}
.btn.ghost{background:transparent}
.btn:hover{border-color: rgba(255,255,255,.22)}
.btn:focus{outline:2px solid rgba(25,214,255,.35); outline-offset:2px}

/* Main layout */
.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:18px 14px 90px;
}

/* Panels */
.panel{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding:16px;
  margin:14px 0;
  position:relative;
}
.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.panel-title{font-weight:900;letter-spacing:.06em;text-transform:uppercase;font-size:.86rem;color:rgba(255,255,255,.88)}
.notice .bullets{margin:.8rem 0 0;padding-left:1.1rem}
.bullets li{margin:.35rem 0}

/* Grid tiers */
.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
  margin-top:14px;
}
.tier{
  border-radius: var(--r);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(10,14,22,.72);
  box-shadow: var(--shadow);
  padding:16px;
  position:relative;
  overflow:hidden;
}
.tier:before{
  content:"";
  position:absolute; inset:-40%;
  background: radial-gradient(500px 280px at 20% 20%, rgba(25,214,255,.14), transparent 65%);
  transform: rotate(8deg);
  pointer-events:none;
}
.tier-top{display:flex;gap:10px;align-items:flex-start;position:relative}
.tier-dot{font-size:1.15rem}
.tier-name{font-weight:950;font-size:1.05rem}
.tier-price{margin-top:4px;color:rgba(255,255,255,.88);font-weight:900}
.label{margin-top:10px;font-weight:900;font-size:.82rem}
.checks{margin:.8rem 0 0;padding-left:1.1rem;color:rgba(233,238,248,.85)}
.checks li{margin:.35rem 0}

/* CTA */
.cta{
  display:block;
  margin-top:14px;
  padding:12px 14px;
  border-radius:14px;
  text-align:center;
  font-weight:950;
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,207,106,.22), rgba(255,207,106,.10));
}
.fine{margin-top:10px;font-size:.86rem}

/* Tier accents */
.tier-green:before{background: radial-gradient(520px 320px at 20% 20%, rgba(75,255,160,.14), transparent 65%)}
.tier-blue:before{background: radial-gradient(520px 320px at 20% 20%, rgba(25,214,255,.18), transparent 65%)}
.tier-purple:before{background: radial-gradient(520px 320px at 20% 20%, rgba(170,120,255,.18), transparent 65%)}
.tier-red:before{background: radial-gradient(520px 320px at 20% 20%, rgba(255,90,90,.16), transparent 65%)}

.hardmode{border-color: rgba(255,207,106,.18)}
.hardmode .panel-title{color: rgba(255,207,106,.92)}

/* Bottom dock */
.dock{
  position:sticky;
  bottom:12px;
  display:flex;
  gap:10px;
  justify-content:center;
  padding:12px 0;
  margin-top:14px;
}
.dock-btn{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  font-weight:900;
}
.dock-btn.gold{
  border-color: rgba(255,207,106,.28);
  background: rgba(255,207,106,.14);
}

.footer{
  margin-top:18px;
  text-align:center;
  color:rgba(233,238,248,.72);
  font-size:.92rem;
}

/* Mobile: SINGLE COLUMN, NO OVERLAP */
@media (max-width: 860px){
  .hud{flex-direction:column;align-items:stretch}
  .hud-right{min-width:0}
  .grid{grid-template-columns:1fr}
  .dock{flex-wrap:wrap}
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto}
}

.olympus-divider {
  margin: 28px 0 18px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,209,124,.35),
    transparent
  );
}