:root{
  --bg:#0b0f14;
  --card:#101826;
  --card2:#0f1724;
  --text:#e8eef7;
  --muted:#a9b4c2;
  --accent:#00ff9a;
  --accent2:#55d6ff;
  --border:rgba(255,255,255,.10);
  --shadow:0 10px 30px rgba(0,0,0,.45);
  --radius:16px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background:
    radial-gradient(1000px 600px at 20% 0%, rgba(0,255,154,.10), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(85,214,255,.10), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.5;
}
a{color:inherit}
.wrap{max-width:1100px;margin:0 auto;padding:0 18px}

.topbar{
  position:sticky;top:0;z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,15,20,.70);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.topbar-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 0;
}
.brand{display:flex;align-items:center;gap:12px}
.brand-dot{
  width:12px;height:12px;border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  box-shadow:0 0 18px rgba(0,255,154,.45);
}
.brand-title{font-weight:800;letter-spacing:.2px}
.brand-sub{font-size:12px;color:var(--muted);margin-top:-2px}

.nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.navlink{
  text-decoration:none;
  color:var(--muted);
  padding:8px 10px;border-radius:10px;
  border:1px solid transparent;
}
.navlink:hover{color:var(--text);border-color:rgba(0,255,154,.25);background:rgba(16,24,38,.35)}

.btn{
  text-decoration:none;
  font-weight:700;
  padding:9px 12px;border-radius:12px;
  border:1px solid rgba(0,255,154,.35);
  background:linear-gradient(135deg, rgba(0,255,154,.16), rgba(85,214,255,.10));
  box-shadow:var(--shadow);
}
.btn:hover{transform:translateY(-1px)}
.btn.ghost{
  border-color:rgba(255,255,255,.14);
  background:rgba(16,24,38,.55);
}

.hero{
  margin-top:18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.hero-inner{
  min-height:420px;
  padding:54px 18px 22px;
  background:
    linear-gradient(180deg, rgba(11,15,20,.25) 0%, rgba(11,15,20,.92) 80%, rgba(11,15,20,1) 100%),
    url("https://www.digitalcombatsimulator.com/upload/medialibrary/af1/dcs-world-hero.jpg") center/cover no-repeat;
}
.badge{
  display:inline-flex;align-items:center;gap:10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(16,24,38,.45);
  padding:8px 12px;border-radius:999px;
  color:var(--muted);font-size:14px;
}
h1{
  margin:14px 0 8px;
  font-size: clamp(30px, 4vw, 56px);
  text-shadow:0 0 26px rgba(0,255,154,.20);
}
.subtitle{margin:0;color:var(--muted);max-width:78ch;font-size:16px}

.section{margin:26px 0}
.section-title{font-size:22px;margin:0 0 10px;letter-spacing:.2px}
.lead{color:var(--muted);margin:0 0 14px;max-width:95ch}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
}
.card{
  grid-column: span 12;
  background:linear-gradient(180deg, rgba(16,24,38,.92), rgba(16,24,38,.72));
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}
@media (min-width: 860px){
  .span4{grid-column: span 4}
  .span6{grid-column: span 6}
}
.card img{width:100%;height:210px;object-fit:cover;display:block;filter:saturate(1.05) contrast(1.03)}
.p{padding:14px 14px 16px}
.card h3{margin:0 0 6px;font-size:18px}
.card p{margin:0;color:var(--muted);font-size:14px}

.pillrow{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.pill{
  font-size:13px;color:var(--muted);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(11,15,20,.35);
  padding:7px 10px;border-radius:999px;
}

.formcard{
  max-width:520px;margin:22px auto 0;
}
.label{display:block;font-weight:700;margin:10px 0 6px}
.input{
  width:100%;
  padding:10px 12px;border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(16,24,38,.55);
  color:var(--text);
}
.input:focus{outline:none;border-color:rgba(0,255,154,.35)}
.err{color:#ff6b6b;margin-top:10px}
.ok{color:#00ff9a;margin-top:10px}
.muted{color:var(--muted)}

.table{
  width:100%;
  border-collapse:collapse;
  margin-top:10px;
}
.table th,.table td{
  padding:10px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
  text-align:left;
  font-size:14px;
}
.table th{color:var(--muted);font-weight:800}

.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.btn2{
  cursor:pointer;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(16,24,38,.55);
  color:var(--text);
  font-weight:800;
}
.btn2:hover{transform:translateY(-1px);border-color:rgba(0,255,154,.25)}
.btn2.danger{border-color:rgba(255,107,107,.35)}
.btn2.primary{border-color:rgba(0,255,154,.35)}

.footer{
  margin-top:40px;
  border-top:1px solid rgba(255,255,255,.06);
  color:rgba(169,180,194,.85);
  padding:22px 0;
  font-size:13px;
}
.footrow{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}

.canvaswrap{padding:14px}
