:root {
  --bg: #000000;
  --bg-panel: #0a060a;
  --border: #ffc7f426;
  --border-strong: #ffc7f440;
  --accent: #ffc7f4;
  --accent-dark: #ff8fe0;
  --text: #ffc7f4;
  --text-body: #e8c9de;
  --text-faint: #cf93bf;
  --text-mute: #a0708f;
  --text-dim: #b98cae;
  --text-off: #7a5b70;
  --error: #ff6b6b;
  --font: 'Barlow Condensed', sans-serif;
  --font-heading: 'Genos', sans-serif;
  --sa-outline-1: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  --sa-outline-2: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
  --sa-outline-3: -3px -3px 0 #000, 3px -3px 0 #000, -3px 3px 0 #000, 3px 3px 0 #000, 0 -3px 0 #000, 0 3px 0 #000, -3px 0 0 #000, 3px 0 0 #000;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #ffe6fb; }
::selection { background: var(--accent-dark); color: #000; }
img, svg { display: block; }
input, textarea, button, select { font-family: var(--font); }
input::placeholder, textarea::placeholder { color: var(--text-off); }

.wrap { max-width: 1360px; margin: 0 auto; padding: 0 64px; }
.btn { display: inline-block; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 19px; padding: 16px 32px; border-radius: 2px; border: none; cursor: pointer; }
.btn-solid { background: var(--accent); color: #000; }
.btn-outline { border: 1px solid var(--border-strong); color: var(--accent); background: transparent; font-weight: 600; }
.btn-discord { background: #5865F2; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn-discord:hover { background: #4752c4; }
.or-divider { display: flex; align-items: center; gap: 16px; margin: 22px 0; color: var(--text-off); font-size: 15px; text-transform: uppercase; letter-spacing: 1px; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.eyebrow { color: var(--accent-dark); font-size: 17px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.heading { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; color: var(--accent); margin: 0; }

/* NAV */
header.site-nav { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(0,0,0,0.92); backdrop-filter: blur(6px); z-index: 20; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 22px 64px; }
.wordmark { display: inline-flex; align-items: center; }
.wordmark img { height: 48px; width: auto; display: block; }
.nav-links { display: flex; gap: 40px; font-size: 19px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-faint); }
.nav-connect { background: var(--accent); color: #000; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 17px; padding: 12px 24px; border-radius: 2px; }

/* SHARED FORM FIELD */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 16px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-faint); }
.field input, .field textarea { background: var(--bg-panel); border: 1px solid var(--border-strong); border-radius: 2px; color: var(--accent); font-size: 18px; padding: 12px 14px; width: 100%; resize: none; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent-dark); outline-offset: 1px; }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-mark { font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--text-off); }
.footer-mark span { color: var(--accent-dark); }
.footer-note { font-size: 17px; color: var(--text-off); }
.footer-links { display: flex; gap: 24px; font-size: 17px; }
.footer-links a { color: var(--text-dim); }

/* ALERTS */
.alert { font-size: 17px; padding: 14px 18px; border-radius: 2px; margin-bottom: 24px; border: 1px solid; }
.alert-success { background: rgba(95,212,130,0.1); border-color: rgba(95,212,130,0.4); color: #5fd482; }
.alert-error { background: rgba(255,107,107,0.1); border-color: rgba(255,107,107,0.4); color: var(--error); }

/* STATUS BADGES */
.badge-status { display: inline-block; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; padding: 4px 12px; border-radius: 2px; border: 1px solid; }
.badge-pending { color: #e8c25a; border-color: rgba(232,194,90,0.4); background: rgba(232,194,90,0.08); }
.badge-accepted, .badge-approved { color: #5fd482; border-color: rgba(95,212,130,0.4); background: rgba(95,212,130,0.08); }
.badge-denied, .badge-rejected { color: var(--error); border-color: rgba(255,107,107,0.4); background: rgba(255,107,107,0.08); }
.badge-revoked { color: #e8862f; border-color: rgba(232,134,47,0.4); background: rgba(232,134,47,0.08); }

/* CARDS / PANELS (shared by auth + account + staff pages) */
.panel-main { min-height: calc(100vh - 78px); padding: 60px 24px; position: relative; overflow: hidden; }
.panel-main::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 900px 500px at 50% -10%, rgba(255,143,224,0.18), transparent 60%), linear-gradient(180deg, #0a060a 0%, #000 70%);
  z-index: 0; }
.panel-wrap { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.panel-wrap.wide { max-width: 960px; }
.panel-card { background: #050205; border: 1px solid var(--border-strong); border-radius: 4px; padding: 44px 40px; }
.panel-head h1 { font-size: 36px; margin: 0 0 8px; text-shadow: var(--sa-outline-2); }
.panel-head p { font-size: 18px; color: var(--text-dim); margin: 0 0 28px; }

/* STAFF TABLES */
.staff-table-wrap { overflow-x: auto; }
table.staff-table { width: 100%; border-collapse: collapse; font-size: 17px; }
table.staff-table th, table.staff-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.staff-table th { text-transform: uppercase; letter-spacing: 1px; font-size: 15px; color: var(--text-faint); font-weight: 600; }
table.staff-table td { color: var(--text-body); }
.btn-sm { font-size: 15px; padding: 8px 16px; }
.btn-danger { background: transparent; border: 1px solid rgba(255,107,107,0.5); color: var(--error); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 8px 16px; border-radius: 2px; cursor: pointer; font-size: 15px; }
.inline-form { display: inline-block; margin-right: 8px; }
.thumb-preview { width: 96px; height: 72px; object-fit: cover; border-radius: 2px; border: 1px solid var(--border-strong); }

/* SCREENSHOT GALLERY (dynamic) */
.shot-real { position: relative; aspect-ratio: 4/5; border-radius: 2px; overflow: hidden; border: 1px solid var(--border-strong); }
.shot-real img { width: 100%; height: 100%; object-fit: cover; }
.shot-real .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent); font-size: 15px; color: var(--text); }

@media (max-width: 900px) {
  .wrap, .nav-inner { padding-left: 24px; padding-right: 24px; }
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .panel-card { padding: 32px 24px; }
}
