:root{
  --bg:#06070b;
  --panel:#0b1020cc;
  --panel2:#0b1020f2;
  --text:#e8f0ff;
  --muted:#9bb0d0;
  --neon:#b7ff00;
  --pink:#ff2bd6;
  --cyan:#44d9ff;
  --line:rgba(255,255,255,.08);
  --shadow: 0 10px 40px rgba(0,0,0,.55);
  --radius:18px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background: radial-gradient(1200px 900px at 20% 10%, rgba(183,255,0,.12), transparent 55%),
              radial-gradient(900px 700px at 80% 0%, rgba(255,43,214,.10), transparent 60%),
              radial-gradient(1000px 900px at 60% 90%, rgba(68,217,255,.10), transparent 55%),
              var(--bg);
  overflow-x:hidden;
}

/* Grid + noise overlay */
.bg-grid:before{
  content:"";
  position:fixed; inset:0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity:.22;
  pointer-events:none;
  mix-blend-mode:overlay;
}
.bg-grid:after{
  content:"";
  position:fixed; inset:0;
  background-image: radial-gradient(circle at 10% 10%, rgba(255,255,255,.08), transparent 35%);
  opacity:.10;
  pointer-events:none;
  filter: contrast(120%) saturate(120%);
  mix-blend-mode:screen;
}

/* Container */
.wrap{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 18px;
}
.container{
  width:min(1040px, 100%);
}

/* Top badge */
.badge{
  display:inline-flex;
  gap:10px;
  align-items:center;
  border:1px solid rgba(183,255,0,.28);
  background: rgba(7,10,18,.55);
  padding:10px 14px;
  border-radius:999px;
  font-family:var(--mono);
  color:var(--neon);
  box-shadow:0 0 0 1px rgba(183,255,0,.08) inset;
}
.badge .dot{
  width:8px; height:8px; border-radius:999px;
  background:var(--neon);
  box-shadow:0 0 18px rgba(183,255,0,.9);
}

/* Hero */
.hero{
  margin-top:20px;
  padding:28px 22px;
  border-radius:var(--radius);
  background: linear-gradient(180deg, rgba(11,16,32,.78), rgba(11,16,32,.55));
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.hero:before{
  content:"";
  position:absolute; inset:-2px;
  background: linear-gradient(90deg, rgba(183,255,0,.40), rgba(255,43,214,.22), rgba(68,217,255,.22));
  opacity:.18;
  filter: blur(26px);
  pointer-events:none;
}
.h-title{
  font-size: clamp(34px, 6vw, 64px);
  line-height:1.05;
  margin:0;
  font-weight:900;
  letter-spacing:.5px;
}
.h-title .glitch{
  position:relative;
  display:inline-block;
}
.h-title .glitch:before,
.h-title .glitch:after{
  content:attr(data-text);
  position:absolute; left:0; top:0;
  width:100%;
  opacity:.65;
  pointer-events:none;
}
.h-title .glitch:before{
  color: var(--pink);
  transform: translate(1.5px, 0);
  clip-path: inset(0 0 55% 0);
}
.h-title .glitch:after{
  color: var(--cyan);
  transform: translate(-1.5px, 0);
  clip-path: inset(55% 0 0 0);
}
.sub{
  margin:12px 0 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.55;
}

/* Cards grid */
.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:18px;
  margin-top:18px;
}
@media(min-width: 920px){
  .grid{ grid-template-columns: 1.15fr .85fr; }
}
.card{
  border-radius:var(--radius);
  background: linear-gradient(180deg, rgba(11,16,32,.92), rgba(11,16,32,.68));
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.card:before{
  content:"";
  position:absolute; inset:-1px;
  background: linear-gradient(90deg, rgba(183,255,0,.35), rgba(255,43,214,.20), rgba(68,217,255,.20));
  opacity:.10;
  filter: blur(26px);
  pointer-events:none;
}
.card .inner{ padding:18px; position:relative; z-index:2; }
.card h3{
  margin:0 0 10px;
  font-size:18px;
  letter-spacing:.3px;
}
.hr{height:1px; background:var(--line); margin:14px 0}

/* Form */
.form-row{ display:flex; gap:10px; flex-wrap:wrap; }
label{ font-size:12px; color:var(--muted); display:block; margin:10px 0 6px; }
input, select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  color:var(--text);
  outline:none;
}
input:focus, select:focus{
  border-color: rgba(183,255,0,.45);
  box-shadow:0 0 0 4px rgba(183,255,0,.12);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(183,255,0,.35);
  background: linear-gradient(180deg, rgba(183,255,0,.18), rgba(183,255,0,.08));
  color: var(--text);
  cursor:pointer;
  font-weight:700;
  letter-spacing:.2px;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  box-shadow:0 0 0 1px rgba(183,255,0,.10) inset;
}
.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(183,255,0,.55);
  box-shadow:0 12px 32px rgba(183,255,0,.10), 0 0 0 1px rgba(183,255,0,.14) inset;
}
.btn.secondary{
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.btn.danger{
  border-color: rgba(255,43,214,.35);
  background: rgba(255,43,214,.10);
}

/* Table */
.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
}
.table th, .table td{
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  font-size:13px;
  vertical-align:top;
}
.table th{
  text-align:left;
  color:var(--muted);
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.4px;
}
.table tr:hover td{
  background: rgba(183,255,0,.04);
}
.pill{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  font-family:var(--mono);
  font-size:12px;
  color:var(--text);
}
.pill.ok{ border-color: rgba(183,255,0,.35); background: rgba(183,255,0,.10); }
.pill.off{ border-color: rgba(255,43,214,.35); background: rgba(255,43,214,.10); }

pre{
  white-space: pre-wrap;
  word-break: break-word;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  margin:12px 0 0;
}

/* Links */
a{ color: var(--neon); text-decoration:none }
a:hover{ text-decoration:underline }

/* Small footer */
.foot{
  margin-top:14px;
  color:var(--muted);
  font-size:12px;
  text-align:center;
}
