:root {
  --bg-void: #090a0f;
  --bg-stone: #161720;
  --accent-gold: #e6b31e;
  --accent-gold-dark: #b58810;
  --mana-cyan: #2bd1fc;
  --text-main: #d1d5db;
  --text-muted-color: #a0aec0;
  --gold-bright: #ffdf00;
  --stone-light: #2a2b38;
  --stone-dark: #12131a;
  --glass-border: rgba(255, 255, 255, 0.05);
  --hub-depth: #090a0f;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-void);
  color: var(--text-main);
  font-family: "Exo 2", sans-serif;
  background-image: url("https://www.transparenttextures.com/patterns/dark-matter.png"), radial-gradient(circle at 50% 0%, #161720 0%, #090a0f 70%);
  background-attachment: fixed;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

.brand-font {
  font-family: "Cinzel", serif;
}

.text-cyan {
  color: var(--mana-cyan);
}

.text-gold {
  color: var(--accent-gold);
}

.text-muted {
  color: var(--text-muted-color) !important;
  line-height: 1.6;
}

section, [id] {
  scroll-margin-top: 100px;
}

.btn-epic {
  background: linear-gradient(180deg, #1f202e 0%, #161720 100%);
  border: 2px solid var(--accent-gold-dark);
  color: var(--accent-gold);
  font-family: "Cinzel", serif;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 12px 35px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  outline: 1px solid rgba(230, 179, 30, 0.3);
  outline-offset: 2px;
}
.btn-epic:hover {
  background: var(--accent-gold);
  color: var(--bg-void);
  box-shadow: 0 0 20px rgba(230, 179, 30, 0.4);
}
.btn-epic.success-state {
  background: var(--bg-stone) !important;
  color: #00ff88 !important;
  border-color: #00ff88 !important;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.6), inset 0 0 10px rgba(0, 255, 136, 0.3) !important;
  pointer-events: none;
  transition: all 0.3s ease;
}

.navbar-epic {
  background: rgba(9, 10, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 179, 30, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  padding: 15px 0;
}
.navbar-epic .nav-link {
  color: var(--text-main) !important;
  font-family: "Cinzel", serif;
  letter-spacing: 2px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 15px;
}
.navbar-epic .nav-link:hover {
  color: var(--accent-gold) !important;
  text-shadow: 0 0 15px rgba(230, 179, 30, 0.6);
}
.navbar-epic .nav-link:hover::after {
  width: 80%;
}
.navbar-epic .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--accent-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-lounge {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  min-width: 600px;
  background: rgba(13, 14, 20, 0.8);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  padding: 10px 30px;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-lounge .nav-brand {
  font-family: "Cinzel", serif;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.navbar-lounge .nav-brand span {
  color: var(--mana-cyan);
}
.navbar-lounge .nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar-lounge .nav-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-family: "Exo 2", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
}
.navbar-lounge .nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.navbar-lounge .nav-auth .btn-portal {
  background: var(--mana-cyan);
  color: #000;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.8rem;
  text-decoration: none;
  transition: 0.3s;
}
.navbar-lounge .nav-auth .btn-portal:hover {
  box-shadow: 0 0 15px var(--mana-cyan);
  transform: scale(1.05);
}

.nav-bridge {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(10, 11, 16, 0.95);
  backdrop-filter: blur(20px);
  padding: 15px 60px;
  border-bottom: 2px solid var(--mana-cyan);
  clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
  box-shadow: 0 5px 30px rgba(43, 209, 252, 0.2);
  display: flex;
  align-items: center;
  gap: 50px;
}
.nav-bridge .bridge-logo {
  font-family: "Cinzel", serif;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: 5px;
  font-size: 1.4rem;
}
.nav-bridge .bridge-logo span {
  color: var(--mana-cyan);
}
.nav-bridge .bridge-links {
  display: flex;
  gap: 35px;
  list-style: none;
  margin: 0;
}
.nav-bridge .bridge-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.4s;
  position: relative;
}
.nav-bridge .bridge-links a:hover {
  color: var(--mana-cyan);
}
.nav-bridge .bridge-links a:hover::after {
  width: 100%;
}
.nav-bridge .bridge-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mana-cyan);
  transition: 0.3s;
}

.portal-nav {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 209, 252, 0.2);
  padding: 15px 0;
  z-index: 1000;
}
.portal-nav .nav-logo {
  font-family: "Cinzel", serif;
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: #fff;
}
.portal-nav .nav-logo span {
  color: var(--mana-cyan);
}
.portal-nav .nav-item-link {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-decoration: none;
}
.portal-nav .nav-item-link:hover {
  color: var(--mana-cyan);
}

.nav-astral {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(9, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(43, 209, 252, 0.15);
  padding: 10px 40px;
  clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(43, 209, 252, 0.05);
}
.nav-astral .nav-brand {
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: 4px;
  margin-right: 40px;
  text-shadow: 0 0 15px rgba(43, 209, 252, 0.6);
}
.nav-astral .nav-brand span {
  color: var(--mana-cyan);
}
.nav-astral .nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
}
.nav-astral .nav-links a {
  font-family: "Exo 2", sans-serif;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.3s;
  position: relative;
}
.nav-astral .nav-links a::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--mana-cyan);
  border-radius: 50%;
  opacity: 0;
  transition: 0.3s;
  box-shadow: 0 0 10px var(--mana-cyan);
}
.nav-astral .nav-links a:hover, .nav-astral .nav-links a.active {
  color: #fff;
}
.nav-astral .nav-links a:hover::after, .nav-astral .nav-links a.active::after {
  opacity: 1;
  bottom: -5px;
}
.nav-astral .nav-auth-btn {
  margin-left: 40px;
  background: linear-gradient(45deg, var(--mana-cyan), rgb(2.6930232558, 151.7069767442, 190.3069767442));
  border: none;
  padding: 8px 25px;
  color: #000;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 1px;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
  transition: 0.3s;
  text-decoration: none;
}
.nav-astral .nav-auth-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--mana-cyan);
  color: #000;
}

.gameslounge-navbar {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 950px;
  height: 60px;
  z-index: 1050;
  background: linear-gradient(90deg, transparent, rgba(43, 209, 252, 0.3), transparent);
  padding: 1px 0;
  clip-path: polygon(25px 50%, 0 0, 100% 0, calc(100% - 25px) 50%, 100% 100%, 0 100%);
}
.gameslounge-navbar .navbar-inner {
  background: rgba(8, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 45px 0 50px;
  clip-path: polygon(24px 50%, 0 0, 100% 0, calc(100% - 24px) 50%, 100% 100%, 0 100%);
}
.gameslounge-navbar .navbar-inner .nav-brand {
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: 3px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}
.gameslounge-navbar .navbar-inner .nav-brand span {
  color: var(--mana-cyan);
}
.gameslounge-navbar .navbar-inner .nav-links {
  display: flex;
  gap: 40px;
}
.gameslounge-navbar .navbar-inner .nav-links a {
  font-family: "Exo 2", sans-serif;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.3s;
}
.gameslounge-navbar .navbar-inner .nav-links a:hover {
  color: var(--mana-cyan);
  text-shadow: 0 0 10px rgba(43, 209, 252, 0.5);
}
.gameslounge-navbar .navbar-inner .btn-initialize-nav {
  background: var(--mana-cyan);
  color: #000;
  font-family: "Exo 2", sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 25px;
  clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(43, 209, 252, 0.3);
}
.gameslounge-navbar .navbar-inner .btn-initialize-nav:hover {
  background: #fff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.5rem;
  }
  .navbar-nav {
    gap: 0.5rem;
  }
  .dropdown-menu.custom-2columns {
    min-width: 100%;
  }
  .dropdown-menu.custom-2columns .row {
    flex-direction: column;
  }
  .dropdown-menu.custom-2columns .col-6 {
    padding: 10px 0;
  }
}
.floating-home {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background: rgba(9, 10, 15, 0.9);
  border: 1px solid var(--mana-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mana-cyan);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 9999;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 20px rgba(43, 209, 252, 0.2);
  text-decoration: none;
}
.floating-home:hover {
  transform: scale(1.1) rotate(5deg);
  background: var(--mana-cyan);
  color: #000;
  box-shadow: 0 0 40px var(--mana-cyan);
}
.floating-home::before {
  content: "RETURN TO HUB";
  position: absolute;
  right: 80px;
  background: #000;
  color: #fff;
  padding: 5px 15px;
  border-radius: 4px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  white-space: nowrap;
}
.floating-home:hover::before {
  opacity: 1;
  right: 70px;
}

.portal-footer {
  background: #020305;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(43, 209, 252, 0.1);
}
.portal-footer .footer-header {
  font-family: "Exo 2", sans-serif;
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--mana-cyan);
  letter-spacing: 3px;
  margin-bottom: 25px;
  text-transform: uppercase;
  opacity: 0.7;
}
.portal-footer .footer-header::before {
  content: "// ";
}
.portal-footer .footer-link {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.8rem;
  text-decoration: none;
  transition: 0.3s;
  display: block;
  margin-bottom: 10px;
}
.portal-footer .footer-link:hover {
  color: var(--mana-cyan) !important;
  padding-left: 5px;
}
.portal-footer .copyright-bar {
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 9px;
  color: #333;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hub-astral-wrapper {
  background-color: #050608;
  background-image: linear-gradient(rgba(5, 6, 8, 0.99), rgba(5, 6, 8, 0.99)), url("/media/hub/nebula_overlay.png"), radial-gradient(circle at 20% 30%, rgba(43, 209, 252, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(192, 160, 94, 0.03) 0%, transparent 50%);
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  padding-top: 150px;
  overflow-x: hidden;
  position: relative;
}
.hub-astral-wrapper::before {
  content: "";
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mana-cyan), transparent);
  opacity: 0.2;
  z-index: 5;
}
.hub-astral-wrapper .hero-diagonal {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  margin-bottom: 80px;
}
.hub-astral-wrapper .hero-diagonal::after {
  content: "";
  position: absolute;
  top: -40px;
  right: 5%;
  width: 400px;
  height: 1px;
  background: var(--mana-cyan);
  transform: rotate(-45deg);
  opacity: 0.15;
  box-shadow: 0 0 15px var(--mana-cyan);
}
.hub-astral-wrapper .hero-diagonal .hero-content {
  width: 50%;
  padding-left: 5%;
  z-index: 10;
}
.hub-astral-wrapper .hero-diagonal .hero-content h1 {
  font-size: 6rem;
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(43, 209, 252, 0.2));
}
.hub-astral-wrapper .hero-diagonal .hero-visual-slice {
  position: absolute;
  top: -150px;
  right: -10%;
  width: 70%;
  height: 120%;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  background: url("/media/hyscape/hyscape_hero_wide.jpg") center/cover no-repeat;
  z-index: 1;
}
.hub-astral-wrapper .hero-diagonal .hero-visual-slice::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(5, 6, 8, 0.2), rgb(5, 6, 8));
}
.hub-astral-wrapper .hero-diagonal .hero-character-wrapper {
  position: absolute;
  right: 5%;
  top: 50%;
  margin-top: -250px;
  width: 40%;
  max-width: 750px;
  display: flex;
  justify-content: center;
  z-index: 15;
  pointer-events: none;
}
.hub-astral-wrapper .hero-diagonal .hero-character-wrapper img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(43, 209, 252, 0.3));
  animation: idle-hover 6s ease-in-out infinite alternate;
  transform-origin: bottom center;
}
.hub-astral-wrapper .loot-ticker {
  background: rgba(192, 160, 94, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 0;
  margin-bottom: 60px;
  overflow: hidden;
  white-space: nowrap;
}
.hub-astral-wrapper .loot-ticker .ticker-content {
  display: inline-block;
  animation: ticker-scroll 45s linear infinite;
}
.hub-astral-wrapper .loot-ticker .win-entry {
  display: inline-block;
  margin-right: 80px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}
.hub-astral-wrapper .loot-ticker .win-entry strong {
  color: var(--accent-gold);
}
.hub-astral-wrapper .section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(43, 209, 252, 0.2);
  padding-bottom: 15px;
  margin-bottom: 30px;
}
.hub-astral-wrapper .section-title-wrap h2 {
  margin: 0;
}
.hub-astral-wrapper .section-title-wrap .btn-view-all {
  color: var(--mana-cyan);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 2px;
  text-decoration: none;
  transition: 0.3s;
}
.hub-astral-wrapper .section-title-wrap .btn-view-all:hover {
  text-shadow: 0 0 10px var(--mana-cyan);
  padding-right: 5px;
}
.hub-astral-wrapper .major-realm-portal {
  position: relative;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.hub-astral-wrapper .major-realm-portal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-top: 2px solid var(--mana-cyan);
  border-left: 2px solid var(--mana-cyan);
  z-index: 5;
  opacity: 0.5;
  transition: 0.5s;
}
.hub-astral-wrapper .major-realm-portal::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid var(--mana-cyan);
  border-right: 2px solid var(--mana-cyan);
  z-index: 5;
  opacity: 0.5;
  transition: 0.5s;
}
.hub-astral-wrapper .major-realm-portal:hover {
  border-color: rgba(43, 209, 252, 0.3);
  box-shadow: 0 20px 50px rgba(43, 209, 252, 0.15);
}
.hub-astral-wrapper .major-realm-portal:hover .portal-bg {
  transform: scale(1.05);
}
.hub-astral-wrapper .major-realm-portal:hover::before, .hub-astral-wrapper .major-realm-portal:hover::after {
  opacity: 1;
  width: 50px;
  height: 50px;
}
.hub-astral-wrapper .major-realm-portal .portal-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: 0.8s;
}
.hub-astral-wrapper .major-realm-portal .portal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #050608 15%, transparent 85%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  z-index: 2;
}
.hub-astral-wrapper .minor-realms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.hub-astral-wrapper .minor-realms-grid .minor-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.hub-astral-wrapper .minor-realms-grid .minor-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 2px;
  background: var(--mana-cyan);
  transition: 0.5s;
}
.hub-astral-wrapper .minor-realms-grid .minor-card:hover {
  background: rgba(43, 209, 252, 0.05);
  border-color: rgba(43, 209, 252, 0.3);
  transform: translateY(-3px);
}
.hub-astral-wrapper .minor-realms-grid .minor-card:hover::after {
  left: 100%;
}
.hub-astral-wrapper .minor-realms-grid .minor-card h5 {
  font-family: "Exo 2", sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 5px 0;
  letter-spacing: 1px;
}
.hub-astral-wrapper .minor-realms-grid .minor-card .status {
  font-size: 0.65rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hub-astral-wrapper .stream-widget .stream-header {
  font-family: "Cinzel", serif;
  color: var(--accent-gold);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 25px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 15px;
}
.hub-astral-wrapper .stream-widget .stream-header::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(192, 160, 94, 0.4), transparent);
}
.hub-astral-wrapper .vault-segment {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 100px 0;
  margin-top: 100px;
  background: linear-gradient(180deg, transparent, rgba(13, 15, 23, 0.8) 20%, rgba(13, 15, 23, 0.8) 80%, transparent);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(192, 160, 94, 0.15);
  border-bottom: 1px solid rgba(192, 160, 94, 0.15);
}
.hub-astral-wrapper .vault-segment .segment-title {
  font-size: 3.5rem;
}
.hub-astral-wrapper .vault-segment .segment-title span {
  color: var(--accent-gold);
  text-shadow: 0 0 20px rgba(192, 160, 94, 0.4);
}
.hub-astral-wrapper .vault-segment .vault-visual-container {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-astral-wrapper .vault-segment .vault-visual-container .spinning-ring {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(192, 160, 94, 0.2);
  border-radius: 50%;
  animation: rotate-nexus 25s linear infinite;
}
.hub-astral-wrapper .vault-segment .vault-visual-container i.bi-safe2 {
  font-size: 6rem;
  color: var(--accent-gold);
  filter: drop-shadow(0 0 25px rgba(192, 160, 94, 0.4));
  animation: pulse-gold 4s ease-in-out infinite;
}

.cyber-badge {
  background: rgba(43, 209, 252, 0.15);
  border: 1px solid var(--mana-cyan);
  color: var(--mana-cyan) !important;
  padding: 6px 15px;
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-shadow: 0 0 8px rgba(43, 209, 252, 0.6);
  box-shadow: inset 0 0 10px rgba(43, 209, 252, 0.2);
  text-transform: uppercase;
}

.btn-initialize {
  position: relative;
  background: rgba(43, 209, 252, 0.05);
  border: 1px solid var(--mana-cyan);
  color: var(--mana-cyan) !important;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 3px;
  padding: 12px 40px;
  overflow: hidden;
  transition: 0.4s;
  text-shadow: 0 0 10px rgba(43, 209, 252, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.btn-initialize::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(43, 209, 252, 0.5), transparent);
  transition: 0.5s;
}
.btn-initialize:hover {
  background: var(--mana-cyan);
  color: #000 !important;
  box-shadow: 0 0 25px rgba(43, 209, 252, 0.6);
  text-shadow: none;
}
.btn-initialize:hover::before {
  left: 100%;
}

.platform-tag {
  width: -moz-fit-content;
  width: fit-content;
  background: var(--mana-cyan);
  color: #000;
  font-family: "Exo 2", sans-serif;
  font-weight: 900;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 3px 20px;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  margin-bottom: 15px;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes rotate-nexus {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse-gold {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}
@keyframes float-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
@keyframes idle-hover {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20px);
  }
}
:root {
  --mana-cyan: #2bd1fc;
  --accent-gold: #c0a05e;
  --accent-purple: #a855f7;
  --card-bg: #0a0c10;
}

.servers-astral-wrapper {
  min-height: 100vh;
  background-color: #050608;
  position: relative;
  padding-bottom: 100px;
  overflow: hidden;
}
.servers-astral-wrapper .ambient-particles {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(43, 209, 252, 0.08) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
  animation: breathe 8s infinite alternate ease-in-out;
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpAnim 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.cyber-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 14px;
  transform: skewX(-20deg);
}
.cyber-badge span {
  transform: skewX(20deg);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 1.5px;
}
.cyber-badge.bg-cyan {
  background: var(--mana-cyan);
}
.cyber-badge.bg-cyan span {
  color: #000;
}
.cyber-badge.bg-purple {
  background: var(--accent-purple);
}
.cyber-badge.bg-purple span {
  color: #fff;
}
.cyber-badge.bg-gold {
  background: var(--accent-gold);
}
.cyber-badge.bg-gold span {
  color: #000;
}

.spec-tag {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.65rem;
  color: var(--mana-cyan);
  background: rgba(43, 209, 252, 0.05);
  border: 1px solid rgba(43, 209, 252, 0.2);
  padding: 3px 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
}

.purple-specs .spec-tag {
  color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.05);
  border-color: rgba(168, 85, 247, 0.2);
}

.gold-specs .spec-tag {
  color: var(--accent-gold);
  background: rgba(192, 160, 94, 0.05);
  border-color: rgba(192, 160, 94, 0.2);
}

.btn-cyber-cyan {
  background: rgba(43, 209, 252, 0.05);
  border: 1px solid var(--mana-cyan);
  color: var(--mana-cyan);
  font-weight: 800;
  transition: 0.3s ease;
  border-radius: 0;
}
.btn-cyber-cyan:hover {
  background: var(--mana-cyan);
  color: #000;
  box-shadow: 0 0 20px rgba(43, 209, 252, 0.4);
}

.btn-icon-cyan {
  background: rgba(43, 209, 252, 0.05);
  border: 1px solid var(--mana-cyan);
  color: var(--mana-cyan);
  transition: 0.3s ease;
  border-radius: 0;
  width: 48px;
}
.btn-icon-cyan:hover, .btn-icon-cyan.copied {
  background: var(--mana-cyan);
  color: #000;
  box-shadow: 0 0 20px rgba(43, 209, 252, 0.4);
}

.btn-cyber-purple {
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid var(--accent-purple);
  color: var(--accent-purple);
  font-weight: 800;
  transition: 0.3s ease;
  border-radius: 0;
}
.btn-cyber-purple:hover {
  background: var(--accent-purple);
  color: #fff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.btn-icon-purple {
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid var(--accent-purple);
  color: var(--accent-purple);
  transition: 0.3s ease;
  border-radius: 0;
  width: 48px;
}
.btn-icon-purple:hover, .btn-icon-purple.copied {
  background: var(--accent-purple);
  color: #fff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.btn-cyber-locked {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
  font-weight: 800;
  border-radius: 0;
}

.network-hud-wrapper {
  position: relative;
  z-index: 10;
}

.hud-box {
  display: flex;
  align-items: center;
  background: rgba(10, 12, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 3px solid rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  height: 100%;
  transition: 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hud-box .hud-icon {
  font-size: 1.8rem;
  margin-right: 15px;
  opacity: 0.8;
}
.hud-box .hud-data {
  display: flex;
  flex-direction: column;
}
.hud-box .hud-data .hud-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 2px;
}
.hud-box .hud-data .hud-value {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 1px;
}
.hud-box .hud-data .hud-value .hud-sub {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-left: 4px;
  font-family: sans-serif;
}
.hud-box .text-cyan {
  color: var(--mana-cyan) !important;
}
.hud-box:hover {
  background: rgba(10, 12, 16, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.hud-box.active-pulse {
  border-left-color: #00ff88;
  box-shadow: -5px 0 15px -5px rgba(0, 255, 136, 0.2);
}
.hud-box.active-pulse .hud-icon {
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.realm-card {
  position: relative;
  height: 480px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 3px solid var(--mana-cyan);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.realm-card.cyber-glass {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.realm-card .realm-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 1s ease;
}
.realm-card .realm-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(10, 12, 16, 0.2) 0%, rgba(10, 12, 16, 0.85) 60%, rgb(10, 12, 16) 100%);
}
.realm-card .realm-overlay.cyber-pattern {
  background-image: linear-gradient(to bottom, rgba(10, 12, 16, 0.4) 0%, rgb(10, 12, 16) 100%), repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(43, 209, 252, 0.03) 20px), repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(43, 209, 252, 0.03) 20px);
}
.realm-card .realm-content {
  position: relative;
  z-index: 3;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.realm-card .realm-content .realm-title {
  font-family: "Cinzel", serif;
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.realm-card .realm-content .realm-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.5;
}
.realm-card .scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--mana-cyan), transparent);
  opacity: 0.6;
  z-index: 4;
  animation: cyber-scan 3.5s linear infinite;
  pointer-events: none;
}
.realm-card:hover {
  transform: translateY(-8px);
  border-color: var(--mana-cyan);
  box-shadow: 0 15px 40px rgba(43, 209, 252, 0.15);
}
.realm-card:hover .realm-bg {
  transform: scale(1.08);
}
.realm-card.purple-accent {
  border-top-color: var(--accent-purple);
}
.realm-card.purple-accent .scanline {
  background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
}
.realm-card.purple-accent .realm-overlay.cyber-pattern {
  background-image: linear-gradient(to bottom, rgba(10, 12, 16, 0.4) 0%, rgb(10, 12, 16) 100%), repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(168, 85, 247, 0.03) 20px), repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(168, 85, 247, 0.03) 20px);
}
.realm-card.purple-accent:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 15px 40px rgba(168, 85, 247, 0.15);
}
.realm-card.locked {
  border-top-color: var(--accent-gold);
}
.realm-card.locked .realm-bg {
  filter: grayscale(100%) opacity(0.3);
}
.realm-card.locked .text-gold {
  color: var(--accent-gold);
}
.realm-card.locked .scanline {
  display: none;
}
.realm-card.locked:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
}
.status-dot.pulse-success {
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  animation: pulse-opacity 2s infinite;
}
.status-dot.pulse-warning {
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
}

.toggle-pass-icon {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.4);
  transition: 0.3s;
}
.toggle-pass-icon:hover {
  color: var(--mana-cyan);
}

.global-terminal {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(5, 6, 8, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-family: "Courier New", Courier, monospace;
  z-index: 10;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: text;
}
.global-terminal .terminal-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 15px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.global-terminal .terminal-header .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
}
.global-terminal .terminal-header .dot.red {
  background: #ff5f56;
}
.global-terminal .terminal-header .dot.yellow {
  background: #ffbd2e;
}
.global-terminal .terminal-header .dot.green {
  background: #27c93f;
}
.global-terminal .terminal-header .title {
  margin-left: 10px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: bold;
  letter-spacing: 1px;
}
.global-terminal .terminal-body {
  padding: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  height: 250px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--mana-cyan) transparent;
}
.global-terminal .terminal-body::-webkit-scrollbar {
  width: 6px;
}
.global-terminal .terminal-body::-webkit-scrollbar-thumb {
  background: var(--mana-cyan);
  border-radius: 3px;
}
.global-terminal .terminal-body p {
  margin-bottom: 5px;
}
.global-terminal .terminal-body .prompt {
  color: var(--mana-cyan);
  font-weight: bold;
  margin-right: 8px;
}
.global-terminal .terminal-body .text-success {
  color: #00ff88 !important;
  text-shadow: 0 0 5px rgba(0, 255, 136, 0.3);
}
.global-terminal .terminal-body .text-danger {
  color: #ff3366 !important;
  text-shadow: 0 0 5px rgba(255, 51, 102, 0.3);
}
.global-terminal .terminal-body .text-warning {
  color: var(--accent-gold) !important;
}
.global-terminal .terminal-body .terminal-input-row {
  display: flex;
  align-items: center;
}
.global-terminal .terminal-body .terminal-input {
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  flex-grow: 1;
  caret-color: var(--mana-cyan);
}

.glitch-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.glitch-overlay.active {
  display: flex !important;
  animation: bg-flicker 0.1s infinite;
}
.glitch-overlay .glitch-text {
  font-family: "Courier New", Courier, monospace;
  font-size: 5rem;
  font-weight: 900;
  color: #ff3366;
  position: relative;
  text-shadow: 0 0 20px rgba(255, 51, 102, 0.8);
}
.glitch-overlay .glitch-text::before, .glitch-overlay .glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.glitch-overlay .glitch-text::before {
  left: 4px;
  text-shadow: -2px 0 #00ff88;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}
.glitch-overlay .glitch-text::after {
  left: -4px;
  text-shadow: -2px 0 var(--mana-cyan);
  clip-path: polygon(0 80%, 100% 20%, 100% 100%, 0 100%);
  animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes fadeUpAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes breathe {
  0% {
    opacity: 0.5;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}
@keyframes cyber-scan {
  0% {
    top: -10%;
  }
  100% {
    top: 110%;
  }
}
@keyframes pulse-opacity {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
@keyframes bg-flicker {
  0% {
    background: #000;
  }
  50% {
    background: #0a0000;
  }
  100% {
    background: #000;
  }
}
@keyframes glitch-anim-1 {
  0% {
    clip-path: inset(20% 0 80% 0);
  }
  20% {
    clip-path: inset(60% 0 10% 0);
  }
  40% {
    clip-path: inset(40% 0 50% 0);
  }
  60% {
    clip-path: inset(80% 0 5% 0);
  }
  80% {
    clip-path: inset(10% 0 70% 0);
  }
  100% {
    clip-path: inset(30% 0 40% 0);
  }
}
@keyframes glitch-anim-2 {
  0% {
    clip-path: inset(10% 0 60% 0);
  }
  20% {
    clip-path: inset(30% 0 20% 0);
  }
  40% {
    clip-path: inset(70% 0 10% 0);
  }
  60% {
    clip-path: inset(20% 0 50% 0);
  }
  80% {
    clip-path: inset(90% 0 5% 0);
  }
  100% {
    clip-path: inset(5% 0 80% 0);
  }
}
.hyscape-body {
  background-color: var(--bg-void);
}

.server-status-bar {
  background: linear-gradient(90deg, #12131a, #1c1d28, #12131a);
  border: 1px solid #2a2b38;
  border-radius: 4px;
  padding: 15px 30px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 20;
  margin-top: -30px;
}

.status-dot, .status-dot-offline {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.status-dot {
  background-color: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  animation: pulse-green 2s infinite;
}

.status-dot-offline {
  background-color: #ff4444;
  box-shadow: 0 0 10px #ff4444;
  animation: pulse-red 2s infinite;
}

.status-text {
  font-family: "Exo 2", sans-serif;
  color: #a0aec0;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.status-value {
  color: var(--mana-cyan);
  font-family: "Cinzel", serif;
  font-weight: bold;
  font-size: 1.2rem;
  text-shadow: 0 0 10px rgba(43, 209, 252, 0.4);
}

.hero-title {
  background: linear-gradient(to bottom, #ffffff 20%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 15px rgba(230, 179, 30, 0.4));
  font-weight: 900;
}

.fantasy-card {
  background: linear-gradient(145deg, #1c1d28, #12131a);
  border: 2px solid #2a2b38;
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.fantasy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0;
  transition: 0.4s;
}
.fantasy-card:hover {
  transform: translateY(-8px);
  border-color: #3d3f52;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(230, 179, 30, 0.1);
}
.fantasy-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  filter: drop-shadow(0 0 10px var(--accent-gold));
}

.forge-progress-bg {
  background: #0d0e15;
  border: 1px solid #2a2b38;
  border-radius: 4px;
  height: 12px;
  overflow: hidden;
  position: relative;
}

.forge-progress-bar {
  background: linear-gradient(90deg, #165b7a, var(--mana-cyan));
  height: 100%;
  box-shadow: 0 0 15px var(--mana-cyan);
  position: relative;
}
.forge-progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.1) 75%, transparent 75%, transparent);
  background-size: 20px 20px;
  animation: moveStripes 2s linear infinite;
}

.news-card {
  background: linear-gradient(180deg, rgba(28, 29, 40, 0.9) 0%, rgba(18, 19, 26, 0.95) 100%);
  border-left: 3px solid var(--accent-gold);
  padding: 20px;
  transition: 0.3s;
  text-decoration: none;
  display: block;
  margin-bottom: 15px;
}
.news-card:hover {
  background: rgba(42, 43, 56, 0.9);
  transform: translateX(10px);
}

.community-image-wrap {
  position: relative;
  border: 2px solid var(--stone-light);
  padding: 8px;
  background: var(--bg-stone);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: 0.4s ease;
}

.floating-element {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}
@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
  }
}
@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
  }
}
@keyframes moveStripes {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 20px 0;
  }
}
:root {
  --hub-bg: #0a0c10;
  --panel-bg: rgba(14, 18, 28, 0.75);
  --panel-border: rgba(0, 229, 255, 0.14);
  --accent-cyan: rgba(0, 229, 255, 0.6);
  --accent-blue: #00b9ff;
  --accent-gold: #ffb300;
  --text-main: #b9bbbe;
  --text-muted: #94a3b8;
  --text-bright: #dcddde;
  --cyan-glow: #00eeff25;
  --text-header: #dcddde;
  --text-normal: #b9bbbe;
  --text-link: #00b0f4;
  --hover-bg: rgba(0, 229, 255, 0.08);
  --bg-header: #0a0c10;
  --border-subtle: rgba(255, 255, 255, 0.05);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-cyan: 0 0 15px rgba(0, 229, 255, 0.25);
  --font-cyber: 'Inter', sans-serif;
}

body:has(.forum-astral-wrapper) {
  overflow: hidden;
}
body:has(.forum-astral-wrapper) footer, body:has(.forum-astral-wrapper) .site-footer {
  display: none !important;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(0, 229, 255, 0.1);
  border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

.forum-astral-wrapper {
  height: 100vh;
  background: radial-gradient(circle at top, #131a2a 0%, var(--hub-bg) 100%);
  position: relative;
  overflow: hidden;
  color: var(--text-main);
  font-family: var(--font-cyber);
  display: flex;
  flex-direction: column;
  padding-top: 0;
}
.forum-astral-wrapper .ambient-particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 50%, rgba(0, 229, 255, 0.03) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}
.forum-astral-wrapper .forum-container {
  height: calc(100vh - 80px);
  margin-top: 10px;
  position: relative;
  z-index: 2;
}

.hub-grid {
  display: grid;
  grid-template-columns: 76px 280px 1fr 300px;
  gap: 15px;
  height: calc(100vh - 100px);
  margin-top: auto;
  margin-bottom: 15px;
  padding-bottom: 0;
}

.cyber-panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.platform-rail {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.platform-rail .rail-stack {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.platform-rail .platform-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}
.platform-rail .platform-icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 14px;
}
.platform-rail .platform-icon .short-name {
  font-weight: 800;
  color: var(--text-muted);
  font-size: 0.7rem;
}
.platform-rail .platform-icon:hover {
  background: var(--hover-bg);
  transform: translateY(-2px);
  border-radius: 10px;
}
.platform-rail .platform-icon.active {
  border: 2px solid var(--accent-cyan);
  box-shadow: var(--shadow-cyan);
  background: rgba(0, 229, 255, 0.1);
  border-radius: 12px;
}
.platform-rail .platform-icon.active .short-name {
  color: var(--accent-cyan);
}
.platform-rail .online-pill {
  text-align: center;
}
.platform-rail .online-pill .dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: block;
  margin: 0 auto 5px;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 2s infinite;
}
.platform-rail .online-pill .num {
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--text-header) !important;
}
.platform-rail .online-pill .lbl {
  font-size: 0.5rem;
  letter-spacing: 0.5px;
  font-weight: 700;
  opacity: 0.7;
  text-transform: uppercase;
}

.channels-sidebar .sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--panel-border);
}
.channels-sidebar .sidebar-header .sidebar-header__title {
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent-cyan);
}
.channels-sidebar .sidebar-content {
  padding: 10px;
  flex-grow: 1;
  overflow-y: auto;
}
.channels-sidebar .channel-category__title {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 18px 10px 8px;
  cursor: pointer;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.channels-sidebar .channel-category__title:hover {
  color: #fff;
}
.channels-sidebar .channel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-muted);
  transition: 0.2s;
  margin-bottom: 2px;
}
.channels-sidebar .channel-item i {
  font-size: 1.1rem;
  opacity: 0.7;
}
.channels-sidebar .channel-item:hover {
  background: var(--hover-bg);
  color: #fff;
  transform: translateX(4px);
}
.channels-sidebar .channel-item.active {
  background: rgba(0, 229, 255, 0.1);
  color: var(--text-header) !important;
  font-weight: bold;
  border-left: 3px solid var(--accent-cyan);
}

.main-content-area, .main-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

#chatHistory {
  overflow-anchor: auto !important;
}

#chatHistory, #threadScroller {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
  padding-bottom: 20px;
}

.chat-input-wrapper {
  flex-shrink: 0;
  padding: 0 20px 24px 20px;
  width: 100%;
}

.chat-header-wrapper {
  padding: 0 24px;
  background: var(--bg-main);
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
}
.chat-header .header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.chat-header .header-left .header-back-arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-right: 4px;
  display: flex;
  align-items: center;
  transition: 0.2s;
  text-decoration: none;
}
.chat-header .header-left .header-back-arrow:hover {
  color: #fff;
  transform: translateX(-2px);
}
.chat-header .header-left .btn-back-minimal {
  color: var(--accent-cyan);
  font-size: 1.1rem;
  text-decoration: none;
  transition: 0.2s;
}
.chat-header .header-left .btn-back-minimal:hover {
  transform: translateX(-3px);
  opacity: 0.8;
}
.chat-header .header-left .header-hash {
  color: var(--text-muted);
  font-size: 1.5rem;
  font-weight: 300;
  margin-right: 4px;
}
.chat-header .header-left .header-display-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-header) !important;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
}
.chat-header .header-left .channel-name, .chat-header .header-left .chat-header__title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-header) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}
.chat-header .header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 10px;
}
.chat-header .header-actions .header-icon-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.15rem;
  cursor: pointer;
  padding: 4px;
  transition: 0.2s;
}
.chat-header .header-actions .header-icon-btn:hover {
  color: #fff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}
.chat-header .header-actions .header-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.05rem;
  cursor: pointer;
  padding: 0;
  transition: 0.2s;
}
.chat-header .header-actions .header-btn:hover {
  color: #fff;
  filter: drop-shadow(0 0 5px var(--accent-cyan));
}

.header-line-separator {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.date-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  position: relative;
}
.date-divider::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}
.date-divider span {
  background: var(--bg-dark);
  padding: 0 15px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: capitalize;
  position: relative;
  z-index: 2;
}

.chat-msg {
  position: relative;
  padding: 2px 16px;
  margin-top: 17px;
  width: 100%;
  box-sizing: border-box;
}
.chat-msg:hover {
  background-color: rgba(255, 255, 255, 0.03);
}
.chat-msg__main-row {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-width: 0;
}
.chat-msg .hover-timestamp {
  display: none;
  position: absolute;
  left: 0;
  width: 40px;
  text-align: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 22px;
}
.chat-msg__gutter {
  width: 40px;
  flex-shrink: 0;
  margin-right: 16px;
  display: flex;
  justify-content: center;
  position: relative;
}
.chat-msg__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 1;
}
.chat-msg__content-wrapper {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.chat-msg__header {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
  line-height: 1.375rem;
}
.chat-msg__header .author {
  font-weight: 600;
  color: var(--accent-cyan);
  margin-right: 8px;
}
.chat-msg__header .author:hover {
  text-decoration: underline;
  cursor: pointer;
}
.chat-msg__header .time {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.chat-msg__text {
  color: #dbdee1;
  font-size: 1rem;
  line-height: 1.4;
  margin: 0 !important;
  padding: 0 !important;
  word-wrap: break-word;
}
.chat-msg .discord-reply-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
  padding-left: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.chat-msg .discord-reply-wrapper .discord-reply__bar {
  width: 2px;
  height: 15px;
  background: var(--text-muted);
  border-radius: 2px;
}
.chat-msg .discord-reply-wrapper .discord-reply__name {
  font-weight: 700;
  color: var(--accent-cyan);
}
.chat-msg .discord-reply-wrapper .discord-reply__snippet {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-msg .discord-reply-wrapper::before {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  top: 50%;
  right: 100%;
  bottom: 0;
  left: -33px;
  margin-right: 4px;
  margin-top: -1px;
  border-left: 2px solid #4e5058;
  border-top: 2px solid #4e5058;
  border-top-left-radius: 6px;
}
.chat-msg .discord-reply-wrapper .reply-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 4px;
}
.chat-msg .discord-reply-wrapper .reply-author {
  font-weight: 600;
  margin-right: 4px;
  color: var(--text-bright);
  opacity: 0.8;
}
.chat-msg .discord-reply-wrapper .reply-content {
  font-style: italic;
  opacity: 0.6;
}
.chat-msg .discord-reply-wrapper .reply-content:hover {
  color: #fff;
  opacity: 1;
  cursor: pointer;
}
.chat-msg .discord-reply-wrapper:hover {
  color: rgba(255, 255, 255, 0.6039215686);
}
.chat-msg .discord-reply-wrapper:hover .reply-content {
  text-decoration: underline;
}
.chat-msg.has-reply {
  margin-top: 1.5rem;
}
.chat-msg.grouped {
  margin-top: 2px;
}
.chat-msg.grouped .chat-msg__avatar {
  display: none;
}
.chat-msg.grouped .chat-msg__header {
  display: none;
}
.chat-msg.grouped:hover .hover-timestamp {
  display: block;
}
.chat-msg.grouped:not(.has-reply) {
  margin-top: -2px;
}
.chat-msg.grouped:not(.has-reply) .chat-msg__gutter .chat-avatar {
  visibility: hidden;
}
.chat-msg.grouped:not(.has-reply) .chat-msg__header {
  display: none;
}

.chat-media-wrapper {
  margin-top: 4px;
  min-height: 0;
  display: flex;
  align-items: flex-start;
}

.jumbo-emoji {
  font-size: 3.5rem !important;
  display: inline-block;
  padding: 0;
  line-height: 1.1;
  margin: 4px 0;
}

.jumbo-emoji .msg-body-text {
  font-size: 3.5rem !important;
  line-height: 1;
  display: inline-block;
  margin: 8px 0;
}

.msg-body-text img.emoji,
.msg-body-text span.emoji {
  font-size: 1.4rem;
  vertical-align: middle;
}

.msg-body {
  display: inline;
}

.msg-body-text {
  font-size: 1rem;
  line-height: 1.3;
  word-break: break-word;
  display: block;
}

.edited-badge {
  font-size: 0.65rem;
  opacity: 0.4;
  margin-left: 4px;
  vertical-align: bottom;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.chat-msg.is-mentioned {
  background-color: rgba(250, 166, 26, 0.1) !important;
  border-left: 3px solid #faa61a;
  padding-left: 13px;
  margin-left: -16px;
}
.chat-msg.is-mentioned:hover {
  background-color: rgba(250, 166, 26, 0.15) !important;
}
.chat-msg.is-mentioned .chat-msg__text {
  text-shadow: 0 0 1px rgba(250, 166, 26, 0.2);
}

.chat-msg-img, .chat-msg-video {
  max-width: 100%;
  min-height: 150px;
  max-height: 350px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #1e1f22;
  -o-object-fit: contain;
     object-fit: contain;
}

.chat-msg-video {
  outline: none;
}

.msg-text, .reply-text, .op-body {
  padding: 0 !important;
  margin: 0 !important;
  letter-spacing: 0.2px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  font-size: 16px !important;
  line-height: 1.5;
  color: #e3e5e8;
}
.msg-text .mention-tag, .reply-text .mention-tag, .op-body .mention-tag {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 700;
  border: 1px solid rgba(0, 229, 255, 0.3);
  cursor: pointer;
}
.msg-text .mention-tag:hover, .reply-text .mention-tag:hover, .op-body .mention-tag:hover {
  background: var(--accent-cyan);
  color: #000;
}
.msg-text span.emoji, .reply-text span.emoji, .op-body span.emoji {
  font-size: 25px;
  vertical-align: middle;
}
.msg-text img, .reply-text img, .op-body img {
  max-width: 100%;
  max-height: 350px;
  border-radius: 8px;
  margin: 10px 0;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.op-body {
  white-space: pre-wrap;
  font-size: 1.1rem !important;
}

body:not(.is-superuser) .sys-revoke-btn {
  display: none !important;
}

/* Media / Attachments */
.chat-msg-img, .chat-gif-render, .gif-item {
  display: block;
  max-width: 450px !important;
  max-height: 400px;
  border-radius: 8px;
  margin-top: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-gif-render {
  background: linear-gradient(90deg, #2b2d31 25%, #313338 50%, #2b2d31 75%);
  background-size: 200% 100%;
  animation: loading-pulse 1.5s infinite;
}

.chat-video-render {
  max-width: 400px;
  max-height: 300px;
  border-radius: 8px;
  display: block;
  margin-top: 8px;
  background: #1e1f22;
}

.channel-chat-list .chat-msg {
  margin-bottom: 10px;
}

.replies-list .chat-msg {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 15px;
}

/* Quotes */
.modern-quote, .quote-box {
  background: rgba(0, 229, 255, 0.05);
  border-left: 3px solid var(--accent-cyan);
  padding: 10px 15px;
  margin: 10px 0;
  border-radius: 4px;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quote-header, .quote-author {
  color: var(--accent-cyan);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.quote-body, .quote-content {
  font-size: 0.95rem;
  color: #dbdee1;
  font-style: italic;
}

.new-messages-alert {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-cyan);
  color: #000;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
  text-transform: uppercase;
  animation: slideUp 0.3s ease;
}
.new-messages-alert:hover {
  transform: translateX(-50%) scale(1.05);
}

#replyingToBanner {
  display: block !important;
  background: rgba(0, 238, 255, 0.1) !important;
  border-left: 4px solid #00eeff !important;
  padding: 10px 15px !important;
  margin-bottom: 10px !important;
  animation: slideIn 0.3s ease-out;
}

.tribute-container {
  max-height: 200px;
  overflow-y: auto;
  position: absolute;
  bottom: 100%;
  margin-bottom: 10px;
}

.tribute-container ul {
  margin: 0;
  margin-top: 2px;
  padding: 0;
  list-style: none;
}

.tribute-container li {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #dbdee1;
  transition: background 0.1s;
}

.tribute-container li.highlight {
  background: #3f4147;
  color: #fff;
}

.tribute-container::-webkit-scrollbar {
  width: 6px;
}

.tribute-container::-webkit-scrollbar-thumb {
  background: #1e1f22;
  border-radius: 4px;
}

/* THREAD CARDS */
.thread-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(16, 20, 28, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 12px 20px;
  margin-bottom: 8px;
  transition: 0.2s ease-in-out;
  text-decoration: none !important;
}
.thread-card:hover {
  background: rgba(22, 28, 38, 0.8);
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateX(4px);
  box-shadow: -4px 0 0 var(--accent-cyan);
}
.thread-card .card-main {
  display: flex;
  align-items: center;
  gap: 15px;
}
.thread-card .thread-avatar {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.1);
  background: #0d1117;
}
.thread-card .thread-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.thread-card .title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}
.thread-card .thread-title-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.3px;
}
.thread-card .thread-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.thread-card .thread-meta .author {
  color: var(--accent-cyan);
  font-weight: 600;
}
.thread-card .card-stats {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-weight: 800;
  font-size: 0.8rem;
}
.thread-card .card-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 45px;
}
.thread-card .card-stats .stat-item i {
  font-size: 0.9rem;
  opacity: 0.6;
}
.thread-card .card-stats .stat-item span {
  color: #cbd5e1;
}
.thread-card.locked {
  opacity: 0.6;
  filter: grayscale(0.2);
  border-left: 2px solid #444 !important;
  background: rgba(0, 0, 0, 0.15);
}
.thread-card.locked .thread-title-text {
  color: var(--text-muted);
}
.thread-card.locked:hover {
  opacity: 0.85;
  background: rgba(255, 255, 255, 0.02);
}

.thread-avatar {
  background: linear-gradient(135deg, var(--panel-border), #1a1f2b);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.thread-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  font-size: 0;
}
.thread-avatar:empty::after, .thread-avatar img[src=""]::after {
  content: "GL";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--accent-cyan);
  opacity: 0.5;
}

.thread-preview-card {
  background: rgba(16, 20, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  margin-bottom: 10px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}
.thread-preview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: transparent;
  transition: 0.3s;
}
.thread-preview-card:hover {
  background: rgba(22, 28, 38, 0.9);
  transform: translateX(5px);
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: -5px 0 20px rgba(0, 229, 255, 0.05), inset 0 0 15px rgba(0, 229, 255, 0.02);
}
.thread-preview-card:hover::before {
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}
.thread-preview-card:hover .thread-title {
  color: var(--text-header) !important;
}
.thread-preview-card.pinned {
  border-left: 3px solid #ff4d4d;
  background: rgba(255, 77, 77, 0.02);
}
.thread-preview-card.trending {
  border-left: 3px solid var(--accent-gold);
  background: rgba(255, 179, 0, 0.02);
}

.thread-op-card {
  border-left: 4px solid var(--accent-cyan);
  background: rgba(0, 229, 255, 0.04);
  padding: 30px;
  border-radius: 12px;
  position: relative;
  margin-bottom: 30px;
}
.thread-op-card .op-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent-cyan);
  color: #000;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}
.thread-op-card .author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 2px solid var(--accent-cyan);
  box-shadow: var(--shadow-cyan);
}
.thread-op-card .op-meta {
  font-weight: 900;
  color: var(--accent-cyan);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.thread-op-card .op-meta .op-date {
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 8px;
}

.badge-locked {
  background: rgba(255, 183, 0, 0.1);
  color: #ffb700;
  border: 1px solid rgba(255, 183, 0, 0.3);
  padding: 2px 8px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.5px;
  margin-right: 10px;
  box-shadow: 0 0 10px rgba(255, 183, 0, 0.05);
}
.badge-locked i {
  font-size: 0.75rem;
}

.badge-pinned {
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 950;
  letter-spacing: 0.5px;
  background: rgba(255, 77, 77, 0.1);
  color: #ff4d4d;
  border: 1px solid rgba(255, 77, 77, 0.2);
}

.badge-trending {
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 950;
  letter-spacing: 0.5px;
  background: rgba(255, 179, 0, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(255, 179, 0, 0.2);
}

.btn-new-topic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, rgba(0, 255, 170, 0.1), rgba(0, 150, 255, 0.1));
  border: 1px solid rgba(0, 200, 150, 0.3);
  color: #00c282;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 200, 150, 0.1);
}

.btn-new-topic:hover {
  background: linear-gradient(45deg, rgba(0, 255, 170, 0.2), rgba(0, 150, 255, 0.2));
  border-color: #00ffa2;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 255, 170, 0.4);
  transform: translateY(-1px);
}

.btn-publish-cyber {
  background: rgba(0, 255, 170, 0.1);
  color: #00c282;
  border: 1px solid rgba(0, 255, 170, 0.3);
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.btn-publish-cyber:hover {
  background: rgba(0, 255, 170, 0.2);
  color: #ffffff;
}

.btn-cancel-cyber {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-cancel-cyber:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

#quill_editor .ql-editor {
  color: rgba(255, 255, 255, 0.85);
  min-height: 400px;
  font-family: inherit;
  font-size: 1.1rem;
}

.ql-toolbar.ql-snow, .ql-container.ql-snow {
  border-color: rgba(255, 255, 255, 0.2) !important;
  border-radius: 4px;
}

.ql-toolbar.ql-snow {
  background: rgba(0, 0, 0, 0.3);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.ql-container.ql-snow {
  background: rgba(0, 0, 0, 0.2);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.ql-editor::before {
  color: rgba(255, 255, 255, 0.5) !important;
}

.ql-snow .ql-stroke {
  stroke: #ffffff !important;
}

.ql-snow .ql-fill {
  fill: #ffffff !important;
}

.ql-snow .ql-picker {
  color: #ffffff !important;
}

.topic-locked-alert {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 183, 0, 0.05);
  border: 1px solid rgba(255, 183, 0, 0.2);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  border-left: 4px solid #ffb700;
}
.topic-locked-alert i {
  font-size: 2rem;
  color: #ffb700;
  text-shadow: 0 0 15px rgba(255, 183, 0, 0.4);
}
.topic-locked-alert .alert-content strong {
  display: block;
  color: #ffb700;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.topic-locked-alert .alert-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.lock-icon {
  color: #ffb700;
  margin-right: 8px;
  font-size: 0.9rem;
  text-shadow: 0 0 10px rgba(255, 183, 0, 0.3);
}

.reaction-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #3f4147;
  border-radius: 20px;
  padding: 6px 12px;
  color: #a3a6aa;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 8px;
}
.reaction-pill:hover {
  background: rgba(0, 238, 255, 0.1);
  border-color: #00eeff;
  color: #fff;
  transform: translateY(-2px);
}
.reaction-pill:active {
  transform: translateY(0);
}

.login-prompt-banner {
  background: #1e1f22;
  border: 1px solid #3f4147;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  color: #a3a6aa;
  margin-top: auto;
}
.login-prompt-banner a {
  color: #00eeff;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.2s;
}
.login-prompt-banner a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.original-topic-banner {
  background: rgba(88, 101, 242, 0.1);
  border-left: 4px solid #5865f2;
  padding: 16px 24px;
  border-radius: 4px 8px 8px 4px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner-text {
  color: #dbdee1;
}

.banner-text i {
  color: #5865f2;
  margin-right: 10px;
}

.banner-link {
  color: #5865f2 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.banner-link:hover {
  text-decoration: underline;
}

.original-topic-jump {
  background: rgba(53, 55, 60, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 20px;
  margin-bottom: 25px;
}

.jump-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.jump-info {
  color: #b5bac1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-jump {
  background: #5865f2;
  color: white !important;
  text-decoration: none;
  padding: 6px 15px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.2s;
}

.btn-jump:hover {
  background: #4752c4;
}

/* POLLS */
.poll-alert-card {
  background: linear-gradient(90deg, rgba(0, 238, 255, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
  border-left: 4px solid #00eeff;
  border-radius: 8px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 15px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.poll-icon-box {
  background: rgba(0, 238, 255, 0.2);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00eeff;
  font-size: 1.4rem;
}

.chat-poll-notification {
  background: linear-gradient(90deg, rgba(0, 238, 255, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
  border-left: 4px solid #00eeff;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}

.poll-label {
  color: #00eeff;
  font-weight: bold;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.poll-q {
  color: #fff;
  font-size: 1rem;
  margin-top: 2px;
}

.poll-question {
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

.btn-vote-now {
  margin-left: auto;
  background: #00eeff;
  color: #000;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s;
}

.btn-vote-now:hover {
  background: #fff;
  box-shadow: 0 0 15px #00eeff;
}

.vote-modal-content h4 {
  margin-top: 0;
  color: #00eeff;
}
.vote-modal-content .vote-option-label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  border: 1px solid #3f4147;
  transition: border-color 0.2s;
}
.vote-modal-content .vote-option-label:hover {
  border-color: rgba(0, 238, 255, 0.5);
}
.vote-modal-content .vote-option-label input[type=radio] {
  accent-color: #00eeff;
}
.vote-modal-content .btn-submit-vote {
  padding: 8px 20px;
  background: #00eeff;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 5px;
}
.vote-modal-content .btn-submit-vote:hover {
  box-shadow: 0 0 10px rgba(0, 238, 255, 0.4);
}

/* MENUS & MODALS */
.cyber-context-menu {
  display: none;
  position: absolute;
  z-index: 10000;
  min-width: 180px;
  background: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 229, 255, 0.1);
  border-radius: 8px;
  padding: 6px;
  animation: menuFadeIn 0.15s ease-out;
}
.cyber-context-menu .menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 0.85rem;
  color: #e6edf3;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.2s;
}
.cyber-context-menu .menu-item i {
  font-size: 1rem;
  color: var(--accent-cyan);
  opacity: 0.7;
}
.cyber-context-menu .menu-item:hover {
  background: var(--accent-cyan);
  color: #000;
}
.cyber-context-menu .menu-item:hover i {
  color: #000;
  opacity: 1;
}
.cyber-context-menu .menu-item.text-danger:hover {
  background: #ff4d4d;
  color: #fff;
}
.cyber-context-menu .menu-item.text-danger:hover i {
  color: #fff;
}
.cyber-context-menu .separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 4px 8px;
}

.ctx-menu {
  position: fixed;
  z-index: 10000;
  min-width: 200px;
  background: rgba(10, 14, 22, 0.98);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  display: none;
  animation: modalScaleUp 0.15s ease-out;
  backdrop-filter: blur(20px);
}
.ctx-menu .ctx-item {
  width: 100%;
  padding: 10px 15px;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: var(--text-header) !important;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.2s;
}
.ctx-menu .ctx-item i {
  opacity: 0.6;
  font-size: 1rem;
}
.ctx-menu .ctx-item:hover {
  background: var(--hover-bg);
  color: var(--accent-cyan);
}
.ctx-menu .ctx-item:hover i {
  opacity: 1;
  color: var(--accent-cyan);
}
.ctx-menu .ctx-item--danger:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.ctx-menu .ctx-item--danger:hover i {
  color: #ef4444;
}
.ctx-menu .ctx-divider {
  height: 1px;
  background: var(--panel-border);
  margin: 6px 10px;
}

.hub-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.hub-modal.active {
  display: flex;
}
.hub-modal__content {
  width: 100%;
  max-width: 650px;
  animation: modalScaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* SERVER CARDS */
.server-card-modern {
  background: linear-gradient(145deg, rgba(20, 25, 35, 0.9), rgba(10, 12, 18, 0.95));
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 12px;
  margin: 15px;
  padding: 15px;
  position: relative;
  overflow: hidden;
}
.server-card-modern__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.server-card-modern__top .server-tag {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
  font-size: 0.6rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0, 229, 255, 0.2);
}
.server-card-modern__top .server-status-glow {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.server-card-modern__top .server-status-glow.online {
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}
.server-card-modern .server-name {
  font-weight: 900;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 0.5px;
}
.server-card-modern .server-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.server-card-modern__footer .player-count {
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.server-card-modern__footer .player-count i {
  color: var(--accent-cyan);
  margin-right: 5px;
}
.server-card-modern__footer .player-count span {
  color: var(--text-muted);
}
.server-card-modern__footer .status-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}
.server-card-modern__footer .status-bar .status-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), #00b0f4);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* ROSTER MEMBERS SIDEBAR */
.members-sidebar {
  width: 260px;
  background: rgba(10, 14, 22, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.roster-header {
  padding: 20px 15px 10px;
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--accent-cyan);
  letter-spacing: 2px;
}

.roster-scroll {
  flex-grow: 1;
  overflow-y: auto;
  padding: 0 10px;
}

.section-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 15px 0 8px 5px;
}

.roster-user {
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 6px;
  transition: 0.2s;
  cursor: pointer;
}
.roster-user:hover {
  background: rgba(255, 255, 255, 0.05);
}
.roster-user .user-avatar-wrapper {
  position: relative;
  margin-right: 12px;
}
.roster-user .user-avatar-wrapper .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 1px solid rgba(0, 229, 255, 0.1);
}
.roster-user .user-avatar-wrapper .status-indicator {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #0a0c10;
}
.roster-user .user-avatar-wrapper .status-indicator.online {
  background: #23a55a;
  box-shadow: 0 0 5px #23a55a;
}
.roster-user .user-info .username {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-bright);
  line-height: 1.2;
}
.roster-user .user-info .user-status-text {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.avatar.default-avatar {
  background: var(--accent-cyan);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  border: none;
}

.member-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: 0.2s;
  cursor: pointer;
  margin-bottom: 4px;
}
.member-item:hover {
  background: var(--hover-bg);
  transform: translateX(4px);
}
.member-item .member-avatar {
  position: relative;
}
.member-item .member-avatar img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.member-item .member-avatar .status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #0d111a;
}
.member-item .member-avatar .status-dot.online {
  background: #10b981;
  box-shadow: 0 0 5px #10b981;
}
.member-item .member-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}
.member-item .member-role {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 800;
}

/* CHAT INPUT FORM */
.chat-input-form {
  width: 100%;
  margin: 0;
}

.cyber-chat-input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 6px 12px;
  width: 100%;
  position: relative;
}

.cyber-chat-input-wrapper .chat-input {
  flex-grow: 1;
  background: transparent !important;
  border: none !important;
  color: #dbdee1;
  padding: 10px 12px;
  resize: none;
  max-height: 150px;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: none !important;
}

.cyber-chat-input-wrapper .chat-input::-moz-placeholder {
  color: #80848e;
}

.cyber-chat-input-wrapper .chat-input::placeholder {
  color: #80848e;
}

.cyber-chat-input-wrapper .chat-input:focus {
  outline: none;
}

.chat-action-btn {
  background: transparent !important;
  border: none;
  color: #b5bac1;
  font-size: 1.3rem;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.chat-action-btn:hover {
  color: #dbdee1;
  background: transparent !important;
  transform: scale(1.05);
}

.chat-action-btn.btn-gif span {
  font-size: 0.75rem;
  font-weight: 800;
  border: 2px solid currentColor;
  padding: 2px 5px;
  border-radius: 4px;
}

.chat-actions-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cyber-chat-input-wrapper .btn-send {
  background: transparent !important;
  color: #5865F2;
  border: none !important;
  box-shadow: none !important;
  font-size: 1.4rem;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 5px;
}

.cyber-chat-input-wrapper .btn-send:hover {
  color: #7289da;
  transform: scale(1.1);
}

/* POPUP MENUS */
.cyber-popup-menu {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 320px;
  height: 400px;
  background-color: #2b2d31;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border: 1px solid #1e1f22;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cyber-popup-menu.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.plus-menu-popup {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 220px;
  background-color: #2b2d31;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border: 1px solid #1e1f22;
  flex-direction: column;
  padding: 8px;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.plus-menu-popup.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.plus-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  color: #b5bac1;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  font-size: 0.95rem;
  font-weight: 500;
}

.plus-menu-item:hover {
  background-color: rgba(32, 142, 163, 0.3);
  color: #00e5ff;
}

.reply-section.is-locked .chat-input-wrapper, .reply-section.is-locked .textarea-wrapper, .reply-section.is-locked form {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  visibility: hidden;
}

.reply-section.is-locked {
  padding-bottom: 0;
}

.hub-topbar {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  background: rgba(10, 14, 22, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  position: relative;
  z-index: 1000;
}
.hub-topbar::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.3;
}
.hub-topbar .brand {
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: broken-led 5s linear infinite;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
  cursor: default;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.hub-topbar .brand span {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px var(--accent-cyan), 0 0 20px rgba(0, 229, 255, 0.3);
  animation: cyan-glow 2s ease-in-out infinite alternate;
}
.hub-topbar .hub-nav {
  display: flex;
  gap: 35px;
}
.hub-topbar .hub-nav .hub-nav__item {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  transition: 0.3s;
}
.hub-topbar .hub-nav .hub-nav__item:hover, .hub-topbar .hub-nav .hub-nav__item--active {
  color: var(--text-header) !important;
  text-shadow: 0 0 10px var(--accent-cyan);
}

.section-divider {
  font-weight: 900;
  color: var(--text-muted);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
  opacity: 0.7;
  font-size: 0.65rem;
  margin: 40px 0 20px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.section-divider::after {
  background: linear-gradient(90deg, var(--panel-border), transparent) !important;
}

.pagination-wrapper {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
  width: 100%;
}
.pagination-wrapper .page-info {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
}

.pagination-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
}

.pagination-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

.pagination-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px;
  gap: 10px;
}

.btn-page, .pag-btn {
  background: #35373c;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-page:hover, .pag-btn:hover {
  background: #4e5058;
  color: #fff;
  transform: translateY(-1px);
}

.page-counter {
  color: #b5bac1;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 15px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-counter .current {
  color: #fff;
}

.page-counter .divider {
  opacity: 0.3;
}

.pagination-left, .pagination-right {
  flex: 1;
}

.pagination-right {
  display: flex;
  justify-content: flex-end;
}

@keyframes broken-led {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
  }
  19% {
    opacity: 0.6;
    text-shadow: none;
  }
  21% {
    opacity: 0.1;
    text-shadow: none;
  }
  23% {
    opacity: 0.8;
  }
  24% {
    opacity: 0.2;
  }
  54% {
    opacity: 0.4;
    text-shadow: none;
  }
  56% {
    opacity: 0.9;
  }
}
@keyframes stable-glow {
  from {
    opacity: 1;
    filter: brightness(1);
  }
  to {
    opacity: 0.95;
    filter: brightness(1.2);
  }
}
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
@keyframes modalScaleUp {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes highlight-new-reply {
  0% {
    background-color: rgba(88, 101, 242, 0.4);
  }
  100% {
    background-color: transparent;
  }
}
@keyframes flashReply {
  0% {
    background: rgba(88, 101, 242, 0.4);
  }
  100% {
    background: transparent;
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideUp {
  from {
    bottom: 60px;
    opacity: 0;
  }
  to {
    bottom: 80px;
    opacity: 1;
  }
}
@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes cyan-glow {
  from {
    opacity: 1;
    filter: brightness(1);
  }
  to {
    opacity: 0.95;
    filter: brightness(1.2);
  }
}
@keyframes loading-pulse {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}