:root {
  --bg: #06080f;
  --bg-2: #0a101d;
  --panel: rgba(10, 14, 24, 0.88);
  --panel-2: rgba(14, 18, 28, 0.96);
  --line: rgba(255, 164, 0, 0.12);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f2f2f2;
  --muted: #b8bec9;
  --orange: #f39a08;
  --orange-2: #ce7f00;
  --blue: #48b3ff;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  min-height: 100vh;
  background:
    linear-gradient(rgba(242,154,8,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,154,8,0.08) 1px, transparent 1px),
    radial-gradient(circle at 75% 25%, rgba(242,154,8,.12), transparent 22%),
    linear-gradient(180deg, #04060c 0%, #08101a 100%);
  background-size: 110px 110px, 110px 110px, auto, auto;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.site-backdrop {
  position: fixed; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 78% 32%, rgba(242,154,8,.12), transparent 24%);
}
.container { width: min(1380px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 10, 16, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242,154,8,.14);
}
.topbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand strong { display:block; font-size:1.05rem; font-weight: 800; }
.brand small { display:block; color: var(--muted); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav a { padding: 12px 14px; border-radius: 14px; font-weight: 600; color: #fff; }
.nav a.is-active { color: var(--orange); }
.nav a:hover { background: rgba(255,255,255,.04); }
.mobile-toggle {
  display:none; border:1px solid var(--line-soft); background: transparent; color: white;
  border-radius: 12px; padding: 10px 12px;
}
.btn {
  border: 1px solid transparent;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, #f5a10e 0%, #d88700 100%);
  color: #fff;
  box-shadow: 0 14px 34px rgba(243,154,8,.18);
}
.btn-dark {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
  color: #fff;
}
.btn-danger {
  background: rgba(255, 89, 119, 0.16);
  border-color: rgba(255, 89, 119, 0.26);
  color: #ffd7e0;
}
.btn.small { padding: 10px 14px; border-radius: 14px; }
.btn.large { padding: 18px 34px; font-size: 1.1rem; }
.full { width: 100%; }
.page-shell { padding: 26px 0 40px; }
.hero-section {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 36px;
}
.hero-copy { padding: 24px 8px; }
.promo-pill {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(243,154,8,.25);
  background: rgba(243,154,8,.08);
  color: var(--orange);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 1rem; font-weight: 700;
}
.hero-copy h1 {
  font-size: clamp(3.8rem, 8vw, 6.5rem);
  line-height: .94;
  margin: 34px 0 28px;
  letter-spacing: -0.05em;
}
.hero-copy h1 span {
  background: linear-gradient(90deg, #f2a33a 0%, #b6b9c5 52%, #3ca8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p {
  max-width: 780px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; margin-bottom: 34px;
}
.hero-actions { display:flex; gap:14px; flex-wrap: wrap; }
.hero-art {
  display: flex; justify-content: center; align-items: center; min-height: 520px;
}
.hero-art img {
  width: min(100%, 720px);
  filter: drop-shadow(0 30px 50px rgba(242,154,8,.12));
}
.stats-strip, .admin-stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 8px 0 24px;
}
.admin-stats-grid { grid-template-columns: repeat(4, 1fr); }
.stat-tile {
  background: linear-gradient(180deg, rgba(15, 18, 28, 0.96), rgba(10, 13, 22, 0.96));
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 22px; padding: 22px; box-shadow: var(--shadow);
}
.stat-tile strong { display:block; font-size: 2.1rem; margin-bottom: 8px; }
.stat-tile span { color: var(--muted); }
.grid-two {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px;
}
.lower-grid { margin-bottom: 12px; }
.panel {
  background: linear-gradient(180deg, rgba(10, 13, 22, 0.92), rgba(7, 10, 16, 0.96));
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.glass-panel { position: relative; overflow: hidden; }
.glass-panel::before {
  content: ''; position:absolute; inset:auto auto 0 0; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(243,154,8,.06), transparent 70%); pointer-events:none;
}
.section-head {
  display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom: 18px;
}
.eyebrow {
  color: var(--orange); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 800;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
h2 { font-size: 1.7rem; margin-bottom: 8px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
.lead-text, .content-card p, .footer-panel p, .server-showcase p { color: var(--muted); }
.card-stack { display:grid; gap: 16px; }
.content-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  padding: 18px;
}
.content-meta {
  display:flex; align-items:center; justify-content:space-between; gap:10px; color: var(--muted); font-size: .92rem; margin-bottom: 10px;
}
.badge-live {
  display:inline-flex; align-items:center; justify-content:center; padding: 8px 12px; border-radius: 999px;
  background: rgba(243,154,8,.12); border: 1px solid rgba(243,154,8,.25); color: #ffb53e; font-weight: 700; font-size: .85rem;
}
.discord-box iframe, .embed-wrap iframe, .embed-wrap > * { width:100%; max-width:100%; border-radius: 18px; }
.server-panel-home { margin-top: 22px; }
.server-grid {
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.server-tile, .server-showcase {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 22px;
  padding: 18px;
}
.server-tile-top, .server-showcase-head {
  display:flex; align-items:flex-start; justify-content:space-between; gap: 14px;
}
.server-tile small { color: var(--muted); }
.server-tile ul {
  list-style:none; padding:0; margin:16px 0 0; display:grid; gap:12px;
}
.server-tile li, .server-showcase-grid div {
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05); border-radius: 16px; padding: 14px;
}
.server-tile li span, .server-showcase-grid span { display:block; color: var(--muted); margin-bottom: 6px; font-size: .92rem; }
.server-list-page { display:grid; gap: 20px; }
.server-showcase-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin: 18px 0; }
.embed-panel { margin-top: 18px; }
.content-block {
  background: rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07); border-radius: 18px; padding: 18px;
}
.rich-text, .rich-html { line-height: 1.8; }
.footer-panel {
  margin-top: 26px; padding: 22px 24px; display:flex; justify-content:space-between; align-items:center; gap:16px;
  background: linear-gradient(180deg, rgba(10, 13, 22, 0.95), rgba(7, 10, 16, 0.98));
  border: 1px solid rgba(255,255,255,.07); border-radius: 24px;
}
.footer-actions { display:flex; gap: 12px; flex-wrap:wrap; }
.alert {
  border-radius: 18px; padding: 14px 16px; margin-bottom: 18px; border:1px solid rgba(255,255,255,.08);
}
.alert-success { background: rgba(62, 176, 106, .14); color:#d6f3de; }
.alert-error { background: rgba(255, 89, 119, .14); color:#ffd4de; }
input, textarea, select {
  width:100%; border-radius: 16px; border:1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); color:white;
  padding: 13px 15px;
}
textarea { resize: vertical; }
label { display:block; color: var(--muted); margin-bottom: 8px; }
.form-grid { display:grid; gap:16px; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
.form-grid.one-col { grid-template-columns: 1fr; }
.full-span { grid-column: 1 / -1; }
.checkbox-inline { display:flex; gap:10px; align-items:center; color:white; }
.checkbox-inline input { width:auto; }
.admin-body {
  background:
    linear-gradient(rgba(242,154,8,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,154,8,0.05) 1px, transparent 1px),
    linear-gradient(180deg, #04060c 0%, #08101a 100%);
  background-size: 80px 80px, 80px 80px, auto;
}
.login-screen { display:grid; place-items:center; min-height:100vh; }
.login-panel { width:min(540px, calc(100% - 30px)); }
.login-brand { margin-bottom: 22px; }
.login-brand img, .admin-brand img { width: 60px; height: 60px; object-fit: contain; }
.centered, .center { text-align:center; justify-content:center; }
.admin-layout { display:grid; grid-template-columns: 300px 1fr; min-height:100vh; }
.admin-sidebar {
  position: sticky; top:0; height:100vh; padding: 24px; border-right: 1px solid rgba(255,255,255,.07);
  background: rgba(7, 10, 16, 0.95);
}
.admin-brand { display:flex; gap:12px; align-items:center; margin-bottom: 26px; }
.admin-brand small { display:block; color: var(--muted); margin-top: 3px; }
.admin-nav { display:grid; gap: 8px; }
.admin-nav a {
  padding: 12px 14px; border-radius: 14px; color: var(--muted); font-weight: 600;
}
.admin-nav a:hover, .admin-nav a.is-active { background: rgba(255,255,255,.05); color: white; }
.admin-main { padding: 26px; }
.compact-list .compact-row { display:flex; justify-content:space-between; align-items:center; gap: 14px; }
.admin-list-item { display:flex; justify-content:space-between; align-items:flex-start; gap: 16px; }
.admin-form-layout { align-items: start; }
@media (max-width: 1120px) {
  .hero-section, .grid-two, .server-grid, .admin-layout, .admin-stats-grid, .stats-strip { grid-template-columns: 1fr; }
  .hero-section { min-height: auto; }
  .hero-art { min-height: auto; }
  .admin-sidebar { position: relative; height: auto; }
}
@media (max-width: 860px) {
  .mobile-toggle { display:inline-flex; }
  .nav {
    position:absolute; left:16px; right:16px; top: calc(100% + 10px); display:none; flex-direction:column; align-items:stretch;
    background: rgba(7,10,16,.98); border:1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 12px;
  }
  .nav.open { display:flex; }
  .topbar-inner { min-height: 70px; }
  .hero-copy h1 { font-size: clamp(3rem, 12vw, 4.6rem); }
  .server-showcase-grid, .form-grid.two { grid-template-columns: 1fr; }
  .section-head, .footer-panel, .admin-list-item, .compact-list .compact-row, .server-showcase-head, .server-tile-top { flex-direction: column; align-items: flex-start; }
}


.button{border:1px solid transparent;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;font-weight:700;cursor:pointer;background:rgba(255,255,255,.04);color:#fff;}
.button.primary{background:linear-gradient(180deg,#f5a10e 0%, #d88700 100%);color:#fff;box-shadow:0 14px 34px rgba(243,154,8,.18);}
.button.ghost{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.08);color:#fff;}
.button.danger{background:rgba(255,89,119,.16);border-color:rgba(255,89,119,.26);color:#ffd7e0;}
.button.small{padding:10px 14px;border-radius:14px;}
.button.full{width:100%;}
.list-row{display:flex;justify-content:space-between;gap:14px;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.07);}
.list-row:last-child{border-bottom:0;}
.list-row.stacked{align-items:flex-start;}
.actions{display:flex;gap:12px;flex-wrap:wrap;}
.admin-two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px;}
@media (max-width:1120px){.admin-two-col{grid-template-columns:1fr;}}
