:root{
  --bg:#060b08;
  --bg2:#07110b;
  --surface:#0e1712;
  --surface2:#111f18;
  --stroke:#1e3227;
  --text:#e9f3ee;
  --muted:#a4b7ad;
  --primary:#2bd47f;     /* darts green */
  --primary2:#1fb56a;
  --accent:#e53935;      /* bull red */
  --warn:#ffcc00;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
  --radius: 16px;
  --radius2: 22px;
  --max: 1120px;
}

*{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 20% -10%, rgba(43,212,127,.20), transparent 60%),
    radial-gradient(900px 520px at 110% 10%, rgba(229,57,53,.18), transparent 55%),
    radial-gradient(900px 520px at 50% 120%, rgba(255,204,0,.10), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2) 60%, #050806);
  line-height:1.6;
}

a{color:inherit; text-decoration:none}
a:hover{color:var(--primary)}
img{max-width:100%; display:block}
small{color:var(--muted)}

.container{max-width:var(--max); margin:0 auto; padding:28px 20px 70px}
.section{margin-top:36px}
.grid{display:grid; gap:18px}
@media (min-width: 840px){
  .grid.cols-3{grid-template-columns:repeat(3,1fr)}
  .grid.cols-2{grid-template-columns:repeat(2,1fr)}
}

.card{
  background: linear-gradient(180deg, rgba(17,31,24,.92), rgba(14,23,18,.92));
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}

.pill{
  display:inline-flex; align-items:center; gap:10px;
  border:1px solid var(--stroke);
  background: rgba(17,31,24,.65);
  padding:8px 12px; border-radius:999px;
  color:var(--muted);
}

h1,h2,h3{line-height:1.2; margin:0 0 10px}
h1{font-size:clamp(32px,4vw,44px)}
h2{font-size:clamp(22px,2.7vw,30px)}
h3{font-size:18px}

.muted{color:var(--muted)}
.kicker{letter-spacing:.12em; text-transform:uppercase; font-weight:800; font-size:12px; color:rgba(233,243,238,.75)}
hr{border:0; border-top:1px solid var(--stroke); margin:18px 0}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  border-radius: 12px;
  padding:12px 14px;
  font-weight:800;
  border:1px solid transparent;
  cursor:pointer;
  transition: transform .06s ease, filter .2s ease, background .2s ease, border-color .2s ease;
  user-select:none;
}
.btn:active{transform: translateY(1px)}
.btn-primary{background:linear-gradient(180deg, var(--primary), var(--primary2)); color:#041109}
.btn-primary:hover{filter:brightness(1.05)}
.btn-ghost{background:rgba(17,31,24,.35); border-color:var(--stroke); color:var(--text)}
.btn-ghost:hover{background:rgba(17,31,24,.55)}
.btn-danger{background:rgba(229,57,53,.14); border-color:rgba(229,57,53,.35); color:#ffd6d6}
.btn-danger:hover{background:rgba(229,57,53,.20)}
.btn:disabled{opacity:.55; cursor:not-allowed}

.input{
  width:100%;
  max-width:460px;
  padding:12px 12px;
  border-radius: 12px;
  border:1px solid var(--stroke);
  background: rgba(5,9,7,.55);
  color: var(--text);
  outline:none;
}
.input:focus{border-color:rgba(43,212,127,.65); box-shadow:0 0 0 3px rgba(43,212,127,.12)}

label{display:block; color:var(--muted); font-weight:700; font-size:13px}
.form-row{margin:12px 0}
.form-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.toast{margin-top:12px; color:var(--muted)}



/* Auth page layout */
.auth-wrap{max-width:620px; margin:0 auto}
.auth-wrap .card{padding:22px}
.auth-wrap .input{max-width:none}
.auth-wrap .form-actions{justify-content:flex-start}
.helper{font-size:12px; color:var(--muted); margin-top:6px}
.pw-grid{display:grid; grid-template-columns:1fr; gap:12px}
@media(min-width:720px){.pw-grid{grid-template-columns:1fr 1fr}}
.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(6,11,8,.70);
  backdrop-filter: blur(14px);
  border-bottom:1px solid rgba(30,50,39,.55);
}

.nav{
  max-width: var(--max);
  margin:0 auto;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand{display:flex; align-items:center; gap:12px; font-weight:900}
.brand img{width:36px; height:36px; border-radius:12px; background:rgba(0,0,0,.35); border:1px solid var(--stroke)}
.brand span{letter-spacing:.02em}

.nav-links{display:flex; gap:14px; align-items:center; flex-wrap:wrap}
.nav-links a{
  color: rgba(233,243,238,.85);
  padding:8px 10px;
  border-radius: 12px;
  border:1px solid transparent;
}
.nav-links a:hover{border-color:rgba(43,212,127,.28); background:rgba(17,31,24,.25)}
.nav-links a.active{border-color:rgba(43,212,127,.45); background:rgba(17,31,24,.35)}

.hero{
  padding:42px 0 16px;
  display:grid;
  gap:22px;
  align-items:center;
}
@media (min-width: 900px){
  .hero{grid-template-columns: 1.1fr .9fr}
}
.hero-card{
  border-radius: var(--radius2);
  padding:18px;
  overflow:hidden;
  position:relative;
}
.hero-card::before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(800px 240px at 10% 0%, rgba(43,212,127,.22), transparent 65%),
    radial-gradient(700px 260px at 100% 20%, rgba(229,57,53,.22), transparent 60%);
  pointer-events:none;
}
.hero-card > *{position:relative}

.badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}

.feature{
  display:flex; gap:12px; align-items:flex-start
}
.icon{
  width:38px; height:38px; border-radius: 14px;
  border:1px solid var(--stroke);
  background: rgba(17,31,24,.45);
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
  color:var(--primary);
  flex: 0 0 auto;
}

.footer{
  margin-top:46px;
  padding:26px 0 0;
  border-top:1px solid rgba(30,50,39,.55);
  color:var(--muted);
  display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between;
}
.footer a{color:rgba(233,243,238,.8)}
.footer a:hover{color:var(--primary)}

.notice{
  border-left:4px solid rgba(255,204,0,.7);
  padding:12px 14px;
  background: rgba(255,204,0,.08);
  border-radius: 12px;
  color: rgba(255,247,214,.92);
  border:1px solid rgba(255,204,0,.25);
}

.success{
  border-left:4px solid rgba(43,212,127,.7);
  padding:12px 14px;
  background: rgba(43,212,127,.08);
  border-radius: 12px;
  color: rgba(222,255,240,.92);
  border:1px solid rgba(43,212,127,.22);
}

.danger{
  border-left:4px solid rgba(229,57,53,.72);
  padding:12px 14px;
  background: rgba(229,57,53,.08);
  border-radius: 12px;
  color: rgba(255,226,226,.92);
  border:1px solid rgba(229,57,53,.22);
}

.code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 12px;
  border:1px solid var(--stroke);
  background: rgba(5,9,7,.55);
  overflow:auto;
}
