/* MTStudio: gunmetal base, electric blue lead, green accent (from the HypJo & Scarface badge) */
:root {
  --bg: #070b12;
  --bg-2: #0a0f17;
  --panel: #0e1520;
  --panel-2: #121b29;
  --panel-3: #182335;
  --line: rgba(76, 166, 255, 0.16);
  --line-strong: rgba(76, 166, 255, 0.34);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #e8f0fa;
  --muted: #9fb0c6;
  --dim: #6c7d94;
  --steel: #c9d3de;

  --blue: #2e9bff;
  --blue-hi: #62c4ff;
  --blue-lo: #1462c8;
  --blue-glow: rgba(46, 155, 255, 0.45);
  --green: #3ddc7a;
  --green-lo: #1e9a52;
  --green-glow: rgba(61, 220, 122, 0.35);
  --discord: #5865f2;
  --danger: #ff5d6c;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.85);
  --f-display: 'Russo One', 'Oxanium', 'Segoe UI', sans-serif;
  --f-ui: 'Oxanium', 'Segoe UI', sans-serif;
  --f-body: 'Barlow', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  overflow-x: hidden;
}
main { flex: 1; position: relative; z-index: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-hi); text-decoration: none; }
a:hover { color: #fff; }
code, .mono { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 0.88em; }
code { background: rgba(46, 155, 255, 0.1); border: 1px solid var(--line); border-radius: 6px; padding: 0.05em 0.4em; color: var(--blue-hi); white-space: nowrap; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: 0.01em; }
h1, h2 { font-family: var(--f-display); font-weight: 400; }
h3 { font-family: var(--f-ui); font-weight: 700; font-size: 1.2rem; }
p { margin: 0; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* backdrop: carbon grid + blue/green light */
.bg-fx {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% 8%, rgba(46, 155, 255, 0.16), transparent 60%),
    radial-gradient(700px 500px at 8% 90%, rgba(61, 220, 122, 0.07), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, var(--bg-2), var(--bg) 70%);
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--panel-3);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 10px;
  background: var(--btn-bg); color: #fff;
  font: 600 1rem/1 var(--f-ui); letter-spacing: 0.03em;
  cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); color: #fff; }
.btn-primary { background: linear-gradient(180deg, var(--blue), var(--blue-lo)); box-shadow: 0 10px 30px -10px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn-primary:hover { box-shadow: 0 14px 36px -10px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-discord { background: linear-gradient(180deg, #3b8cff, var(--blue-lo)); box-shadow: 0 10px 30px -10px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn-discord:hover { box-shadow: 0 14px 36px -8px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue-hi); background: rgba(46, 155, 255, 0.08); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 11, 18, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand img { width: 44px; height: auto; filter: drop-shadow(0 0 10px rgba(46, 155, 255, 0.35)); }
.brand-name { font: 400 1.35rem/1 var(--f-display); letter-spacing: 0.04em; }
.brand-name span { color: var(--blue-hi); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font: 600 0.95rem/1 var(--f-ui); letter-spacing: 0.03em; }
.nav a:hover, .nav a[aria-current] { color: #fff; background: rgba(46, 155, 255, 0.08); }
.auth-slot { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.user-chip {
  display: flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--panel);
  color: var(--text); font: 600 0.92rem/1 var(--f-ui);
}
.user-chip img { width: 32px; height: 32px; border-radius: 50%; }
.user-chip:hover { border-color: var(--blue); color: #fff; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(14, 21, 32, 0.7);
  color: var(--steel); font: 600 0.82rem/1 var(--f-ui); letter-spacing: 0.08em; text-transform: uppercase;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero h1 { margin-top: 22px; font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.hl { color: var(--blue-hi); text-shadow: 0 0 28px rgba(46, 155, 255, 0.45); }
.lead { margin-top: 20px; max-width: 34em; color: var(--muted); font-size: 1.15rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--steel); font: 500 0.95rem/1.3 var(--f-ui); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--green); }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-art img { position: relative; width: min(100%, 520px); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.7)); animation: float 7s ease-in-out infinite; }
.halo {
  position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 155, 255, 0.32), rgba(46, 155, 255, 0.08) 45%, transparent 68%);
  filter: blur(10px);
}
.halo::after {
  content: ''; position: absolute; inset: 6%; border-radius: 50%;
  border: 1px solid rgba(98, 196, 255, 0.22);
  box-shadow: 0 0 40px rgba(46, 155, 255, 0.15) inset;
}
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2, .soon h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 8px; }
.section-head p:last-child { margin-top: 14px; color: var(--muted); }
.kicker { color: var(--green); font: 700 0.82rem/1 var(--f-ui); letter-spacing: 0.16em; text-transform: uppercase; }

.panel, .tier, .step, .soon {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* tiers */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tier { padding: 30px; overflow: hidden; }
.tier::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; }
.tier-free::before { background: linear-gradient(90deg, var(--green), transparent); }
.tier-pro { border-color: var(--line-strong); }
.tier-pro::before { background: linear-gradient(90deg, var(--blue-hi), var(--blue), transparent); }
.tier-pro::after { content: ''; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(46, 155, 255, 0.18), transparent 70%); pointer-events: none; }
.tier-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tier-icon { width: 30px; height: 30px; color: var(--dim); }
.tier-pro .tier-icon { color: var(--blue-hi); }
.tier h3 { font-size: 1.45rem; }
.tier-sub { margin-top: 6px; color: var(--muted); }
.tag { display: inline-block; padding: 5px 12px; border-radius: 6px; font: 700 0.78rem/1 var(--f-ui); letter-spacing: 0.12em; text-transform: uppercase; }
.tag-green { color: var(--green); background: rgba(61, 220, 122, 0.1); border: 1px solid rgba(61, 220, 122, 0.3); }
.tag-blue { color: var(--blue-hi); background: rgba(46, 155, 255, 0.12); border: 1px solid var(--line-strong); }
.ticks { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.28em; width: 18px; height: 18px; border-radius: 5px;
  background: rgba(61, 220, 122, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%233ddc7a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tier-pro .ticks li::before {
  background: rgba(46, 155, 255, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2362c4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.step { padding: 28px; }
.step-icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; color: var(--blue-hi); background: rgba(46, 155, 255, 0.12); border: 1px solid var(--line); }
.step-num { position: absolute; top: 22px; right: 24px; font: 400 2.4rem/1 var(--f-display); color: rgba(98, 196, 255, 0.12); }
.step h3 { margin-top: 18px; }
.step p { margin-top: 8px; color: var(--muted); }

/* coming soon */
.soon { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px; border-color: var(--line); overflow: hidden; }
.soon::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(46, 155, 255, 0.12), transparent 55%, rgba(61, 220, 122, 0.08)); pointer-events: none; }
.soon-copy { position: relative; max-width: 620px; }
.soon-copy p:last-child { margin-top: 12px; color: var(--muted); }
.soon .btn { position: relative; flex: none; }

/* ---------- dashboard ---------- */
.dash { padding-top: 48px; }
.dash-head { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }
.dash-avatar { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--blue); box-shadow: 0 0 22px var(--blue-glow); background: var(--panel-3); }
.dash-head h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 6px; }
.dash-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.panel { padding: 24px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel-head h2 { font: 700 1.15rem/1 var(--f-ui); letter-spacing: 0.04em; }
.empty { display: grid; justify-items: start; gap: 12px; padding: 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); background: rgba(46, 155, 255, 0.04); }
.empty svg { width: 34px; height: 34px; color: var(--blue-hi); }
.empty h3 { font-size: 1.1rem; }
.empty p { color: var(--muted); }
.licenses { display: grid; gap: 14px; }
.license { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.license-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.license-servers { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.status { font: 700 0.75rem/1 var(--f-ui); letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.status-active { color: var(--green); background: rgba(61, 220, 122, 0.1); }
.status-suspended, .status-revoked { color: var(--danger); background: rgba(255, 93, 108, 0.1); }
.facts { margin: 0 0 20px; display: grid; gap: 14px; }
.facts div { display: grid; gap: 2px; }
.facts dt { color: var(--dim); font: 600 0.78rem/1.2 var(--f-ui); letter-spacing: 0.1em; text-transform: uppercase; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.badge-staff { color: var(--blue-hi); font-weight: 600; }

/* ---------- 404 ---------- */
.notfound { padding: 120px 0; text-align: center; }
.notfound .wrap { display: grid; justify-items: center; gap: 14px; }
.notfound h1 { font-size: clamp(2rem, 4vw, 3rem); }
.notfound .btn { margin-top: 12px; }

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 1; margin-top: 40px; border-top: 1px solid var(--line-soft); background: rgba(7, 11, 18, 0.85); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; }
.footer-brand strong { font: 400 1.1rem/1 var(--f-display); letter-spacing: 0.04em; }
.footer-brand p { color: var(--dim); font-size: 0.92rem; margin-top: 4px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font: 600 0.92rem/1 var(--f-ui); }
.footer-links a:hover { color: #fff; }
.footer-legal { padding-bottom: 28px; }
.footer-legal p { color: var(--dim); font-size: 0.82rem; }

/* ---------- toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 20px);
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 10px;
  background: var(--panel-3); border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  font: 600 0.95rem/1.4 var(--f-ui); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.error { border-color: rgba(255, 93, 108, 0.5); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { order: -1; }
  .hero-art img { width: min(78vw, 400px); }
  .steps { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .tiers { grid-template-columns: 1fr; }
  .soon { flex-direction: column; align-items: flex-start; padding: 28px; }
  .section { padding: 52px 0; }
  .brand-name { font-size: 1.2rem; }
  .cta-row .btn { flex: 1 1 100%; }
  .user-chip span { display: none; }
  .user-chip { padding-right: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art img { animation: none; }
  .btn { transition: none; }
}
