:root {
  --bg: #050505;
  --panel: #0d0d0d;
  --panel-2: #111111;
  --text: #f5f5f5;
  --muted: #9b9b9b;
  --line: #262626;
  --soft: #171717;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(0,0,0,.28);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 40; backdrop-filter: blur(16px);
  background: rgba(5,5,5,.86); border-bottom: 1px solid var(--line);
}
.nav-inner { height: 72px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:-.02em; }
.logo { width:34px; height:34px; border:1px solid #404040; border-radius:10px; display:grid; place-items:center; background:#0b0b0b; }
.logo::before { content:""; width:12px; height:12px; border-radius:50%; background:#fff; box-shadow: 5px -2px 0 #0b0b0b; }
.nav-links { display:flex; gap:22px; color:#b7b7b7; font-size:14px; }
.nav-links a:hover { color:#fff; }
.actions { display:flex; gap:10px; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 17px; border:1px solid var(--line); border-radius:12px; background:var(--soft); color:#fff; cursor:pointer; transition:.18s ease; }
.btn:hover { transform: translateY(-1px); border-color:#444; background:#1b1b1b; }
.btn.primary { background:#fff; color:#050505; border-color:#fff; font-weight:700; }
.btn.primary:hover { background:#eaeaea; }
.btn.ghost { background:transparent; }
.hero { padding:100px 0 72px; }
.hero-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap:60px; align-items:center; }
.kicker { display:inline-flex; align-items:center; gap:8px; padding:7px 10px; border:1px solid var(--line); border-radius:999px; color:#bcbcbc; font-size:12px; }
.kicker span { width:7px; height:7px; border-radius:50%; background:#fff; }
h1 { font-size:clamp(46px, 7vw, 82px); line-height:.95; letter-spacing:-.065em; margin:18px 0 24px; }
.hero p { max-width:700px; font-size:18px; color:var(--muted); }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.mock { border:1px solid var(--line); background:linear-gradient(180deg,#0c0c0c,#080808); border-radius:24px; padding:18px; box-shadow:var(--shadow); }
.window { border:1px solid var(--line); border-radius:16px; overflow:hidden; background:#090909; }
.window-top { display:flex; align-items:center; gap:6px; padding:12px 14px; border-bottom:1px solid var(--line); }
.dot { width:7px; height:7px; border-radius:50%; background:#3a3a3a; }
.window-body { display:grid; grid-template-columns: 150px 1fr; min-height:330px; }
.window-side { border-right:1px solid var(--line); padding:14px; }
.window-side div { padding:9px 10px; border-radius:9px; color:#8f8f8f; font-size:12px; margin-bottom:5px; }
.window-side div.active { background:#181818; color:#fff; }
.window-main { padding:22px; }
.ticket { border:1px solid var(--line); border-radius:14px; padding:18px; background:#0d0d0d; }
.ticket-head { display:flex; justify-content:space-between; gap:15px; align-items:flex-start; }
.ticket-title { font-weight:800; }
.ticket-badge { font-size:11px; border:1px solid #333; padding:5px 8px; border-radius:999px; color:#aaa; }
.section { padding:72px 0; border-top:1px solid var(--line); }
.section-head { display:flex; justify-content:space-between; gap:30px; align-items:end; margin-bottom:28px; }
.section-head h2 { margin:0; font-size:clamp(28px,4vw,44px); letter-spacing:-.045em; }
.section-head p { margin:0; max-width:560px; color:var(--muted); }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.card { background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:22px; }
.card h3 { margin:0 0 8px; }
.card p { margin:0; color:var(--muted); }
.icon-box { width:38px; height:38px; display:grid; place-items:center; border:1px solid var(--line); border-radius:11px; margin-bottom:16px; }
.list { display:grid; gap:10px; }
.list-row { display:flex; justify-content:space-between; gap:20px; padding:12px 0; border-bottom:1px solid var(--line); color:#cfcfcf; }
.list-row:last-child { border-bottom:0; }
.footer { border-top:1px solid var(--line); padding:34px 0 50px; color:#8f8f8f; }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.page { padding:64px 0; }
.page h1 { font-size:56px; }
.prose { max-width:860px; color:#d1d1d1; }
.prose h2 { margin-top:36px; }
.prose p, .prose li { color:#aaa; }
.prose code { padding:2px 6px; border:1px solid var(--line); border-radius:7px; background:#111; }
.dashboard-shell { display:grid; grid-template-columns:240px 1fr; min-height:100vh; }
.sidebar { position:sticky; top:0; height:100vh; border-right:1px solid var(--line); background:#070707; padding:18px 14px; display:flex; flex-direction:column; }
.side-group { margin-top:25px; }
.side-label { font-size:10px; color:#707070; text-transform:uppercase; letter-spacing:.14em; padding:0 10px 8px; }
.side-link { display:flex; gap:10px; align-items:center; padding:10px; border-radius:10px; color:#9b9b9b; font-size:13px; cursor:pointer; }
.side-link:hover, .side-link.active { background:#151515; color:#fff; }
.sidebar-bottom { margin-top:auto; }
.dashboard-main { min-width:0; }
.dash-top { height:72px; display:flex; align-items:center; justify-content:space-between; padding:0 30px; border-bottom:1px solid var(--line); background:rgba(5,5,5,.9); position:sticky; top:0; z-index:20; backdrop-filter: blur(16px); }
.dash-title { font-weight:800; }
.dash-content { padding:30px; }
.stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.stat .value { font-size:31px; font-weight:800; letter-spacing:-.04em; margin-top:8px; }
.small { font-size:12px; color:#777; }
.table { width:100%; border-collapse:collapse; }
.table th,.table td { padding:13px 10px; border-bottom:1px solid var(--line); text-align:left; font-size:13px; }
.table th { color:#777; font-weight:600; }
.form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.field { display:grid; gap:7px; }
.field.full { grid-column:1/-1; }
.field label { font-size:12px; color:#aaa; }
.field input, .field textarea, .field select { width:100%; background:#0a0a0a; border:1px solid var(--line); color:#fff; padding:11px 12px; border-radius:10px; outline:none; }
.field textarea { min-height:150px; resize:vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color:#4a4a4a; }
.split { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.preview { border:1px solid var(--line); border-radius:18px; padding:20px; background:#080808; min-height:260px; }
.embed-preview { border-left:3px solid #fff; background:#0e0e0e; border:1px solid var(--line); padding:18px; border-radius:12px; }
.toast { position:fixed; right:20px; bottom:20px; max-width:320px; border:1px solid var(--line); background:#111; padding:13px 15px; border-radius:12px; box-shadow:var(--shadow); display:none; z-index:100; }
.mobile-menu { display:none; }
@media (max-width: 980px) {
  .nav-links { display:none; }
  .hero-grid, .grid-3, .stat-grid { grid-template-columns:1fr; }
  .grid-2, .form-grid, .split { grid-template-columns:1fr; }
  .dashboard-shell { grid-template-columns:1fr; }
  .sidebar { position:fixed; left:-260px; width:240px; z-index:80; transition:.2s ease; }
  .sidebar.open { left:0; }
  .mobile-menu { display:inline-flex; }
  .dash-top { padding:0 18px; }
  .dash-content { padding:18px; }
  .window-body { grid-template-columns:1fr; }
  .window-side { display:none; }
}


.server-select{min-width:220px;max-width:320px;border:1px solid #d9d9d9;background:#fff;color:#111;border-radius:10px;padding:9px 12px;font:inherit;outline:none}.server-select:focus{border-color:#888}.guild-cell{display:flex;align-items:center;gap:10px}.guild-icon{width:34px;height:34px;border-radius:10px;object-fit:cover;background:#eee}.status-dot{display:inline-flex;align-items:center;gap:7px}.status-dot:before{content:"";width:7px;height:7px;border-radius:50%;background:#111}.small{line-height:1.45}
