:root{
  --bg:#050714;
  --bg2:#02040d;

  /* ViceX neon palette (FunFair edition) */
  --pink:#ff2fd2;
  --cyan:#00e5ff;
  --violet:#7b5cff;
  --gold:#ffd43b;

  --text:#ffffff;
  --sub:rgba(233,241,255,.78);
  --muted:rgba(233,241,255,.58);

  --card:rgba(10,14,28,.66);
  --card2:rgba(6,9,18,.60);
  --stroke:rgba(255,255,255,.10);
  --stroke2:rgba(255,255,255,.07);

  --shadow: 0 18px 60px rgba(0,0,0,.70);
  --r:22px;
  --r2:16px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(900px 600px at 20% 0%, rgba(0,229,255,.10), transparent 55%),
              radial-gradient(900px 600px at 85% 15%, rgba(255,47,210,.10), transparent 55%),
              linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  overflow-x:hidden;
}

/* Fixed background image (does NOT scroll) */
.bgFx{
  position:fixed;
  inset:0;
  z-index:-3;
  background:url("../img/bg_blur.webp") center/cover no-repeat;
  transform:scale(1.03);
}
.bgFx::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 700px at 18% 12%, rgba(0,229,255,.20), transparent 60%),
    radial-gradient(1200px 700px at 82% 18%, rgba(255,47,210,.20), transparent 60%),
    linear-gradient(180deg, rgba(3,5,12,.70) 0%, rgba(3,5,12,.86) 55%, rgba(3,5,12,.92) 100%);
}

/* subtle animated dots canvas (optional) */
.fx-canvas{
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  opacity:.55;
}

a{color:inherit}
.link{ color: var(--cyan); text-decoration:none; }
.link:hover{ text-decoration:underline; }

.small{font-size:12px}
.muted{color:var(--muted)}

.hr{ height:1px; background: rgba(255,255,255,.10); margin:14px 0; border-radius:999px; }

/* Layout */
.container{
  max-width:1180px;
  margin:0 auto;
  padding:18px 18px 26px;
}

.shell{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns: 280px 1fr;
  gap:16px;
  align-items:start;
}

.leftRail{ display:block; }
.mainCol{ min-width:0; }

@media (max-width: 980px){
  .shell{ grid-template-columns: 1fr; }
  .leftRail{ order:2; }
}

/* Top header (GTA-ish / ViceX glass) */
.topHeader{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(6,8,18,.86) 0%, rgba(6,8,18,.62) 100%);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topHeaderInner{
  max-width:1180px;
  margin:0 auto;
  padding:12px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.brandRow{
  display:flex;
  gap:12px;
  align-items:center;
  text-decoration:none;
  min-width:0;
}
.logo{
  width:40px;
  height:40px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(10,14,28,.65);
  box-shadow: 0 0 0 1px rgba(0,229,255,.08), 0 12px 40px rgba(0,0,0,.45);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.logoImg{ width:100%; height:100%; object-fit:contain; }

.brandTxt{ min-width:0; }
.brandName{ font-weight:1000; letter-spacing:.2px; line-height:1.1; }
.brandTag{ color: var(--muted); font-size:12px; margin-top:2px; }

@media (max-width: 520px){
  .brandTag{ display:none; }
  .logo{ width:34px; height:34px; border-radius:12px; }
}

/* Cards / glass */
.card{
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(18,22,44,.62) 0%, rgba(10,14,28,.58) 100%);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.cardPad{ padding:16px; }
.cardTitle{ font-weight:1000; letter-spacing:.2px; font-size:16px; }

.hero{
  border-radius: calc(var(--r) + 2px);
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(18,22,44,.55) 0%, rgba(8,11,22,.55) 100%);
  box-shadow: var(--shadow);
}

/* Pills / chips */
.pill{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(10,14,28,.55);
  backdrop-filter: blur(12px);
  font-size:13px;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(10,14,28,.55);
}
.dot{
  width:8px;height:8px;border-radius:99px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--cyan));
  box-shadow: 0 0 18px rgba(0,229,255,.55);
}

/* Navigation rail */
.navList{ display:flex; flex-direction:column; gap:10px; }
.navItem{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(6,9,18,.40);
  text-decoration:none;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.navItem:hover{
  transform: translateY(-1px);
  border-color: rgba(0,229,255,.28);
  background: rgba(6,9,18,.52);
}
.navPill{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(10,14,28,.55);
  font-size:12px;
  color: rgba(255,255,255,.85);
}

/* Buttons */
.btnRow{ display:flex; gap:10px; flex-wrap:wrap; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(10,14,28,.55);
  color:#fff;
  text-decoration:none;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.22); }
.btn.primary{
  border-color: rgba(0,229,255,.30);
  background: linear-gradient(90deg, rgba(255,47,210,.85), rgba(0,229,255,.85));
  box-shadow: 0 14px 40px rgba(0,229,255,.12), 0 14px 40px rgba(255,47,210,.10);
  color:#081022;
  font-weight:1000;
}
.btn.ghost{
  background: rgba(6,9,18,.36);
}
.btn:active{ transform: translateY(0px) scale(.99); }

/* Forms */
.authWrap{ max-width:520px; margin:0 auto; }
.formGrid{ display:grid; gap:12px; }
.input{
  width:100%;
  padding:12px 12px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(13,17,34,.68);
  color:#fff;
  outline:none;
}
.input:focus{
  border-color: rgba(0,229,255,.40);
  box-shadow: 0 0 0 3px rgba(0,229,255,.12);
}
.input::placeholder{ color: rgba(255,255,255,.50); }
.help{ font-size:11px; color: rgba(233,241,255,.72); line-height:1.45; }
.err{ color:#ff8aa5; font-size:12px; font-weight:900; }
.ok{ color:#78ffcf; font-size:12px; font-weight:900; }

/* Tables / lists */
.grid{ display:grid; gap:12px; }
@media (min-width: 980px){
  .grid.cols2{ grid-template-columns:1fr 1fr; }
}

/* Footer */
.siteFooter{
  margin-top: 18px;
  border-top:1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(6,8,18,.45) 0%, rgba(6,8,18,.65) 100%);
  backdrop-filter: blur(14px);
}
.siteFooterInner{
  max-width:1180px;
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
