/* ============================================================
   Division Roleplay — COMPLETE STYLESHEET
   Design: Dark tactical / cinematic. Sharp, confident, real.
   NOT generic AI blue gradients. Think NYPD tactical board,
   crime thriller UI, mission briefing aesthetic.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

:root {
  /* Core palette — near-black with warm tint, not cold blue */
  --bg:          #0c0c0e;
  --bg-1:        #111114;
  --bg-2:        #18181d;
  --bg-3:        #1e1e25;
  --border:      rgba(255,255,255,0.07);
  --border-hot:  rgba(255,255,255,0.15);

  /* Accent — electric blue, used sparingly */
  --blue:        #2563eb;
  --blue-hi:     #3b82f6;
  --blue-glow:   rgba(59,130,246,0.25);
  --blue-dim:    rgba(59,130,246,0.12);

  /* Text */
  --text:        #e8e8ec;
  --text-2:      #8b8b99;
  --text-3:      #4a4a58;
  --white:       #ffffff;

  /* Status */
  --green:       #22c55e;
  --green-bg:    rgba(34,197,94,0.1);
  --green-border:rgba(34,197,94,0.25);
  --red:         #ef4444;
  --red-bg:      rgba(239,68,68,0.1);
  --red-border:  rgba(239,68,68,0.25);
  --amber:       #f59e0b;
  --amber-bg:    rgba(245,158,11,0.1);
  --amber-border:rgba(245,158,11,0.25);

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Layout */
  --nav-h: 60px;
  --radius: 6px;
  --radius-lg: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 15px;
}

/* ── NOISE TEXTURE OVERLAY ─────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

/* ── NAVIGATION ────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(12,12,14,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand img {
  width: 32px; height: 32px;
  object-fit: contain;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: 0.07em;
  line-height: 1;
  color: var(--white);
}

.nav-brand-name span { color: var(--blue-hi); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--blue-hi); }

.nav-divider {
  width: 1px; height: 16px;
  background: var(--border);
  margin: 0 6px;
}

/* Discord button */
.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  background: #5865F2;
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-discord:hover { background: #4752c4; transform: translateY(-1px); }
.btn-discord svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all 0.25s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.15s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--white); background: rgba(255,255,255,0.05); }

/* ── NAV USER DROPDOWN ─────────────────────────────────────── */
.nav-user-dropdown { position: relative; }

.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}
.nav-user:hover { border-color: var(--border-hot); background: var(--bg-3); }
.nav-user img { width: 28px; height: 28px; border-radius: 50%; }
.nav-user-name { font-size: 0.8rem; font-weight: 500; color: var(--text); }

.nav-user-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 5px;
  min-width: 185px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  z-index: 200;
}
/* Invisible hover bridge */
.nav-user-menu::before {
  content: '';
  position: absolute;
  bottom: 100%; left: 0; right: 0;
  height: 8px;
}

.nav-user-dropdown:hover .nav-user-menu { display: block; }

.nav-user-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.12s, color 0.12s;
}
.nav-user-menu a:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.nav-user-menu a svg { opacity: 0.6; flex-shrink: 0; }
.menu-divider { height: 1px; background: var(--border); margin: 4px 0; }
.logout-link { color: var(--red) !important; }
.logout-link:hover { background: var(--red-bg) !important; color: var(--red) !important; }

/* ── MAIN ──────────────────────────────────────────────────── */
main { padding-top: var(--nav-h); }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-slide.active { opacity: 1; }

/* Heavy cinematic overlay */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(12,12,14,0.5) 0%, rgba(12,12,14,0.2) 40%, rgba(12,12,14,0.95) 100%),
    linear-gradient(to right, rgba(12,12,14,0.4) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 0 2.5rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* Thin top line accent */
.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-hi);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--blue-hi);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 11vw, 9rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-title .accent {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue-hi);
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  font-weight: 300;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── STATS BAR ─────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 1.5rem;
}
.stats-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 6px;
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover {
  background: var(--blue-hi);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--blue-glow);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hot);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.btn-outline:hover {
  border-color: var(--blue-hi);
  color: var(--white);
  background: var(--blue-dim);
}

/* ── SECTIONS ──────────────────────────────────────────────── */
.section { padding: 5rem 1.5rem; position: relative; z-index: 1; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { margin-bottom: 3.5rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-hi);
  margin-bottom: 0.75rem;
}
.section-label::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--blue-hi);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.section-title span { color: var(--blue-hi); }

.section-desc {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 560px;
}

/* ── FEATURE CARDS ─────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
}

.card {
  background: var(--bg-1);
  padding: 2rem;
  transition: background 0.2s;
}
.card:hover { background: var(--bg-2); }

.card-icon {
  width: 36px; height: 36px;
  color: var(--blue-hi);
  margin-bottom: 1.25rem;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.card-text { color: var(--text-2); font-size: 0.88rem; line-height: 1.7; }

/* ── CTA SECTION ───────────────────────────────────────────── */
.cta-section {
  padding: 5rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-section .section-desc {
  max-width: 520px;
}

/* ── FOOTER ────────────────────────────────────────────────── */
footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  position: relative;
  z-index: 1;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-brand img { width: 28px; height: 28px; object-fit: contain; }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--white);
}
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.75rem; color: var(--text-3); }

/* ── PAGE HERO (inner pages) ───────────────────────────────── */
.page-hero {
  padding: 7rem 1.5rem 5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, var(--bg) 10%, transparent 60%),
              linear-gradient(to right, var(--bg) 40%, transparent 70%);
  z-index: 1;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg .ph-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.page-hero-bg .ph-slide.active { opacity: 0.35; }
.page-hero-content { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; }

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.page-hero-title span { color: var(--blue-hi); }
.page-hero-desc { color: var(--text-2); font-size: 0.95rem; max-width: 500px; line-height: 1.7; }

/* ── LOGIN MODAL ───────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: color 0.15s;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
}
.modal-close:hover { color: var(--white); background: rgba(255,255,255,0.06); }

.modal-logo {
  width: 52px; height: 52px;
  margin: 0 auto 1.25rem;
  background: rgba(88,101,242,0.15);
  border: 1px solid rgba(88,101,242,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.modal-desc {
  color: var(--text-2);
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* ── FORMS ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 0.4rem;
}

.form-input, .form-textarea, select.form-input {
  width: 100%;
  padding: 10px 13px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: border-color 0.15s;
  outline: none;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--blue-hi); }
.form-textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
select.form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b8b99' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
select.form-input option { background: var(--bg-2); color: var(--text); }

/* ── ANSØGNING PAGE ────────────────────────────────────────── */
.ansoeg-form {
  display: none;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 680px;
  margin: 0 auto;
}
.ansoeg-form.visible { display: block; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-group { margin-bottom: 2.5rem; }
.faq-group-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue-hi);
}
.faq-group-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.faq-item {
  border-bottom: 1px solid var(--border);
  background: none;
  overflow: hidden;
}

.faq-q {
  padding: 1rem 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-2);
  transition: color 0.15s;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}
.faq-q:hover { color: var(--white); }
.faq-item.open .faq-q { color: var(--white); }

.faq-arrow {
  width: 14px; height: 14px;
  flex-shrink: 0;
  transition: transform 0.3s;
  opacity: 0.5;
  color: var(--text);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); opacity: 1; color: var(--blue-hi); }

.faq-a {
  display: none;
  padding: 0 0 1rem;
  color: var(--text-2);
  font-size: 0.87rem;
  line-height: 1.75;
}
.faq-item.open .faq-a { display: block; }

/* ── RULES ─────────────────────────────────────────────────── */
.rule-section {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.rule-section-header {
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
}
.rule-section-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-hi);
}
.rule-list { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 8px; }
.rule-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.87rem;
  color: var(--text-2);
  line-height: 1.65;
}
.rule-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-3);
  width: 24px;
  padding-top: 1px;
}

/* ── SERVERPACK ────────────────────────────────────────────── */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.pack-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.pack-card:hover { border-color: var(--border-hot); transform: translateY(-3px); }
.pack-card.featured { border-color: rgba(59,130,246,0.35); }
.pack-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--blue-dim);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-hi);
  margin-bottom: 1rem;
}
.pack-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.pack-desc { color: var(--text-2); font-size: 0.85rem; line-height: 1.65; margin-bottom: 1.75rem; }

/* ── PROSE (policy/terms) ──────────────────────────────────── */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.prose h3 { font-size: 0.92rem; font-weight: 600; color: var(--text); margin: 1.5rem 0 0.6rem; }
.prose p { color: var(--text-2); font-size: 0.88rem; line-height: 1.8; margin-bottom: 0.9rem; }
.prose ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { color: var(--text-2); font-size: 0.88rem; line-height: 1.7; margin-bottom: 0.35rem; }

/* ── ABOUT ─────────────────────────────────────────────────── */
.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
}
.about-feat {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-1);
  transition: background 0.15s;
}
.about-feat:hover { background: var(--bg-2); }
.about-feat-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  color: var(--blue-hi);
  margin-top: 2px;
}
.about-feat-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}
.about-feat-text { color: var(--text-2); font-size: 0.82rem; line-height: 1.6; }

/* ── SEPARATOR ─────────────────────────────────────────────── */
.sep { height: 1px; background: var(--border); max-width: 1100px; margin: 0 auto; }

/* ── STATUS BADGES ─────────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-afventer { background: var(--amber-bg); border: 1px solid var(--amber-border); color: var(--amber); }
.status-accepteret { background: var(--green-bg); border: 1px solid var(--green-border); color: var(--green); }
.status-afvist { background: var(--red-bg); border: 1px solid var(--red-border); color: var(--red); }

/* ── FILTER BUTTONS ────────────────────────────────────────── */
.filter-btn {
  padding: 5px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.12s;
  font-family: var(--font-body);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--blue-dim);
  border-color: var(--blue-hi);
  color: var(--blue-hi);
}

/* ── TOAST ─────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  padding: 11px 18px;
  border-radius: var(--radius);
  font-size: 0.83rem;
  font-weight: 500;
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s;
  pointer-events: none;
  max-width: 320px;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: var(--bg-3); border: 1px solid var(--green-border); color: var(--green); }
.toast.error { background: var(--bg-3); border: 1px solid var(--red-border); color: var(--red); }

/* ── ADMIN LAYOUT ──────────────────────────────────────────── */
.admin-panel { display: none; }
.admin-panel.active { display: block; }

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.12s;
  margin-bottom: 1px;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(255,255,255,0.05);
  color: var(--white);
}
.admin-nav-item.active { color: var(--blue-hi); }
.admin-nav-item svg { opacity: 0.5; }
.admin-nav-item.active svg, .admin-nav-item:hover svg { opacity: 1; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.83rem; }
.admin-table th {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.admin-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.admin-avatar { width: 32px; height: 32px; border-radius: 50%; opacity: 0.9; }

/* Small buttons */
.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: all 0.12s;
  font-family: var(--font-body);
}
.btn-accept { background: var(--green-bg); border: 1px solid var(--green-border); color: var(--green); }
.btn-accept:hover { background: rgba(34,197,94,0.2); }
.btn-reject { background: var(--red-bg); border: 1px solid var(--red-border); color: var(--red); }
.btn-reject:hover { background: rgba(239,68,68,0.2); }
.btn-danger { background: var(--red-bg); border: 1px solid var(--red-border); color: var(--red); }
.btn-danger:hover { background: rgba(239,68,68,0.2); }
.btn-edit { background: var(--blue-dim); border: 1px solid rgba(59,130,246,0.3); color: var(--blue-hi); }
.btn-edit:hover { background: rgba(59,130,246,0.2); }

/* Modals (admin) */
.modal-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 300;
  align-items: center;
  justify-content: center;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-title-txt {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

/* Preview image */
.kat-preview {
  width: 100%; height: 90px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 0.5rem;
  display: none;
}
.kat-preview.visible { display: block; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-divider, .btn-discord.desktop-only { display: none !important; }
  .nav-hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-number { font-size: 2rem; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-content { padding: 0 1.25rem; }
  .hero-title { font-size: clamp(4rem, 18vw, 6rem); }
  .card-grid { grid-template-columns: 1fr; }
}

/* ── LEGACY VARIABLE ALIASES (backwards compat) ────────────── */
:root {
  --grey-400:   var(--text-3);
  --grey-200:   var(--text-2);
  --grey-100:   var(--text);
  --blue-bright:var(--blue-hi);
  --blue-border:var(--border);
  --blue-panel: var(--bg-2);
  --blue-accent:var(--blue);
  --blue-light: var(--text-2);
  --blue-mid:   var(--bg-2);
  --blue-dark:  var(--bg-1);
  --blue-deep:  var(--bg);
  --cyan-accent:var(--blue-hi);
}
