/* ============================================================
   Re:Void — custom stylesheet  v16
   Structure matches reference HTML exactly.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Pirata+One&family=Cinzel+Decorative:wght@400;700&family=Josefin+Sans:ital,wght@0,100;0,300;0,400;1,100;1,300&family=Cormorant+Garamond:ital,wght@0,400;1,400;1,500&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --black:      #000000;
  --void:       #060008;
  --deep:       #130020;
  --mid:        #2a0050;
  --purple:     #5a00aa;
  --bright:     #9400e6;
  --glow:       #c000ff;
  --soft:       #d08aff;
  --drip-white: rgba(235,215,255,0.55);
  --drip-mid:   rgba(200,160,255,0.25);
  --drip-fade:  rgba(180,120,255,0.0);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ── Base / Background ─────────────────────────────────────── */
html {
  background-color: #150030; /* dark purple base — shows through where black fades */
  min-height: 100%;
}

body {
  background: transparent;
  color: #c89eff;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  letter-spacing: 0.08em;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Layer -2: purple depth — kept dark so the blend at bottom stays moody */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% 100%,  rgba(100,0,180,0.65) 0%, transparent 70%),
    radial-gradient(ellipse 55% 45% at 0%   85%,  rgba(70,0,140,0.35)  0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 100% 75%,  rgba(70,0,140,0.35)  0%, transparent 65%),
    linear-gradient(180deg, #080015 0%, #150030 50%, #2a0058 100%);
}

/* Layer -1: black overlay — nearly black at top, gradually fades to transparent at bottom */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,1.00)  0%,
    rgba(0,0,0,1.00) 33%,
    rgba(0,0,0,0.88) 52%,
    rgba(0,0,0,0.62) 68%,
    rgba(0,0,0,0.28) 84%,
    rgba(0,0,0,0.00) 100%
  );
}

/* ── Sparkles — layer 0 ─────────────────────────────────────── */
#rv-starfield {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.sp {
  position: absolute;
  border-radius: 50%;
  background: rgba(220,180,255,0.9);
  box-shadow: 0 0 4px 1px rgba(180,100,255,0.7);
  animation: twinkle var(--d, 3s) ease-in-out infinite var(--dl, 0s);
}
@keyframes twinkle {
  0%,100% { opacity:0; transform:scale(0.3) rotate(0deg); }
  50%      { opacity:1; transform:scale(1.5) rotate(180deg); }
}

/* ── Drip layer — layer 2 ───────────────────────────────────── */
#rv-drip-layer {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

/* ── Wrapper — centered content column ─────────────────────── */
.wrapper {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── Ticker ─────────────────────────────────────────────────── */
.ticker-bar {
  position: relative;
  background: rgba(0,0,0,0.7);
  border-bottom: 1px solid rgba(130,0,220,0.5);
  overflow: hidden;
  padding: 7px 0;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: rgba(180,100,255,0.85);
  white-space: nowrap;
  z-index: 1040;
}
.ticker-inner {
  display: inline-block;
  animation: scroll-ticker 30s linear infinite;
}
@keyframes scroll-ticker {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}
.ticker-bar em { color: var(--glow); font-style: normal; margin: 0 24px; }

/* ── Header: logo + tagline ─────────────────────────────────── */
header {
  text-align: center;
  padding: 52px 16px 36px;
  position: relative;
}

.logo-link { text-decoration: none !important; display: block; }

.logo {
  font-family: 'Pirata One', cursive;
  font-weight: 400;
  font-size: clamp(4rem, 14vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: transparent;
  background: linear-gradient(175deg,
    #ffffff   0%,
    #f0d8ff  10%,
    #d090ff  28%,
    #9a10ff  52%,
    #6200bb  75%,
    #38006e 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(0 0  2px rgba(255,255,255,0.55))
    drop-shadow(0 0  8px rgba(180,0,255,1))
    drop-shadow(0 0 28px rgba(120,0,220,0.75))
    drop-shadow(0 0 60px rgba(70,0,160,0.4));
  animation: logo-breathe 5s ease-in-out infinite;
  position: relative;
}
.logo::after {
  content: '';
  position: absolute;
  top: 18%; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,100,255,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.logo-caps {
  font-size: 1.22em;
  vertical-align: baseline;
  letter-spacing: 0.04em;
}
@keyframes logo-breathe {
  0%,100% {
    filter:
      drop-shadow(0 0  2px rgba(255,255,255,0.55))
      drop-shadow(0 0  8px rgba(180,0,255,1))
      drop-shadow(0 0 28px rgba(120,0,220,0.75))
      drop-shadow(0 0 60px rgba(70,0,160,0.4));
  }
  50% {
    filter:
      drop-shadow(0 0  3px rgba(255,255,255,0.75))
      drop-shadow(0 0 14px rgba(200,0,255,1))
      drop-shadow(0 0 40px rgba(150,0,240,0.85))
      drop-shadow(0 0 80px rgba(90,0,190,0.5));
  }
}

.tagline {
  font-style: italic;
  font-weight: 100;
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  color: rgba(215,175,255,0.88);
  text-transform: uppercase;
  margin-top: 10px;
}
.blink { animation: blink 1.1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── Nav ────────────────────────────────────────────────────── */
nav.rv-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(100,0,180,0.35);
  border-bottom: 1px solid rgba(100,0,180,0.35);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 8px 0;
  margin-bottom: 28px;
  position: relative;
  z-index: 1030;
}
nav.rv-nav a {
  color: rgba(180,110,255,0.8);
  text-decoration: none !important;
  font-size: 0.63rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding: 6px 18px;
  transition: color 0.25s, text-shadow 0.25s;
  position: relative;
}
nav.rv-nav a + a::before {
  content: '·';
  position: absolute;
  left: -1px;
  color: rgba(100,0,180,0.4);
}
nav.rv-nav a:hover {
  color: #f0d8ff !important;
  text-shadow: 0 0 12px var(--glow);
}

/* User dropdown inside nav */
.nav-user-dropdown {
  position: relative;
  display: inline-block;
}
.nav-user-dropdown > a {
  color: rgba(180,110,255,0.8);
  text-decoration: none !important;
  font-size: 0.63rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding: 6px 18px;
  cursor: pointer;
  position: relative;
}
.nav-user-dropdown > a::before {
  content: '·';
  position: absolute;
  left: -1px;
  color: rgba(100,0,180,0.4);
}
.nav-user-dropdown > a:hover { color: #f0d8ff !important; }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(5,0,12,0.99);
  border: 1px solid rgba(42,0,80,1);
  border-radius: 2px;
  min-width: 180px;
  z-index: 2000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.85);
}
.nav-user-dropdown:hover .nav-dropdown-menu,
.nav-user-dropdown.open .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a,
.nav-dropdown-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1.25rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(168,128,204,1) !important;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu button:hover {
  background: rgba(80,0,140,0.22);
  color: #e8d8ff !important;
}
.nav-dropdown-divider {
  border: none;
  border-top: 1px solid rgba(26,0,48,1);
  margin: 0.25rem 0;
}

/* ── Mobile CTA ─────────────────────────────────────────────── */
.mobile-cta {
  display: none;
  margin: 0 0 24px;
}
.btn-enter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, #1a0040 0%, #3d0080 50%, #1a0040 100%);
  border: 1px solid rgba(160,0,255,0.7);
  border-radius: 2px;
  color: #e8d0ff;
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 25px rgba(120,0,220,0.4),
    0 0 60px rgba(80,0,160,0.2),
    inset 0 1px 0 rgba(200,150,255,0.1);
  transition: all 0.3s;
}
.btn-enter::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer { 0%{left:-100%} 100%{left:200%} }
.btn-enter:hover {
  background: linear-gradient(135deg, #2d006a 0%, #5500bb 50%, #2d006a 100%);
  box-shadow: 0 0 40px rgba(160,0,255,0.7), 0 0 80px rgba(100,0,200,0.35);
  border-color: rgba(200,100,255,0.9);
  color: #e8d0ff !important;
}
.orb {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 8px 4px rgba(180,0,255,0.8);
  animation: orb-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes orb-pulse {
  0%,100% { box-shadow: 0 0 8px 4px rgba(180,0,255,0.8); }
  50%      { box-shadow: 0 0 14px 7px rgba(200,0,255,1); }
}

/* ── Counter strip ──────────────────────────────────────────── */
.counter-strip {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0 0 24px;
  border: 1px solid rgba(110,0,180,0.35);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(18,0,40,0.55) 0%, rgba(8,0,22,0.70) 100%);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(200,160,255,0.14),
    inset 0 0 28px rgba(100,0,180,0.07),
    0 4px 24px rgba(0,0,0,0.40);
}
.counter-cell {
  flex: 1;
  text-align: center;
  padding: 18px 12px 16px;
  position: relative;
}
.counter-cell + .counter-cell::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(110,0,200,0.45), transparent);
}
.counter-value {
  font-family: 'Pirata One', cursive;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1;
  color: transparent;
  background: linear-gradient(175deg,
    #ffffff  0%,
    #e8d0ff 20%,
    #c060ff 55%,
    #8000dd 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(160,0,255,0.8));
  animation: counter-pulse 4s ease-in-out infinite;
}
.counter-cell:nth-child(2) .counter-value { animation-delay: 1.3s; }
.counter-cell:nth-child(3) .counter-value { animation-delay: 2.6s; }
@keyframes counter-pulse {
  0%,100% { filter: drop-shadow(0 0 8px rgba(160,0,255,0.8)); }
  50%      { filter: drop-shadow(0 0 14px rgba(190,0,255,1)) drop-shadow(0 0 28px rgba(120,0,200,0.5)); }
}
.counter-label {
  font-size: 0.52rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(150,90,230,0.65);
  margin-top: 6px;
  line-height: 1.3;
}
.counter-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 6px 3px rgba(180,0,255,0.85);
  margin-right: 5px;
  animation: orb-pulse 2s ease-in-out infinite;
}

/* ── Content grid ───────────────────────────────────────────── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 20px;
  align-items: start;
}

/* ── Panels ─────────────────────────────────────────────────── */
.panel {
  background: linear-gradient(160deg,
    rgba(20,2,42,0.55) 0%,
    rgba(10,0,28,0.65) 100%
  );
  border: 1px solid rgba(130,0,200,0.28);
  border-radius: 10px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    inset 0  1px 0   rgba(200,160,255,0.18),
    inset 0 -1px 0   rgba(120,0,200,0.12),
    inset  1px 0 0   rgba(180,120,255,0.10),
    inset -1px 0 0   rgba(180,120,255,0.10),
    inset 0 0 28px   rgba(100,0,180,0.08),
    0 4px 32px        rgba(0,0,0,0.45);
}
.panel::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160,0,255,0.6), transparent);
}
.panel::after {
  content: '';
  position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 180px; height: 100px;
  background: radial-gradient(ellipse, rgba(100,0,200,0.12), transparent 70%);
  pointer-events: none;
}
.panel-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.84rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--glow);
  text-shadow: 0 0 10px rgba(180,0,255,0.6);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(90,0,160,0.35);
}
.panel-title::before { content: '✦ '; font-size: 0.62rem; opacity: 0.6; }
.panel-title::after  { content: ' ✦'; font-size: 0.62rem; opacity: 0.6; }

/* Panel variants */
.panel-warm {
  background: linear-gradient(160deg, rgba(30,5,35,0.58) 0%, rgba(15,2,28,0.68) 100%);
  border-color: rgba(140,0,190,0.3);
}
.panel-cool {
  background: linear-gradient(160deg, rgba(5,5,35,0.58) 0%, rgba(2,2,28,0.68) 100%);
  border-color: rgba(80,0,200,0.3);
}

/* ── News ───────────────────────────────────────────────────── */
.news-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(70,0,120,0.25);
}
.news-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-date {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: rgba(150,80,230,0.7);
  text-transform: uppercase;
}
.news-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.94rem;
  color: #ddb8ff;
  margin: 5px 0 6px;
  text-shadow: 0 0 8px rgba(140,0,220,0.4);
}
.news-body {
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(175,120,240,0.85);
  font-weight: 100;
}

/* ── About ──────────────────────────────────────────────────── */
.about-text {
  font-size: 1.0rem;
  line-height: 1.85;
  color: rgba(185,135,245,0.88);
  font-weight: 100;
}
.about-text + .about-text { margin-top: 14px; }
.about-text em {
  font-style: italic;
  color: rgba(210,160,255,0.95);
}

/* ── Sidebar ────────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; }
.connect-section { text-align: center; }
.server-address {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  color: rgba(120,60,200,0.55);
  margin-top: 10px;
}

/* Desktop connect button */
.btn-enter-desk {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #1a0040 0%, #3d0080 50%, #1a0040 100%);
  border: 1px solid rgba(160,0,255,0.7);
  color: #e8d0ff !important;
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(120,0,220,0.4), inset 0 1px 0 rgba(200,150,255,0.08);
  transition: all 0.3s;
  margin-top: 6px;
}
.btn-enter-desk::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: shimmer 3s linear infinite;
}
.btn-enter-desk:hover {
  background: linear-gradient(135deg, #2d006a 0%, #5500bb 50%, #2d006a 100%);
  box-shadow: 0 0 35px rgba(160,0,255,0.65), 0 0 70px rgba(100,0,200,0.3);
  color: #e8d0ff !important;
}
.online-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 7px 3px rgba(180,0,255,0.9);
  margin-right: 7px;
  animation: orb-pulse 2s ease-in-out infinite;
}

/* Quick links */
.quick-link {
  display: block;
  color: rgba(170,105,245,0.85) !important;
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-decoration: none !important;
  padding: 7px 0;
  border-bottom: 1px solid rgba(70,0,120,0.22);
  transition: color 0.2s, text-shadow 0.2s;
}
.quick-link:last-child { border: none; }
.quick-link:hover {
  color: #f0d8ff !important;
  text-shadow: 0 0 8px var(--glow);
}
.quick-link::before { content: '✦ '; font-size: 0.45rem; opacity: 0.65; }

/* Stat rows */
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(70,0,120,0.2);
  color: rgba(160,110,230,0.8);
}
.stat-row:last-child { border: none; }
.stat-val {
  color: #ddb8ff;
  text-shadow: 0 0 6px rgba(180,100,255,0.5);
  font-weight: 300;
}

/* ── Section divider ────────────────────────────────────────── */
.section-divider {
  text-align: center;
  color: rgba(80,0,140,0.3);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  margin: 8px 0;
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(40,0,70,0.5);
  padding: 28px 0 24px;
  margin-top: 16px;
  text-align: center;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(80,30,120,0.6);
  line-height: 2.2;
}
footer p { color: rgba(80,30,120,0.6); margin: 0; }
footer a { color: rgba(100,40,160,0.7) !important; text-decoration: none !important; }
footer a:hover { color: var(--glow) !important; }
.footer-ornament {
  color: rgba(60,0,100,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  margin-bottom: 10px;
}

/* ── Django messages ────────────────────────────────────────── */
.alert {
  border-radius: 4px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}
.alert-info    { background: rgba(20,0,50,0.7); color: #c89eff; border-color: rgba(100,0,200,0.4); }
.alert-success { background: rgba(0,30,10,0.7);  color: #80ffb0; border-color: rgba(0,150,80,0.4); }
.alert-warning { background: rgba(40,20,0,0.7);  color: #ffda80; border-color: rgba(160,100,0,0.4); }
.alert-danger  { background: rgba(50,0,0,0.7);   color: #ff8080; border-color: rgba(160,0,0,0.4); }

/* ── Generic page content (non-homepage pages) ─────────────── */
.rv-page-content {
  padding: 24px 0 48px;
}
.rv-page-content h1, .rv-page-content h2, .rv-page-content h3,
.rv-page-content h4, .rv-page-content h5, .rv-page-content h6 {
  color: #e8d8ff;
  font-family: 'Cinzel Decorative', serif;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.rv-page-content p { color: rgba(185,135,245,0.88); line-height: 1.85; }
.rv-page-content a { color: #9b4dcc !important; }
.rv-page-content a:hover { color: var(--glow) !important; }
.rv-page-content table { width: 100%; border-collapse: collapse; }
.rv-page-content th { color: var(--glow); border-bottom: 1px solid rgba(90,0,160,0.35); padding: 8px; font-family: 'Cinzel Decorative', serif; font-size: 0.62rem; letter-spacing: 0.2em; }
.rv-page-content td { border-bottom: 1px solid rgba(70,0,120,0.2); padding: 8px; color: rgba(175,120,240,0.85); font-size: 0.8rem; }
code {
  background: rgba(60,0,100,0.5);
  color: #c084fc;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 0.85em;
}

/* Bootstrap card override (for non-homepage pages) */
.card {
  background: linear-gradient(160deg, rgba(20,2,42,0.55) 0%, rgba(10,0,28,0.65) 100%) !important;
  border: 1px solid rgba(130,0,200,0.28) !important;
  border-radius: 10px !important;
  color: #c89eff !important;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.card-header {
  background: rgba(4,0,10,0.95) !important;
  border-bottom: 1px solid rgba(36,0,69,1) !important;
  color: #ddc8ff !important;
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}
.card-body { color: #c89eff !important; }
.dropdown-menu {
  background: rgba(5,0,12,0.99) !important;
  border: 1px solid rgba(42,0,80,1) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.85) !important;
  border-radius: 2px !important;
}
.dropdown-item { color: #a880cc !important; font-size: 0.8rem; }
.dropdown-item:hover { background: rgba(80,0,140,0.22) !important; color: #e8d8ff !important; }

/* ── Pagination ─────────────────────────────────────────────── */
.pagination { justify-content: center; gap: 4px; }
.page-item .page-link {
  background: rgba(20,2,42,0.6) !important;
  border-color: rgba(90,0,160,0.4) !important;
  color: rgba(180,110,255,0.8) !important;
  font-size: 0.72rem;
}
.page-item.active .page-link {
  background: rgba(90,0,160,0.5) !important;
  border-color: var(--glow) !important;
  color: #fff !important;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 700px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .panel-connect { display: none; }
  .mobile-cta { display: block; }
  .logo { font-size: clamp(3rem, 16vw, 5rem); }
  header { padding: 32px 16px 24px; }
}
@media (max-width: 479px) {
  .tagline { font-size: 0.55rem; letter-spacing: 0.3em; }
  .counter-value { font-size: 1.5rem; }
}
