:root{
  /* Base */
  --bg0:#0a0f16;
  --bg1:#0b1421;

  /* Panels */
  --panel:#0f1b2a;
  --panel2:#0c1624;

  /* Text */
  --text:#e8eef8;
  --muted:#a6b3c8;

  /* Lines */
  --border: rgba(255,255,255,.10);
  --borderSoft: rgba(255,255,255,.06);

  /* Accents (Steam-ish blue + Rockstar-ish gold) */
  --accent:#66c0f4;     /* steam blue */
  --accent2:#2aa3ff;    /* brighter blue */
  --gold:#f2c14e;       /* rockstar warm */
  --danger:#ff5a79;

  --radius: 14px;
  --shadow: 0 14px 34px rgba(0,0,0,.45);
  --shadowSoft: 0 10px 22px rgba(0,0,0,.25);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 700px at 20% -10%, rgba(102,192,244,.16), transparent 55%),
    radial-gradient(900px 520px at 90% 10%, rgba(242,193,78,.10), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}

/* Subtle “launcher texture” overlay */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.10;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.06) 0px,
      rgba(255,255,255,.06) 1px,
      transparent 1px,
      transparent 6px
    );
  mix-blend-mode:overlay;
}

/* Links */
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset:3px; }

/* Layout */
.container{
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 18px;
}

/* Top bar = more “client app” */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding: 14px 18px;

  background:
    linear-gradient(180deg, rgba(15,27,42,.95), rgba(12,22,36,.90));
  border-bottom: 1px solid var(--borderSoft);

  /* bevel */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 10px 20px rgba(0,0,0,.35);

  backdrop-filter: blur(8px);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  letter-spacing:.2px;
}

/* small “R* / client dot” vibe without copying */
.brand::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  box-shadow: 0 0 0 3px rgba(102,192,244,.10);
}

/* Nav links feel like launcher tabs */
.nav a{
  margin-left: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  color: rgba(232,238,248,.92);
  border: 1px solid transparent;
}

.nav a:hover{
  text-decoration:none;
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.07);
}

.nav a:focus-visible{
  outline: 2px solid rgba(102,192,244,.50);
  outline-offset: 2px;
}

/* OPTIONAL: active tab style (works if you add class="active") */
.nav a.active{
  background: rgba(102,192,244,.12);
  border-color: rgba(102,192,244,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}

/* Cards = Steam panel vibe */
.card{
  border-radius: var(--radius);
  padding: 20px;

  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.020));
  border: 1px solid var(--borderSoft);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    var(--shadowSoft);

  position: relative;
}

/* subtle header line like a “section” */
.card::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:2px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, rgba(102,192,244,.65), rgba(242,193,78,.35), transparent);
  opacity:.55;
}

/* Typography */
.card h1, .card h2{
  margin: 0 0 10px 0;
  letter-spacing: -.2px;
}

.card p{
  margin: 0 0 10px 0;
  color: rgba(232,238,248,.92);
}
.card p:last-child{ margin-bottom:0; }

.muted{ color: var(--muted); }

.card.danger{
  border-color: rgba(255,90,121,.25);
}
.card.danger::before{
  background: linear-gradient(90deg, rgba(255,90,121,.70), rgba(242,193,78,.20), transparent);
}

/* Footer */
.footer{
  margin-top: 34px;
  padding: 18px;
  text-align:center;
  color: rgba(166,179,200,.92);
  border-top: 1px solid var(--borderSoft);
}

/* Selection */
::selection{ background: rgba(102,192,244,.30); }

/* Mobile */
@media (max-width: 640px){
  .topbar{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .nav a{ margin-left: 0; margin-right: 8px; }
}
