* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #53fc18;
  --green-dark: #3ed410;
  --bg: #0e0e10;
  --bg2: #1a1a1d;
  --bg3: #242428;
  --border: rgba(255,255,255,0.08);
  --text: #ffffff;
  --text2: #a0a0a8;
  --red: #f87171;
}

body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; }

a { color: inherit; text-decoration: none; }
code { background: var(--bg3); padding: 2px 7px; border-radius: 4px; font-size: 13px; color: var(--green); }

/* ── LANDING ── */
.landing { display: flex; align-items: center; justify-content: center; }
.landing-wrap { max-width: 680px; width: 100%; padding: 4rem 2rem; text-align: center; }
.logo { font-size: 42px; font-weight: 700; letter-spacing: -1px; color: var(--text); }
.logo span { color: var(--green); }
.tagline { font-size: 18px; color: var(--text2); margin: 1rem 0 3rem; line-height: 1.6; }

.how { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 2.5rem; flex-wrap: wrap; }
.step { background: var(--bg2); border: 0.5px solid var(--border); border-radius: 12px; padding: 1rem; max-width: 160px; text-align: center; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #0e0e10; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.step-txt { font-size: 13px; color: var(--text2); line-height: 1.4; }
.step-arrow { color: var(--text2); font-size: 20px; }

.tiers { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.tier { background: var(--bg2); border: 0.5px solid var(--border); border-radius: 8px; padding: 10px 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tier.highlight { border-color: var(--green); }
.tier .nb { font-size: 12px; color: var(--text2); }
.tier .dur { font-size: 15px; font-weight: 600; color: var(--green); }

.btn-kick { display: inline-block; background: var(--green); color: #0e0e10; font-weight: 700; font-size: 15px; padding: 14px 36px; border-radius: 8px; transition: background .15s; }
.btn-kick:hover { background: var(--green-dark); }
.error { color: var(--red); margin-top: 1rem; font-size: 14px; }

/* ── NAV ── */
nav { display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; height: 56px; border-bottom: 0.5px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-user { font-size: 14px; color: var(--text2); }
.btn-logout { font-size: 13px; color: var(--text2); border: 0.5px solid var(--border); padding: 6px 14px; border-radius: 6px; transition: all .15s; }
.btn-logout:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

/* ── DASHBOARD ── */
.dash-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 20px; padding: 24px; max-width: 1200px; margin: 0 auto; }

.card { background: var(--bg2); border: 0.5px solid var(--border); border-radius: 12px; padding: 1.25rem; margin-bottom: 16px; }
.card-title { font-size: 13px; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1rem; }

.bot-status { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; font-size: 15px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text2); transition: all .3s; }
.dot.on { background: var(--green); box-shadow: 0 0 8px var(--green); }

.btn-toggle { width: 100%; height: 40px; border-radius: 8px; border: 0.5px solid var(--border); background: var(--bg3); color: var(--text); font-size: 14px; cursor: pointer; transition: all .15s; }
.btn-toggle.active { background: var(--green); color: #0e0e10; font-weight: 600; border-color: var(--green); }
.btn-toggle:hover { opacity: .85; }

.mod-hint { font-size: 12px; color: var(--text2); margin-top: 12px; line-height: 1.5; }
.mod-hint strong { color: var(--green); }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; color: var(--text2); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; background: var(--bg3); border: 0.5px solid var(--border); border-radius: 8px; padding: 8px 12px; color: var(--text); font-size: 13px; font-family: inherit; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.hint { font-size: 11px; color: var(--text2); margin-bottom: 12px; }

.btn-save { height: 36px; padding: 0 20px; background: var(--green); color: #0e0e10; font-weight: 600; font-size: 13px; border: none; border-radius: 8px; cursor: pointer; transition: background .15s; }
.btn-save:hover { background: var(--green-dark); }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.stat { background: var(--bg2); border: 0.5px solid var(--border); border-radius: 12px; padding: 1rem; text-align: center; }
.stat-n { font-size: 28px; font-weight: 700; color: var(--green); }
.stat-l { font-size: 12px; color: var(--text2); margin-top: 4px; }

.live-card { margin-bottom: 16px; }
.live-feed { min-height: 80px; }
.live-row { font-size: 13px; padding: 6px 0; border-bottom: 0.5px solid var(--border); line-height: 1.5; }
.live-row:last-child { border-bottom: none; }
.live-time { color: var(--text2); font-size: 11px; margin-right: 8px; font-family: monospace; }
.empty-feed { color: var(--text2); font-size: 13px; text-align: center; padding: 1.5rem 0; }

.log-list { max-height: 320px; overflow-y: auto; }
.log-row { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 7px 0; border-bottom: 0.5px solid var(--border); flex-wrap: wrap; }
.log-row:last-child { border-bottom: none; }
.log-gifter { color: var(--green); font-weight: 500; }
.log-arrow { color: var(--text2); }
.log-target { color: var(--red); font-weight: 500; }
.log-dur { background: var(--bg3); padding: 2px 8px; border-radius: 4px; font-size: 11px; color: var(--text2); margin-left: auto; }
.log-date { font-size: 11px; color: var(--text2); }

@media (max-width: 768px) {
  .dash-wrap { grid-template-columns: 1fr; }
  .how { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
}
