/* ============================================================
   BAVARIA ROLEPLAY – WEBSITE v4
   Design: Dark · German Premium · Rot/Dunkel-Lila Akzente
   Fonts: Inter (Body) · Barlow Condensed (Display)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,800;1,700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

/* ── VARIABLEN ─────────────────────────────────────────────── */
:root {
  --red:          #e11d48;
  --red-d:        #9f1239;
  --red-glow:     rgba(225,29,72,.3);
  --gold:         #f59e0b;
  --bg:           #08080f;
  --bg2:          #0d0d17;
  --card:         #111121;
  --card2:        #16162a;
  --border:       rgba(255,255,255,.06);
  --border2:      rgba(255,255,255,.12);
  --text:         #f0f0f8;
  --text2:        #c0c0d8;
  --muted:        #7070a0;
  --subtle:       #1e1e36;
  --font:         'Inter', system-ui, sans-serif;
  --display:      'Barlow Condensed', sans-serif;
  --mono:         'JetBrains Mono', monospace;
  --nav-h:        68px;
  --r:            .875rem;
  --r-sm:         .5rem;
  --r-lg:         1.25rem;
  --ease:         cubic-bezier(.4,0,.2,1);
  --shadow:       0 12px 40px rgba(0,0,0,.55);
}

/* ── RESET ─────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family:var(--font); background:var(--bg); color:var(--text);
  line-height:1.6; overflow-x:hidden; -webkit-font-smoothing:antialiased;
}
img { display:block; max-width:100%; }
a { text-decoration:none; color:inherit; }
button { font-family:var(--font); cursor:pointer; border:none; background:none; }
::-webkit-scrollbar { width:4px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:var(--red-d); border-radius:2px; }
::selection { background:var(--red); color:#fff; }

/* ── NAVBAR ────────────────────────────────────────────────── */
.nav {
  position:fixed; top:0; width:100%; z-index:300;
  height:var(--nav-h);
  transition:background .3s, border-color .3s;
}
.nav.scrolled {
  background:rgba(8,8,15,.92);
  backdrop-filter:blur(24px) saturate(1.4);
  border-bottom:1px solid var(--border);
}
.nav-inner {
  max-width:1300px; margin:0 auto; padding:0 2rem;
  height:100%; display:flex; align-items:center;
  justify-content:space-between; gap:1rem;
}
.nav-logo {
  display:flex; align-items:center; gap:.65rem;
  flex-shrink:0;
}
.logo-mark {
  width:36px; height:36px;
  background:var(--red);
  border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-weight:800;
  font-size:1.1rem; color:#fff; letter-spacing:-.02em;
  box-shadow:0 0 20px var(--red-glow);
  flex-shrink:0;
}
.logo-text-wrap { display:flex; flex-direction:column; line-height:1.1; }
.logo-main {
  font-family:var(--display); font-weight:800;
  font-size:1.05rem; letter-spacing:.01em; text-transform:uppercase;
}
.logo-sub {
  font-size:.6rem; font-weight:600; letter-spacing:.12em;
  text-transform:uppercase; color:var(--muted);
}
.nav-links {
  display:flex; list-style:none; gap:.15rem;
  flex:1; justify-content:center;
}
.nav-link {
  padding:.4rem .85rem;
  font-size:.75rem; font-weight:600; letter-spacing:.07em;
  text-transform:uppercase; color:var(--text2);
  border-radius:6px;
  transition:color .2s, background .2s;
  position:relative;
}
.nav-link::after {
  content:''; position:absolute; bottom:4px; left:50%; transform:translateX(-50%);
  width:0; height:1.5px; background:var(--red); border-radius:1px;
  transition:width .25s;
}
.nav-link:hover { color:var(--text); }
.nav-link.active { color:var(--text); }
.nav-link.active::after,
.nav-link:hover::after { width:60%; }
.nav-actions { display:flex; align-items:center; gap:.5rem; flex-shrink:0; }
.nav-btn {
  display:flex; align-items:center; gap:.4rem;
  padding:.44rem 1rem;
  font-size:.75rem; font-weight:600; letter-spacing:.05em;
  border-radius:7px; transition:all .2s;
}
.nav-btn--login {
  background:var(--card); border:1px solid var(--border2);
  color:var(--text2);
}
.nav-btn--login:hover { border-color:var(--red); color:var(--red); }
.nav-btn--register {
  background:var(--red); color:#fff;
  box-shadow:0 2px 12px var(--red-glow);
}
.nav-btn--register:hover {
  background:var(--red-d);
  box-shadow:0 4px 20px var(--red-glow);
  transform:translateY(-1px);
}
/* User nav chip */
.nav-user {
  display:flex; align-items:center; gap:.5rem;
  padding:.38rem .75rem;
  background:var(--card); border:1px solid var(--border2);
  border-radius:8px; cursor:pointer;
  transition:border-color .2s; position:relative;
}
.nav-user:hover { border-color:var(--border2); }
.nav-user img {
  width:24px; height:24px; border-radius:5px; object-fit:cover;
}
.nav-user-name {
  font-size:.76rem; font-weight:600;
  max-width:90px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.nav-dropdown {
  position:absolute; top:calc(100% + .55rem); right:0; width:200px;
  background:var(--card2); border:1px solid var(--border2);
  border-radius:var(--r); overflow:hidden;
  opacity:0; pointer-events:none; transform:translateY(-5px);
  transition:all .2s; z-index:400;
  box-shadow:var(--shadow);
}
.nav-dropdown.open { opacity:1; pointer-events:all; transform:translateY(0); }
.nd-item {
  display:flex; align-items:center; gap:.55rem;
  padding:.6rem .9rem; font-size:.8rem; font-weight:500;
  color:var(--text2); transition:all .15s;
}
.nd-item:hover { background:var(--subtle); color:var(--text); }
.nd-item--danger:hover { color:var(--red); }
.nd-sep { height:1px; background:var(--border); }
/* Mobile */
.nav-hamburger {
  display:none; flex-direction:column; gap:5px;
  padding:.4rem; border-radius:6px;
  background:var(--card); border:1px solid var(--border);
  color:var(--muted);
}
.nav-hamburger span {
  display:block; width:20px; height:2px;
  background:currentColor; border-radius:2px; transition:all .3s;
}
.nav-hamburger.active span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity:0; }
.nav-hamburger.active span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display:none; position:fixed; top:var(--nav-h); left:0; right:0;
  background:rgba(8,8,15,.97); border-bottom:1px solid var(--border);
  padding:1rem 1.5rem 1.5rem; flex-direction:column; gap:.2rem;
  z-index:299; backdrop-filter:blur(20px);
}
.mobile-menu.open { display:flex; }
.mm-link {
  padding:.75rem 1rem; border-radius:var(--r-sm);
  font-weight:600; font-size:.9rem; color:var(--text2);
  transition:all .15s;
}
.mm-link:hover,.mm-link.active { background:var(--card); color:var(--text); }
.mm-sep { height:1px; background:var(--border); margin:.35rem 0; }

/* ── LAYOUT ────────────────────────────────────────────────── */
.page-main { padding-top:var(--nav-h); }
.container { max-width:1280px; margin:0 auto; padding:0 2rem; }
.section { padding:5.5rem 0; }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  min-height:100vh; display:flex; align-items:center;
  position:relative; overflow:hidden;
  padding:calc(var(--nav-h) + 3rem) 0 5rem;
}
.hero-canvas {
  position:absolute; inset:0; z-index:0; opacity:.35;
}
.hero-overlay {
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg,
    rgba(8,8,15,0) 0%,
    rgba(8,8,15,.3) 60%,
    rgba(8,8,15,1) 100%
  );
}
/* red vertical accent line */
.hero::before {
  content:'';
  position:absolute; left:50%; top:0;
  width:1px; height:40%;
  background:linear-gradient(to bottom, transparent, var(--red), transparent);
  opacity:.35; z-index:1;
}
.hero-inner {
  position:relative; z-index:2;
  display:grid; grid-template-columns:1fr 420px;
  gap:5rem; align-items:center;
  max-width:1280px; margin:0 auto; padding:0 2rem;
}
.hero-badge {
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.3rem .9rem .3rem .5rem;
  background:rgba(225,29,72,.1); border:1px solid rgba(225,29,72,.25);
  border-radius:999px;
  font-size:.7rem; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:var(--red); margin-bottom:1.5rem;
}
.hero-badge-dot {
  width:6px; height:6px; border-radius:50%;
  background:var(--red); flex-shrink:0;
  animation:badge-pulse 2s ease infinite;
}
@keyframes badge-pulse {
  0%,100% { box-shadow:0 0 0 0 rgba(225,29,72,.5); }
  50%      { box-shadow:0 0 0 6px rgba(225,29,72,0); }
}
.hero-h1 {
  font-family:var(--display); font-weight:800;
  font-size:clamp(3.5rem,7vw,6.5rem);
  line-height:.95; text-transform:uppercase;
  letter-spacing:-.01em; margin-bottom:1.5rem;
}
.hero-h1-line1 { display:block; color:var(--text); }
.hero-h1-line2 {
  display:block;
  background:linear-gradient(135deg, var(--red) 0%, #f97316 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero-sub {
  font-size:1.05rem; color:var(--text2);
  max-width:520px; line-height:1.7; margin-bottom:2.5rem;
}
.hero-actions { display:flex; flex-wrap:wrap; gap:.75rem; }
.btn {
  display:inline-flex; align-items:center; gap:.45rem;
  padding:.65rem 1.4rem; border-radius:8px;
  font-size:.83rem; font-weight:600; letter-spacing:.04em;
  transition:all .2s; cursor:pointer; border:none;
  text-decoration:none; font-family:var(--font);
}
.btn--primary {
  background:var(--red); color:#fff;
  box-shadow:0 3px 16px var(--red-glow);
}
.btn--primary:hover {
  background:var(--red-d);
  box-shadow:0 6px 24px var(--red-glow);
  transform:translateY(-2px);
}
.btn--ghost {
  background:transparent; color:var(--text2);
  border:1px solid var(--border2);
}
.btn--ghost:hover { border-color:var(--red); color:var(--red); }
.btn--discord {
  background:#5865F2; color:#fff;
  box-shadow:0 3px 16px rgba(88,101,242,.3);
}
.btn--discord:hover {
  background:#4752c4; transform:translateY(-2px);
  box-shadow:0 6px 24px rgba(88,101,242,.4);
}
/* Server Card */
.server-card {
  background:var(--card);
  border:1px solid var(--border2);
  border-radius:var(--r-lg); overflow:hidden;
  box-shadow:var(--shadow);
  position:relative;
}
.server-card::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(225,29,72,.07),transparent 60%);
  pointer-events:none;
}
.sc-top {
  padding:1.25rem 1.4rem;
  border-bottom:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between;
}
.sc-title {
  font-size:.65rem; font-weight:700; letter-spacing:.1em;
  text-transform:uppercase; color:var(--muted);
}
.sc-live {
  display:flex; align-items:center; gap:.4rem;
  font-size:.65rem; font-weight:700; letter-spacing:.08em;
  color:#10b981;
}
.sc-live-dot {
  width:6px; height:6px; border-radius:50%; background:#10b981;
  animation:live-pulse 2.5s ease infinite;
}
@keyframes live-pulse {
  0%,100%{box-shadow:0 0 0 0 rgba(16,185,129,.5)}
  50%{box-shadow:0 0 0 5px rgba(16,185,129,0)}
}
.sc-body { padding:1.4rem; }
.sc-name {
  font-family:var(--display); font-weight:800;
  font-size:1.35rem; letter-spacing:.02em; margin-bottom:1.25rem;
}
.sc-meta {
  display:grid; grid-template-columns:1fr 1fr;
  gap:.75rem; margin-bottom:1.25rem;
}
.sc-meta-item {
  background:var(--bg2); border:1px solid var(--border);
  border-radius:var(--r-sm); padding:.7rem;
}
.sc-meta-label {
  font-size:.65rem; font-weight:600; letter-spacing:.06em;
  text-transform:uppercase; color:var(--muted); margin-bottom:.2rem;
}
.sc-meta-val {
  font-weight:700; font-size:.95rem;
}
.sc-divider { height:1px; background:var(--border); margin-bottom:1.25rem; }
.sc-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:.5rem; }
.sc-stat { text-align:center; padding:.5rem; }
.sc-stat-val {
  font-family:var(--display); font-weight:800;
  font-size:1.4rem; color:var(--red); line-height:1;
}
.sc-stat-label {
  font-size:.62rem; font-weight:600; letter-spacing:.07em;
  text-transform:uppercase; color:var(--muted); margin-top:.15rem;
}
.sc-join {
  margin-top:1.25rem; display:flex; gap:.5rem;
}
.sc-join .btn { flex:1; justify-content:center; }
.sc-ip {
  background:var(--bg2); border:1px solid var(--border);
  border-radius:var(--r-sm); padding:.65rem;
  font-family:var(--mono); font-size:.75rem; color:var(--text2);
  letter-spacing:.03em; display:flex; align-items:center;
  justify-content:space-between; gap:.5rem; margin-top:.65rem;
}
.sc-ip-copy {
  padding:.2rem .45rem; border-radius:4px;
  font-size:.65rem; font-weight:700; letter-spacing:.05em;
  text-transform:uppercase;
  background:var(--red); color:#fff; cursor:pointer;
  transition:opacity .2s; border:none; font-family:var(--font);
}
.sc-ip-copy:hover { opacity:.8; }

/* ── STATS BAR ────────────────────────────────────────────── */
.statsbar {
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  background:var(--bg2);
}
.statsbar-inner {
  width:100%;
  display:grid; grid-template-columns:repeat(4,1fr);
}
.sb-item {
  background:var(--bg2); padding:1.6rem 2rem;
  display:flex; flex-direction:column; align-items:center;
  border-right:1px solid var(--border);
}
.sb-item:last-child { border-right:none; }
.sb-val {
  font-family:var(--display); font-weight:800;
  font-size:2rem; line-height:1; color:var(--text);
}
.sb-val span { color:var(--red); }
.sb-label {
  font-size:.68rem; font-weight:600; letter-spacing:.09em;
  text-transform:uppercase; color:var(--muted); margin-top:.25rem;
}

/* ── SECTION HEADERS ──────────────────────────────────────── */
.sec-header { margin-bottom:3.5rem; }
.sec-eyebrow {
  display:inline-flex; align-items:center; gap:.4rem;
  font-size:.68rem; font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; color:var(--red); margin-bottom:.75rem;
}
.sec-eyebrow::before {
  content:''; display:block; width:20px; height:1.5px; background:var(--red);
}
.sec-h2 {
  font-family:var(--display); font-weight:800;
  font-size:clamp(2rem,4vw,3.2rem); line-height:1;
  text-transform:uppercase; letter-spacing:.01em;
}
.sec-sub {
  margin-top:.75rem; color:var(--text2);
  font-size:.95rem; max-width:520px;
}

/* ── REGELWERK ────────────────────────────────────────────── */
.rules-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr));
  gap:1px; background:var(--border);
  border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden;
}
.rule-card {
  background:var(--card); padding:1.75rem;
  transition:background .2s;
}
.rule-card:hover { background:var(--card2); }
.rule-num {
  font-family:var(--mono); font-size:.68rem; font-weight:600;
  color:var(--red); letter-spacing:.06em; margin-bottom:.6rem;
}
.rule-title {
  font-weight:700; font-size:1rem; margin-bottom:.6rem; line-height:1.3;
}
.rule-cat {
  display:inline-block; font-size:.65rem; font-weight:700;
  letter-spacing:.07em; text-transform:uppercase;
  color:var(--muted); background:var(--bg2);
  border:1px solid var(--border); border-radius:4px;
  padding:.15rem .5rem; margin-bottom:.75rem;
}
.rule-text { font-size:.88rem; color:var(--text2); line-height:1.65; }

/* ── TEAM ──────────────────────────────────────────────────── */
.team-cats { display:flex; flex-direction:column; gap:3rem; }
.team-cat-label {
  font-size:.68rem; font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; color:var(--muted);
  margin-bottom:1.25rem;
  display:flex; align-items:center; gap:.75rem;
}
.team-cat-label::after {
  content:''; flex:1; height:1px; background:var(--border);
}
.team-row {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:1rem;
}
.team-card {
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--r); padding:1.5rem;
  display:flex; flex-direction:column; align-items:center;
  text-align:center; gap:.6rem;
  transition:border-color .2s, transform .2s;
}
.team-card:hover { border-color:var(--border2); transform:translateY(-3px); }
.team-avatar {
  width:64px; height:64px; border-radius:var(--r);
  border:2px solid var(--border2);
  overflow:hidden; background:var(--bg2);
}
.team-avatar img { width:100%; height:100%; object-fit:cover; }
.team-name { font-weight:700; font-size:.95rem; }
.team-pos {
  font-size:.72rem; font-weight:600; letter-spacing:.05em;
  color:var(--red);
}
.team-bio {
  font-size:.78rem; color:var(--muted); line-height:1.6;
}
.team-discord {
  display:inline-flex; align-items:center; gap:.35rem;
  font-size:.72rem; font-weight:600; color:var(--muted);
  margin-top:.25rem; transition:color .2s;
}
.team-discord:hover { color:#5865F2; }

/* ── ÜBER UNS ─────────────────────────────────────────────── */
.about-layout {
  display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center;
}
.about-text h3 {
  font-family:var(--display); font-weight:800;
  font-size:1.85rem; text-transform:uppercase;
  line-height:1.05; margin-bottom:1.25rem;
}
.about-text p {
  color:var(--text2); line-height:1.75; font-size:.95rem;
  margin-bottom:1rem;
}
.about-features {
  display:grid; grid-template-columns:1fr 1fr; gap:.75rem;
  margin-top:2rem;
}
.ab-feat {
  display:flex; align-items:flex-start; gap:.65rem;
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--r-sm); padding:.9rem;
}
.ab-feat-icon {
  width:32px; height:32px; border-radius:6px;
  background:rgba(225,29,72,.12); border:1px solid rgba(225,29,72,.2);
  display:flex; align-items:center; justify-content:center;
  color:var(--red); flex-shrink:0;
}
.ab-feat-text { font-size:.8rem; font-weight:600; color:var(--text2); line-height:1.4; }
.about-visual {
  position:relative;
}
.about-visual-card {
  background:var(--card); border:1px solid var(--border2);
  border-radius:var(--r-lg); overflow:hidden;
  aspect-ratio:4/3; position:relative;
  display:flex; align-items:center; justify-content:center;
}
.about-visual-card::before {
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(225,29,72,.15),rgba(239,68,68,.05),transparent);
}
.about-bg-text {
  font-family:var(--display); font-weight:800;
  font-size:6rem; text-transform:uppercase; letter-spacing:.02em;
  color:rgba(225,29,72,.06); user-select:none; text-align:center;
  line-height:1;
}

/* ── CHANGELOGS ───────────────────────────────────────────── */
.changelogs-timeline {
  display:flex; flex-direction:column; gap:0;
  position:relative;
}
.changelogs-timeline::before {
  content:''; position:absolute; left:28px; top:0; bottom:0;
  width:1px; background:var(--border);
}
.cl-entry {
  display:grid; grid-template-columns:60px 1fr;
  gap:1.5rem; position:relative;
  padding-bottom:2.5rem;
}
.cl-entry:last-child { padding-bottom:0; }
.cl-dot {
  width:14px; height:14px; border-radius:50%;
  background:var(--card); border:2px solid var(--border2);
  position:relative; z-index:1;
  margin-top:.55rem; margin-left:22px;
  transition:border-color .2s;
  flex-shrink:0;
}
.cl-entry:hover .cl-dot { border-color:var(--red); }
.cl-entry[data-tag="major"] .cl-dot { background:var(--red); border-color:var(--red); }
.cl-card {
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--r); padding:1.4rem 1.6rem;
  transition:border-color .2s;
}
.cl-entry:hover .cl-card { border-color:var(--border2); }
.cl-card-top {
  display:flex; align-items:center;
  flex-wrap:wrap; gap:.6rem; margin-bottom:.75rem;
}
.cl-version {
  font-family:var(--mono); font-size:.72rem; font-weight:600;
  color:var(--muted);
}
.cl-tag {
  padding:.15rem .55rem; border-radius:4px;
  font-size:.6rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase;
}
.cl-tag--major { background:rgba(225,29,72,.15); color:var(--red); }
.cl-tag--minor { background:rgba(59,130,246,.15); color:#60a5fa; }
.cl-tag--fix   { background:rgba(16,185,129,.15); color:#34d399; }
.cl-date { font-size:.7rem; color:var(--muted); margin-left:auto; }
.cl-title { font-weight:700; font-size:1rem; margin-bottom:.6rem; }
.cl-items { list-style:none; display:flex; flex-direction:column; gap:.3rem; }
.cl-item {
  display:flex; align-items:flex-start; gap:.55rem;
  font-size:.83rem; color:var(--text2);
}
.cl-item-dot {
  width:5px; height:5px; border-radius:50%;
  background:var(--red); flex-shrink:0; margin-top:.55rem;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  border-top:1px solid var(--border);
  background:var(--bg2); padding:3rem 0 2rem;
}
.footer-inner {
  max-width:1280px; margin:0 auto; padding:0 2rem;
}
.footer-top {
  display:grid; grid-template-columns:1fr auto; gap:2rem;
  padding-bottom:2rem; border-bottom:1px solid var(--border);
  margin-bottom:1.75rem;
}
.footer-brand { display:flex; align-items:center; gap:.7rem; }
.footer-logo-mark {
  width:34px; height:34px;
  background:var(--red); border-radius:7px;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-weight:800; font-size:1rem; color:#fff;
}
.footer-brand-text .footer-name {
  font-weight:700; font-size:.95rem;
}
.footer-brand-text .footer-sub {
  font-size:.65rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--muted);
}
.footer-links { display:flex; gap:1.5rem; align-items:center; }
.footer-links a {
  font-size:.78rem; font-weight:600; color:var(--muted);
  transition:color .2s;
}
.footer-links a:hover { color:var(--text); }
.footer-bottom {
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:1rem;
}
.footer-copy { font-size:.75rem; color:var(--muted); }
.footer-made { font-size:.7rem; color:var(--muted); }
.footer-made span { color:var(--red); }

/* ── USER PANEL TAB (für eingeloggte User) ─────────────────── */
.user-panel-tab {
  position:fixed; bottom:1.5rem; right:1.5rem; z-index:200;
}
.upt-btn {
  display:flex; align-items:center; gap:.5rem;
  padding:.65rem 1.2rem;
  background:var(--card); border:1px solid var(--border2);
  border-radius:var(--r); font-size:.78rem; font-weight:600;
  color:var(--text2); cursor:pointer;
  box-shadow:0 8px 30px rgba(0,0,0,.5);
  transition:all .2s;
}
.upt-btn:hover { border-color:var(--red); color:var(--red); }
.upt-panel {
  position:absolute; bottom:calc(100% + .65rem); right:0;
  width:320px; background:var(--card2); border:1px solid var(--border2);
  border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow);
  opacity:0; pointer-events:none; transform:translateY(8px);
  transition:all .25s;
}
.upt-panel.open { opacity:1; pointer-events:all; transform:translateY(0); }
.upt-header {
  padding:1.1rem 1.25rem;
  border-bottom:1px solid var(--border);
  display:flex; align-items:center; gap:.75rem;
}
.upt-avatar { width:42px; height:42px; border-radius:8px; border:1px solid var(--border2); }
.upt-name { font-weight:700; font-size:.9rem; }
.upt-role {
  font-size:.65rem; font-weight:700; letter-spacing:.07em;
  text-transform:uppercase; color:var(--red);
}
.upt-items { padding:.5rem; }
.upt-item {
  display:flex; align-items:center; gap:.6rem;
  padding:.65rem .75rem; border-radius:var(--r-sm);
  font-size:.82rem; font-weight:500; color:var(--text2);
  cursor:pointer; transition:all .15s; text-decoration:none;
}
.upt-item:hover { background:var(--subtle); color:var(--text); }
.upt-item--red:hover { color:var(--red); }
.upt-item svg { opacity:.6; }
.upt-item--red:hover svg { opacity:1; }

/* ── TOAST ─────────────────────────────────────────────────── */
#toast-wrap {
  position:fixed; bottom:1.5rem; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center;
  gap:.45rem; z-index:9999;
}
.toast {
  display:flex; align-items:center; gap:.65rem;
  padding:.65rem 1rem; border-radius:var(--r);
  background:var(--card2); border:1px solid var(--border2);
  box-shadow:var(--shadow); font-size:.83rem; font-weight:500;
  animation:toastIn .25s var(--ease) both;
  min-width:250px;
}
.toast--success { border-color:rgba(16,185,129,.35); }
.toast--error   { border-color:rgba(225,29,72,.35); }
@keyframes toastIn {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ── REVEAL ANIMATION ────────────────────────────────────────── */
.reveal {
  opacity:0; transform:translateY(20px);
  transition:opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media(max-width:1024px) {
  .hero-inner { grid-template-columns:1fr; gap:3rem; }
  .server-card { max-width:420px; }
  .about-layout { grid-template-columns:1fr; gap:3rem; }
  .about-visual { display:none; }
}
@media(max-width:768px) {
  .nav-links,.nav-actions { display:none; }
  .nav-hamburger { display:flex; }
  .statsbar-inner { grid-template-columns:repeat(2,1fr); }
  .rules-grid { grid-template-columns:1fr; }
  .team-row { grid-template-columns:repeat(2,1fr); }
  .cl-entry { grid-template-columns:40px 1fr; gap:1rem; }
  .changelogs-timeline::before { left:20px; }
  .cl-dot { margin-left:14px; }
  .footer-top { grid-template-columns:1fr; }
  .footer-links { flex-wrap:wrap; gap:.75rem; }
}
@media(max-width:480px) {
  .container { padding:0 1.25rem; }
  .statsbar-inner { grid-template-columns:1fr 1fr; }
  .team-row { grid-template-columns:1fr; }
  .hero-h1 { font-size:3rem; }
  .about-features { grid-template-columns:1fr; }
}

/* ── AUTH PAGES (Login/Register) ─────────────────────────── */
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 2rem 1.25rem;
  background: var(--bg);
  position: relative; overflow: hidden;
}
.auth-wrap::before {
  content: '';
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(225,29,72,.08) 0%, transparent 70%);
  pointer-events: none;
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--r-lg); padding: 2.25rem 2rem;
  position: relative; z-index: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.auth-logo {
  display: flex; align-items: center; gap: .85rem;
  margin-bottom: 2rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.auth-logo-mark {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--red); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800;
  font-size: 1.4rem; color: #fff;
  box-shadow: 0 0 24px var(--red-glow);
}
.auth-logo-name {
  font-weight: 700; font-size: 1.05rem; color: var(--text); line-height: 1.2;
}
.auth-logo-sub {
  font-size: .72rem; color: var(--muted); margin-top: .1rem;
}
.auth-title {
  font-family: var(--display); font-weight: 800;
  font-size: 1.65rem; text-transform: uppercase;
  letter-spacing: .01em; margin-bottom: .3rem; color: var(--text);
}
.auth-sub {
  font-size: .83rem; color: var(--text2); margin-bottom: 1.75rem;
}
.auth-field { margin-bottom: 1.1rem; }
.auth-label {
  display: block; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text2); margin-bottom: .4rem;
}
.auth-input-wrap { position: relative; }
.auth-input-icon {
  position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}
.auth-input {
  width: 100%; background: var(--bg2);
  border: 1px solid var(--border2); border-radius: var(--r-sm);
  padding: .65rem .9rem; font: inherit; font-size: .9rem;
  color: var(--text); transition: border-color .2s;
}
.auth-input::placeholder { color: var(--muted); }
.auth-input:focus { outline: none; border-color: var(--red); }
.auth-input-icon-pad { padding-left: 2.6rem; }
.auth-pw-toggle {
  position: absolute; right: .75rem; top: 50%; transform: translateY(-50%);
  color: var(--muted); transition: color .2s; padding: .2rem;
  background: none; border: none; cursor: pointer;
}
.auth-pw-toggle:hover { color: var(--text); }
.auth-btn {
  width: 100%; padding: .75rem; border-radius: var(--r-sm);
  background: var(--red); color: #fff;
  font: inherit; font-size: .9rem; font-weight: 700;
  cursor: pointer; border: none;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  transition: all .2s; box-shadow: 0 3px 16px var(--red-glow);
  margin-top: .5rem;
}
.auth-btn:hover {
  background: var(--red-d); transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--red-glow);
}
.auth-error {
  display: flex; align-items: center; gap: .55rem;
  background: rgba(225,29,72,.1); border: 1px solid rgba(225,29,72,.25);
  border-radius: var(--r-sm); padding: .7rem .9rem;
  font-size: .83rem; color: var(--red);
  margin-bottom: 1.1rem;
}
.auth-switch {
  text-align: center; margin-top: 1.35rem;
  font-size: .82rem; color: var(--text2);
}
.auth-switch a { color: var(--red); font-weight: 700; }
.auth-switch a:hover { text-decoration: underline; }
.auth-divider {
  display: flex; align-items: center; gap: .75rem;
  margin: 1.25rem 0; color: var(--muted); font-size: .75rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
