/* Shared premium minimal UI (AFK-style) */
:root{
  --bg:#0b0f14;
  --bg2:#0a0d12;
  --surface:#111822;
  --surface2:#0f1620;
  --border:rgba(255,255,255,.08);
  --text:#e8eef6;
  --muted:rgba(232,238,246,.72);
  --muted2:rgba(232,238,246,.55);
  --accent:#59b6ff;
  --accent2:#7dd3ff;
  --good:#41d38b;
  --warn:#ffcc66;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
  --radius: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, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(89,182,255,.18), transparent 60%),
    radial-gradient(900px 500px at 15% 20%, rgba(125,211,255,.12), transparent 55%),
    radial-gradient(1000px 700px at 85% 30%, rgba(65,211,139,.08), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

a{color:var(--accent); text-decoration:none}
a:hover{color:var(--accent2); text-decoration:underline}
p{color:var(--muted); line-height:1.6}
small{color:var(--muted2)}
h1,h2,h3{color:var(--text)}

.container{max-width:1100px; margin:0 auto; padding:0 18px}
.section{padding:42px 0}
.hr{height:1px; background:var(--border); margin:22px 0}

.skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:18px; top:18px; width:auto; height:auto;
  background:var(--surface); border:1px solid var(--border);
  padding:10px 12px; border-radius:12px; box-shadow:var(--shadow);
  outline:none;
}

.header{
  position:sticky; top:0; z-index:40;
  background:rgba(11,15,20,.76);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 0;
}
.brand{
  display:flex; flex-direction:column; gap:4px;
}
.brand h1{margin:0; font-size:18px; letter-spacing:.2px}
.brand span{font-size:12px; color:var(--muted2)}
.menu{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
}
.menu a{
  padding:8px 10px; border-radius:12px;
  color:var(--muted);
}
.menu a.active, .menu a:hover{
  background:rgba(255,255,255,.06);
  color:var(--text);
  text-decoration:none;
}

.hero{
  padding:54px 0 22px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:start;
}
@media (max-width: 920px){
  .hero-grid{grid-template-columns: 1fr; gap:16px}
}

.kicker{
  display:inline-flex; gap:8px; align-items:center;
  font-size:12px; color:var(--muted);
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  padding:8px 10px; border-radius:999px;
}
.dot{width:8px; height:8px; border-radius:999px; background:var(--good); box-shadow:0 0 0 6px rgba(65,211,139,.12)}
.title{
  margin:14px 0 10px;
  font-size:44px; line-height:1.08; letter-spacing:-.6px;
}
@media (max-width: 520px){ .title{font-size:36px} }
.subtitle{font-size:16px; margin:0 0 18px; color:var(--muted)}

.card{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
}
.card.pad{padding:18px}

.callout{
  border:1px solid rgba(89,182,255,.22);
  background:rgba(89,182,255,.08);
  padding:14px 14px;
  border-radius:16px;
  color:var(--text);
}
.callout strong{color:var(--text)}
.callout p{margin:8px 0 0; color:var(--muted)}

.btns{display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 6px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--text);
  font-weight:600;
}
.btn:hover{background:rgba(255,255,255,.07); text-decoration:none}
.btn.primary{
  border-color:rgba(89,182,255,.35);
  background:linear-gradient(180deg, rgba(89,182,255,.22), rgba(89,182,255,.10));
}
.btn.primary:hover{
  background:linear-gradient(180deg, rgba(89,182,255,.28), rgba(89,182,255,.12));
}
.btn.small{padding:10px 12px; border-radius:12px; font-weight:600; font-size:13px}

.grid4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
@media (max-width: 980px){ .grid4{grid-template-columns: repeat(2, 1fr)} }
@media (max-width: 520px){ .grid4{grid-template-columns: 1fr} }

.feature{
  padding:16px;
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
}
.feature h3{margin:0 0 8px; font-size:14px}
.feature p{margin:0; font-size:13px; color:var(--muted)}

.list{
  display:grid; gap:12px;
}
.item{
  padding:14px 14px;
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
}
.item h3{margin:0 0 6px; font-size:15px}
.item p{margin:0; font-size:13px; color:var(--muted)}

.two{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
}
@media (max-width: 920px){ .two{grid-template-columns: 1fr} }

.table{
  display:grid; gap:10px;
}
.row{
  display:flex; justify-content:space-between; gap:12px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
}
.row b{font-weight:700}
.row span{color:var(--muted); text-align:right}

.code{
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(0,0,0,.30);
  padding:14px 14px 14px;
  overflow:auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color:rgba(232,238,246,.92);
  font-size:13px;
}

.media{
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  overflow:hidden;
}
.media img{
  display:block;
  width:100%;
  height:auto;
}

.footer{
  border-top:1px solid var(--border);
  padding:22px 0 34px;
  color:var(--muted2);
}
.footer .meta{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; flex-wrap:wrap;
}
.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  color:var(--muted);
  font-size:12px;
}
.badge strong{color:var(--text)}
