@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Rajdhani:wght@400;500;600;700&family=Barlow+Condensed:wght@400;600;700&family=Share+Tech+Mono&display=swap');

:root {
  --red:        #c0392b;
  --red-bright: #e74c3c;
  --red-light:  #ff6b5b;
  --red-dark:   #7b241c;
  --red-glow:   rgba(192,57,43,0.35);
  --orange:     #e67e22;
  --gold:       #d4a843;
  --gold-light: #f0c060;

  --black:  #07070a;
  --dark:   #0e0e12;
  --dark2:  #141418;
  --dark3:  #1c1c22;
  --dark4:  #242430;
  --dark5:  #2e2e3a;

  --border:     #22222e;
  --border-red: #4a1a1a;
  --border-2:   #2a2a38;

  --text:       #e8e8f0;
  --text-dim:   #8888a0;
  --text-muted: #44445a;
  --white:      #f5f5ff;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ─── PARTICLES ─────────────────────────────────────────── */
#particles-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.5;
}

/* ─── HEADER ─────────────────────────────────────────────── */
header {
  background: rgba(7,7,10,0.92);
  border-bottom: 1px solid var(--border-red);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px);
}

.header-top {
  background: linear-gradient(90deg, #2a0a06, #5a1510, #3a0c08, #5a1510, #2a0a06);
  text-align: center; padding: 5px 12px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: #ff9988; border-bottom: 1px solid rgba(192,57,43,0.4);
}

.header-main {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 28px; height: 70px; gap: 12px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img {
  height: 46px; width: auto; object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(192,57,43,0.5));
  transition: filter 0.3s;
}
.logo:hover img { filter: drop-shadow(0 0 18px rgba(231,76,60,0.9)); }

nav { display: flex; gap: 4px; }
nav a {
  color: var(--text-dim);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  padding: 7px 16px; border-radius: var(--radius-sm);
  transition: all .2s; position: relative; white-space: nowrap;
}
nav a:hover { color: var(--white); background: var(--dark3); }
nav a.active {
  color: var(--white);
  background: linear-gradient(135deg, rgba(192,57,43,0.2), rgba(230,70,50,0.1));
  border: 1px solid rgba(192,57,43,0.3);
}
nav a.active::after {
  content: ''; position: absolute;
  bottom: -1px; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
  border-radius: 2px;
}

.header-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-dim); transition: all .3s; border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; background: var(--dark2); border-top: 1px solid var(--border); }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text-dim); font-family: 'Barlow Condensed', sans-serif; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; padding: 14px 20px; border-bottom: 1px solid var(--border); transition: all .2s; }
.mobile-menu a:hover { color: var(--white); background: var(--dark3); padding-left: 28px; }
.mobile-menu-actions { display: flex; gap: 10px; padding: 14px 20px; }

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  padding: 9px 20px; border: none; cursor: pointer;
  transition: all .2s; border-radius: var(--radius-sm);
  display: inline-block; text-align: center;
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-dim);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover { color: var(--white); border-color: rgba(192,57,43,0.5); background: rgba(192,57,43,0.08); }
.btn-red {
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  color: white;
  box-shadow: 0 4px 15px rgba(192,57,43,0.3);
}
.btn-red:hover {
  background: linear-gradient(135deg, var(--red-bright), var(--red-light));
  box-shadow: 0 6px 20px rgba(192,57,43,0.5);
  transform: translateY(-1px);
}
.btn-full { width: 100%; display: block; }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 340px;
  background: radial-gradient(ellipse at 50% 0%, #1c0608 0%, #0d0308 40%, #07070a 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-red);
}

.hero-grid {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(192,57,43,0.03) 80px, rgba(192,57,43,0.03) 81px),
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(192,57,43,0.03) 80px, rgba(192,57,43,0.03) 81px);
}

.hero-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.05) 3px, rgba(0,0,0,0.05) 4px);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(192,57,43,0.13) 0%, rgba(120,20,20,0.06) 40%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}

.hero-skyline {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 130px; pointer-events: none;
}

.hero-content {
  text-align: center; position: relative; z-index: 2;
  padding: 0 16px;
  display: flex; flex-direction: column; align-items: center;
}

.hero-logo-img {
  height: 90px; width: auto;
  filter: drop-shadow(0 0 30px rgba(192,57,43,0.7)) drop-shadow(0 0 60px rgba(192,57,43,0.3));
  animation: logoGlow 3s ease-in-out infinite alternate;
}
@keyframes logoGlow {
  from { filter: drop-shadow(0 0 20px rgba(192,57,43,0.5)) drop-shadow(0 0 40px rgba(192,57,43,0.2)); }
  to   { filter: drop-shadow(0 0 45px rgba(192,57,43,1.0)) drop-shadow(0 0 90px rgba(192,57,43,0.5)); }
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--red-bright);
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.3);
  padding: 5px 16px; margin-top: 16px;
  border-radius: 999px;
}
.hero-tag::before, .hero-tag::after {
  content: ''; width: 4px; height: 4px;
  border-radius: 50%; background: var(--red-bright);
  opacity: 0.7;
}

.hero-desc {
  font-size: 12px; color: var(--text-dim);
  letter-spacing: 3px; margin-top: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
}

/* PAGE HERO */
.page-hero {
  padding: 40px 20px;
  background: radial-gradient(ellipse at 50% 0%, #1c0608 0%, #0d0308 50%, #07070a 100%);
  border-bottom: 1px solid var(--border-red);
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px,15vw,180px); color: rgba(192,57,43,0.04);
  right: 20px; top: 50%; transform: translateY(-50%);
  user-select: none; white-space: nowrap; letter-spacing: -5px; pointer-events: none;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb { font-family: 'Share Tech Mono', monospace; font-size: 11px; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--text-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--red-bright); }
.breadcrumb span { color: var(--red-bright); }
.page-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(30px,8vw,52px); letter-spacing: 4px; color: var(--white); line-height: 1; margin-bottom: 8px; }
.page-title span { color: var(--red-bright); }
.page-sub { font-size: 14px; color: var(--text-dim); }

/* ─── STATS BAR ──────────────────────────────────────────────── */
.stats-bar {
  background: rgba(14,14,18,0.98);
  border-bottom: 1px solid var(--border);
  padding: 10px 28px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  position: relative; z-index: 1;
}
.stat-item { display: flex; align-items: center; gap: 8px; }
.stat-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; flex-shrink: 0; }
.stat-dot.green { background: #2ecc71; box-shadow: 0 0 8px rgba(46,204,113,0.6); }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(0.8)} }
.stat-label { font-family: 'Share Tech Mono', monospace; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.stat-value { font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; color: var(--white); letter-spacing: 1px; }
.sep { color: var(--border-2); }
.server-ip {
  font-family: 'Share Tech Mono', monospace; font-size: 11px; letter-spacing: 2px;
  color: var(--text-dim); background: var(--dark3);
  padding: 6px 14px; border: 1px solid var(--border-2);
  border-radius: var(--radius-sm); cursor: pointer; transition: all .2s;
}
.server-ip:hover { border-color: var(--red); color: var(--white); box-shadow: 0 0 12px var(--red-glow); }

/* ─── CONTAINER ──────────────────────────────────────────────── */
.container {
  max-width: 1200px; margin: 0 auto;
  padding: 32px 20px;
  display: grid; grid-template-columns: 1fr 310px; gap: 28px;
  position: relative; z-index: 1;
}
.container.full { grid-template-columns: 1fr; }

/* ─── SECTION HEADER ─────────────────────────────────────────── */
.section-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--dark3), var(--dark2));
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin-bottom: 2px;
  position: relative; overflow: hidden;
}
.section-header::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--red-bright), var(--red-dark));
  border-radius: 0 2px 2px 0;
}
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: 17px; letter-spacing: 3px; color: var(--white); flex: 1; }
.section-meta { font-family: 'Share Tech Mono', monospace; font-size: 10px; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; background: var(--dark4); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); }

/* ─── THREADS ────────────────────────────────────────────────── */
.thread {
  background: var(--dark);
  border: 1px solid var(--border);
  border-top: none;
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px;
  transition: all .25s;
  position: relative; overflow: hidden;
  margin-bottom: 2px;
}
.thread:last-child { border-radius: 0 0 var(--radius-md) var(--radius-md); }
a.thread { display: flex; }
a.thread:hover {
  border-color: rgba(192,57,43,0.4);
  background: linear-gradient(135deg, var(--dark2), var(--dark));
  transform: translateX(2px);
}
a.thread::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(192,57,43,0.07), transparent);
  transition: width .3s;
}
a.thread:hover::before { width: 100%; }
a.thread::after {
  content: ''; position: absolute; left: 0; top: 15%; bottom: 15%;
  width: 3px;
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  border-radius: 0 3px 3px 0;
  transform: scaleY(0); transition: transform .25s;
}
a.thread:hover::after { transform: scaleY(1); }

.thread-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--dark3), var(--dark4));
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
a.thread:hover .thread-icon {
  border-color: rgba(192,57,43,0.4);
  background: linear-gradient(135deg, rgba(192,57,43,0.12), rgba(120,20,20,0.1));
  box-shadow: 0 0 16px rgba(192,57,43,0.12);
}

.thread-info { flex: 1; min-width: 0; }
.thread-title { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 1px; color: var(--white); margin-bottom: 4px; transition: color .2s; }
a.thread:hover .thread-title { color: var(--red-bright); }
.thread-desc { font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread-meta { font-size: 12px; color: var(--text-muted); }
.thread-meta b { color: var(--red-bright); font-weight: 500; }

.thread-stats { text-align: center; flex-shrink: 0; min-width: 60px; background: var(--dark3); border-radius: var(--radius-sm); padding: 6px 10px; border: 1px solid var(--border); }
.thread-stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: var(--text-dim); line-height: 1; }
.thread-stat-label { font-family: 'Share Tech Mono', monospace; font-size: 9px; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; }

.thread-last { width: 155px; flex-shrink: 0; padding-left: 16px; border-left: 1px solid var(--border); }
.thread-last-title { font-size: 12px; color: var(--text-dim); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread-last-by { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 1px; color: var(--text-muted); }
.thread-last-by b { color: var(--red-bright); }

/* ─── TAGS ─────────────────────────────────────────────────────── */
.tag { font-family: 'Share Tech Mono', monospace; font-size: 9px; letter-spacing: 2px; padding: 3px 8px; border-radius: 999px; text-transform: uppercase; margin-left: 6px; vertical-align: middle; }
.tag-new      { background: linear-gradient(135deg, var(--red), var(--red-bright)); color: white; }
.tag-open     { background: linear-gradient(135deg, #27ae60, #2ecc71); color: white; }
.tag-closed   { background: var(--dark4); color: var(--text-dim); border: 1px solid var(--border-2); }
.tag-pending  { background: linear-gradient(135deg, #c0762b, var(--orange)); color: white; }
.tag-accepted { background: linear-gradient(135deg, #1a6a9a, #2980b9); color: white; }

/* ─── ANNOUNCEMENT ───────────────────────────────────────────────── */
.announcement {
  background: linear-gradient(135deg, rgba(192,57,43,0.08), rgba(120,20,20,0.05));
  border: 1px solid rgba(192,57,43,0.25);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
  display: flex; align-items: flex-start; gap: 16px;
  position: relative; overflow: hidden;
}
.announcement::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--red-bright), var(--red-dark));
  border-radius: 4px 0 0 4px;
}
.ann-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.ann-title { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 1px; color: var(--white); margin-bottom: 5px; }
.ann-text { font-size: 13px; color: var(--text-dim); line-height: 1.7; }
.ann-date { font-family: 'Share Tech Mono', monospace; font-size: 10px; letter-spacing: 2px; color: var(--red-bright); margin-top: 8px; text-transform: uppercase; opacity: 0.8; }

/* ─── FORMS ──────────────────────────────────────────────────────── */
.form-card {
  background: var(--dark);
  border: 1px solid var(--border-2);
  padding: 32px;
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--red);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.form-title { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 3px; color: var(--white); margin-bottom: 6px; }
.form-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-label { font-family: 'Share Tech Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); display: block; margin-bottom: 8px; }
.form-input, .form-textarea, .form-select {
  width: 100%; background: var(--dark3);
  border: 1px solid var(--border-2);
  color: var(--text); font-family: 'Rajdhani', sans-serif;
  font-size: 15px; padding: 11px 16px;
  border-radius: var(--radius-sm); transition: all .2s;
  outline: none; -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: rgba(192,57,43,0.6);
  background: var(--dark2);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}
.form-textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.form-select option { background: var(--dark3); color: var(--text); }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* ─── SIDEBAR ────────────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 18px; }

.widget {
  background: var(--dark);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.widget-header {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, var(--dark3), var(--dark2));
  display: flex; align-items: center; gap: 10px;
}
.widget-title { font-family: 'Bebas Neue', sans-serif; font-size: 15px; letter-spacing: 3px; color: var(--white); }
.widget-accent { width: 3px; height: 18px; background: linear-gradient(180deg, var(--red-bright), var(--red-dark)); flex-shrink: 0; border-radius: 3px; }
.widget-body { padding: 16px 18px; }

.rule-item { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-dim); line-height: 1.6; }
.rule-item:last-child { border-bottom: none; }
.rule-num { font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: var(--red); flex-shrink: 0; line-height: 1.1; }

.online-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.online-user { display: flex; align-items: center; gap: 7px; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; padding: 5px 12px; background: var(--dark3); border: 1px solid var(--border-2); border-radius: var(--radius-sm); }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: #2ecc71; flex-shrink: 0; box-shadow: 0 0 6px rgba(46,204,113,0.6); }
.online-dot.admin { background: var(--red-bright); box-shadow: 0 0 6px rgba(231,76,60,0.7); }

.discord-widget {
  background: linear-gradient(135deg, #0c0c20, #101030, #0c0c20);
  border: 1px solid #252550;
  border-radius: var(--radius-md);
  padding: 22px; text-align: center;
  transition: border-color .2s, box-shadow .2s; cursor: pointer;
}
.discord-widget:hover { border-color: #5865f2; box-shadow: 0 0 24px rgba(88,101,242,0.18); }
.discord-text { font-family: 'Bebas Neue', sans-serif; font-size: 16px; letter-spacing: 3px; color: var(--white); margin-bottom: 5px; }
.discord-sub { font-size: 13px; color: #7289da; margin-bottom: 14px; }
.btn-discord {
  background: linear-gradient(135deg, #5865f2, #7289da);
  color: white; font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  padding: 10px 20px; border: none; border-radius: var(--radius-sm);
  cursor: pointer; width: 100%; transition: all .2s;
}
.btn-discord:hover { background: linear-gradient(135deg, #4752c4, #5865f2); box-shadow: 0 4px 16px rgba(88,101,242,0.4); }

/* ─── REGLEMENT ──────────────────────────────────────────────────── */
.reg-section { background: var(--dark); border: 1px solid var(--border-2); border-radius: var(--radius-md); margin-bottom: 8px; overflow: hidden; }
.reg-header { padding: 18px 22px; background: var(--dark2); display: flex; align-items: center; gap: 14px; cursor: pointer; transition: background .2s; user-select: none; position: relative; }
.reg-header::before { content: ''; position: absolute; left: 0; top: 20%; bottom: 20%; width: 4px; background: linear-gradient(180deg, var(--red-bright), var(--red-dark)); border-radius: 0 3px 3px 0; }
.reg-header:hover { background: var(--dark3); }
.reg-num { font-family: 'Bebas Neue', sans-serif; font-size: 30px; color: var(--red); line-height: 1; min-width: 36px; }
.reg-title { font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: 2px; color: var(--white); flex: 1; }
.reg-arrow { color: var(--text-muted); font-size: 14px; transition: transform .3s; }
.reg-body { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s ease; }
.reg-body.open { max-height: 1000px; padding: 16px 22px; }
.reg-rule { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.reg-rule:last-child { border-bottom: none; }
.reg-rule-num { font-family: 'Bebas Neue', sans-serif; font-size: 18px; color: var(--red-bright); flex-shrink: 0; line-height: 1.1; }

/* ─── AUTH ───────────────────────────────────────────────────────── */
.auth-wrap {
  min-height: calc(100vh - 110px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 16px;
  background: radial-gradient(ellipse at center top, #1c0608 0%, #07070a 60%);
  position: relative; z-index: 1;
}
.auth-card {
  background: var(--dark);
  border: 1px solid var(--border-2);
  padding: 40px;
  width: 100%; max-width: 440px;
  border-radius: var(--radius-xl);
  border-top: 3px solid var(--red);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 60px rgba(192,57,43,0.1);
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo img { height: 56px; width: auto; filter: drop-shadow(0 0 14px rgba(192,57,43,0.6)); }
.auth-title { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 4px; color: var(--white); margin-bottom: 6px; text-align: center; }
.auth-sub { font-size: 14px; color: var(--text-muted); text-align: center; }

/* ─── FOOTER ──────────────────────────────────────────────────────── */
footer {
  background: linear-gradient(180deg, var(--dark), var(--black));
  border-top: 1px solid var(--border-red);
  padding: 32px 28px;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 16px; margin-top: 40px; position: relative; z-index: 1;
}
footer::before {
  content: ''; position: absolute;
  top: -1px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), var(--red-bright), var(--red), transparent);
  border-radius: 2px;
}
.footer-logo img { height: 32px; width: auto; opacity: 0.55; transition: all .3s; }
.footer-logo img:hover { opacity: 1; filter: drop-shadow(0 0 8px rgba(192,57,43,0.5)); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-muted); transition: color .2s; }
.footer-links a:hover { color: var(--red-bright); }
.footer-copy { font-family: 'Share Tech Mono', monospace; font-size: 11px; color: var(--text-muted); width: 100%; text-align: center; letter-spacing: 1px; }

/* ─── ANIMATIONS ─────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.fu  { animation: fadeUp .5s ease both; }
.fu1 { animation: fadeUp .5s .07s ease both; }
.fu2 { animation: fadeUp .5s .14s ease both; }
.fu3 { animation: fadeUp .5s .21s ease both; }
.fu4 { animation: fadeUp .5s .28s ease both; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ─── RESPONSIVE ──────────────────────────────────────────────────── */
@media(max-width:900px) {
  .container { grid-template-columns: 1fr; }
  .thread-last { display: none; }
  nav, .header-actions { display: none; }
  .hamburger { display: flex; }
}
@media(max-width:600px) {
  .header-top { font-size: 9px; letter-spacing: 1px; }
  .thread-desc, .thread-stats { display: none; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .sep { display: none; }
}
@media(min-width:901px) { .hamburger, .mobile-menu { display: none !important; } }
