/* ============================================================
   BlackStar Roleplay — style.css  (optimized & deduplicated)
   ============================================================ */

/* ── Custom Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #06060a; }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #7c3aed, #a855f7); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #a855f7; }
* { scrollbar-width: thin; scrollbar-color: #7c3aed #06060a; }

/* ── Page Transition ───────────────────────────────────────── */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Scroll Progress Bar ───────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(to right, #7c3aed, #a855f7, #c084fc);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(124,58,237,0.6);
}

/* ── Back to Top Button ────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(124,58,237,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, box-shadow 0.3s;
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  box-shadow: 0 6px 28px rgba(124,58,237,0.75);
  transform: translateY(-2px);
}

/* ── Section scroll-margin ─────────────────────────────────── */
section { scroll-margin-top: 80px; }

/* ── Fonts & Reset ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #06060a;
  --bg-card:      #0d0d15;
  --bg-card-2:    #111120;
  --border:       rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.14);
  --accent:       #7c3aed;
  --accent-light: #9d5ff5;
  --accent-glow:  rgba(124,58,237,0.35);
  --gold:         #c9a84c;
  --gold-light:   #e8c96a;
  --gold-glow:    rgba(201,168,76,0.35);
  --owner-color:  #a855f7;
  --owner-glow:   rgba(168,85,247,0.35);
  --coowner-color:#60a5fa;
  --coowner-glow: rgba(96,165,250,0.30);
  --dev-color:    #34d399;
  --dev-glow:     rgba(52,211,153,0.30);
  --white:        #ffffff;
  --grey:         #8888aa;
  --grey-light:   #aaaacc;
  --radius:       16px;
  --radius-sm:    10px;
  --transition:   0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background: linear-gradient(135deg, #06060a 0%, #0a0614 25%, #06060a 50%, #080410 75%, #06060a 100%);
  background-size: 400% 400%;
  animation: gradient-shift 18s ease infinite;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* Subtle noise texture overlay */
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── Utilities ─────────────────────────────────────────────── */
.accent { color: var(--accent-light); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Section Header ────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3.5rem; contain: layout style; }

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: 100px;
  padding: 0.4rem 1.2rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 0 12px rgba(124,58,237,0.2), inset 0 0 8px rgba(124,58,237,0.05);
  text-shadow: 0 0 8px rgba(157,95,245,0.6);
  animation: pulse-glow 3s ease-in-out infinite;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 0.85rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-light), transparent);
  border-radius: 2px;
  opacity: 0.7;
}

.section-desc { font-size: 0.95rem; color: var(--grey); max-width: 520px; margin: 0 auto; }

/* ── Keyframe Animations ───────────────────────────────────── */
@keyframes heroIn       { from { opacity:0; transform:translateY(40px); } to { opacity:1; transform:translateY(0); } }
@keyframes logoPulse    { 0%,100% { filter:drop-shadow(0 0 12px rgba(124,58,237,0.5)); transform:scale(1); } 50% { filter:drop-shadow(0 0 28px rgba(124,58,237,0.9)); transform:scale(1.04); } }
@keyframes tcSpin       { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }
@keyframes scrollBounce { 0%,100% { transform:translateY(0); opacity:1; } 50% { transform:translateY(8px); opacity:0.5; } }
@keyframes fadeUp       { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@keyframes glowPulse    { 0%,100% { opacity:0.5; } 50% { opacity:1; } }
@keyframes shimmer      { 0% { background-position:-200% center; } 100% { background-position:200% center; } }
@keyframes pulse-glow   { 0%,100% { box-shadow:0 0 10px rgba(124,58,237,0.3); } 50% { box-shadow:0 0 25px rgba(124,58,237,0.7),0 0 50px rgba(124,58,237,0.3); } }
@keyframes float        { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }
@keyframes gradient-shift { 0% { background-position:0% 50%; } 50% { background-position:100% 50%; } 100% { background-position:0% 50%; } }
@keyframes dot-pulse    { 0%,100% { transform:scale(1); opacity:1; box-shadow:0 0 0 0 rgba(34,197,94,0.6); } 50% { transform:scale(1.4); opacity:0.8; box-shadow:0 0 0 6px rgba(34,197,94,0); } }
@keyframes statusPulse  { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(1.3); } }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: fixed; top:0; left:0; right:0; z-index:1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(6,6,10,0.55);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--border);
  transition: padding var(--transition), background var(--transition);
}
.navbar.scrolled {
  padding: 0.65rem 2.5rem;
  background: rgba(6,6,10,0.92);
  backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  border-bottom: 1px solid rgba(124,58,237,0.25);
  box-shadow: 0 4px 30px rgba(124,58,237,0.1);
}

.nav-logo { display:flex; align-items:center; gap:0.6rem; }
.nav-logo-img { width:34px; height:34px; object-fit:contain; }
.nav-brand {
  font-family:'Bebas Neue',sans-serif; font-size:1.45rem; letter-spacing:0.1em; color:var(--white);
  position: relative;
  transition: text-shadow 0.3s;
}
.nav-brand::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  box-shadow: 0 0 8px var(--accent-light);
}
.nav-logo:hover .nav-brand { text-shadow: 0 0 20px rgba(168,85,247,0.6); }
.nav-logo:hover .nav-brand::after { transform: scaleX(1); }

.nav-links { display:flex; align-items:center; gap:0.25rem; }
.nav-links li a {
  font-size: 0.82rem; font-weight:500; letter-spacing:0.06em; text-transform:uppercase;
  color: var(--grey-light); padding:0.45rem 0.85rem; border-radius:8px;
  transition: color var(--transition), background var(--transition);
  position: relative; overflow: hidden;
}
.nav-links li a::after {
  content:''; position:absolute; bottom:2px; left:50%; width:0; height:1px;
  background: var(--accent-light); transition: width 0.3s ease, left 0.3s ease;
  box-shadow: 0 0 6px var(--accent-light);
}
.nav-links li a:hover { color:var(--white); background:rgba(255,255,255,0.06); }
.nav-links li a:hover::after { width:80%; left:10%; }

.nav-tiktok { display:flex; align-items:center; gap:0.4rem; color:var(--grey-light) !important; }
.nav-discord {
  display:flex; align-items:center; gap:0.4rem;
  color:#7289da !important; background:rgba(114,137,218,0.1) !important;
  border:1px solid rgba(114,137,218,0.25) !important; border-radius:8px;
}
.nav-discord:hover { background:rgba(114,137,218,0.2) !important; color:#fff !important; }

/* ── Language Switcher — prominent ────────────────────────── */
.lang-switcher {
  display: flex; align-items: center; gap: 0.25rem;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.35);
  border-radius: 10px;
  padding: 0.3rem 0.5rem;
  box-shadow: 0 0 10px rgba(124,58,237,0.15);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.lang-switcher:hover {
  border-color: rgba(124,58,237,0.6);
  box-shadow: 0 0 18px rgba(124,58,237,0.3);
}
.lang-btn {
  background: none; border: none;
  color: var(--grey); font-size: 0.75rem; font-weight: 800;
  letter-spacing: 1.5px; cursor: pointer;
  padding: 0.25rem 0.55rem; border-radius: 6px;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}
.lang-btn.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  box-shadow: 0 2px 10px rgba(124,58,237,0.4);
  transform: scale(1.05);
}
.lang-btn:hover:not(.active) { color: var(--white); background: rgba(255,255,255,0.08); }
.lang-sep { color: rgba(124,58,237,0.4); font-size: 0.7rem; }

/* Hamburger */
.hamburger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:4px; }
.hamburger span { display:block; width:24px; height:2px; background:var(--white); border-radius:2px; transition:var(--transition); }

/* Nav Auth */
.nav-auth { display:flex; align-items:center; gap:0.5rem; }
.nav-signin {
  background:transparent; color:var(--grey-light); border:1px solid var(--border);
  border-radius:8px; padding:0.42rem 1rem; font-size:0.78rem; font-weight:600;
  letter-spacing:0.05em; cursor:pointer; transition:all 0.2s; white-space:nowrap;
}
.nav-signin:hover { color:var(--white); border-color:var(--border-hover); background:rgba(255,255,255,0.05); }
.nav-register {
  background:linear-gradient(135deg,var(--accent),var(--accent-light));
  color:#fff; border:none; border-radius:8px; padding:0.42rem 1rem;
  font-size:0.78rem; font-weight:600; letter-spacing:0.05em; cursor:pointer;
  transition:all 0.2s; white-space:nowrap; box-shadow:0 0 20px rgba(124,58,237,0.3);
}
.nav-register:hover { transform:translateY(-1px); box-shadow:0 4px 20px rgba(124,58,237,0.5); }

/* Nav Status */
.nav-status {
  display:flex; align-items:center; gap:0.45rem; padding:0.35rem 0.85rem;
  border-radius:50px; border:1px solid var(--border); background:rgba(255,255,255,0.03);
  font-size:0.72rem; font-weight:600; letter-spacing:1px; text-transform:uppercase;
  color:var(--grey); transition:all 0.4s; cursor:default;
}
.nav-status.online  { border-color:rgba(34,197,94,0.4); background:rgba(34,197,94,0.08); color:#4ade80; }
.nav-status.offline { border-color:rgba(239,68,68,0.4); background:rgba(239,68,68,0.08); color:#f87171; }
.nav-status-dot { width:6px; height:6px; border-radius:50%; background:currentColor; flex-shrink:0; }
.nav-status.online .nav-status-dot { animation:statusPulse 1.5s ease-in-out infinite; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position:relative; width:100%; height:100vh; min-height:640px;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
#particleCanvas { position:absolute; inset:0; z-index:2; pointer-events:none; }
.hero-bg { position:absolute; inset:0; z-index:1; }
.hero-banner-img { width:100%; height:100%; object-fit:cover; opacity:0.12; filter:saturate(0.6); }
.hero-gradient {
  position:absolute; inset:0;
  background:
    linear-gradient(to bottom, rgba(6,6,10,0.3) 0%, rgba(6,6,10,0.0) 40%, rgba(6,6,10,0.7) 80%, var(--bg) 100%),
    linear-gradient(to right, rgba(6,6,10,0.5) 0%, transparent 50%, rgba(6,6,10,0.5) 100%);
}
.hero-content {
  position:relative; z-index:3; text-align:center; padding:0 1.5rem;
  animation:heroIn 1s ease both;
}
.hero-badge {
  display:inline-block; font-size:0.75rem; font-weight:600; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--accent-light);
  background: linear-gradient(90deg, rgba(124,58,237,0.12) 0%, rgba(168,85,247,0.25) 50%, rgba(124,58,237,0.12) 100%);
  background-size: 200% auto;
  border:1px solid rgba(124,58,237,0.3);
  border-radius:100px; padding:0.35rem 1.1rem; margin-bottom:1.6rem;
  animation: shimmer 3s linear infinite;
}
.hero-logos {
  display:flex; align-items:center; justify-content:center; gap:1.5rem;
  margin-bottom:1.4rem; will-change:transform;
}
.hero-logo { width:90px; height:90px; object-fit:contain; animation:logoPulse 3s ease-in-out infinite; will-change:transform; }
.hero-logo-2 { animation-delay:1.5s; }
.logos-divider { width:1px; height:60px; background:linear-gradient(to bottom,transparent,rgba(255,255,255,0.25),transparent); }

.hero-title { font-family:'Bebas Neue',sans-serif; line-height:0.9; margin-bottom:1.1rem; }
.title-black {
  font-size:clamp(4rem,12vw,9rem); letter-spacing:0.04em;
  background:linear-gradient(135deg,#ffffff 0%,#d4b8ff 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  filter:drop-shadow(0 0 20px rgba(124,58,237,0.4));
}
.title-star {
  font-size:clamp(4rem,12vw,9rem); letter-spacing:0.04em;
  background:linear-gradient(135deg,var(--accent-light) 0%,#c084fc 50%,var(--accent) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  filter:drop-shadow(0 0 30px rgba(124,58,237,0.7));
}
.title-rp { display:block; font-size:clamp(1.8rem,5vw,3.5rem); color:var(--grey-light); letter-spacing:0.3em; margin-top:0.2rem; }
.hero-sub { font-size:1rem; color:var(--grey); margin-bottom:2rem; letter-spacing:0.02em; }

.hero-stats {
  display:inline-flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.03); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(124,58,237,0.15); border-radius:16px; padding:0.5rem 0;
  margin-bottom:2.2rem; transition:border-color 0.3s, box-shadow 0.3s;
}
.hero-stats:hover { border-color:rgba(124,58,237,0.4); box-shadow:0 8px 32px rgba(124,58,237,0.15); }
.stat { display:flex; flex-direction:column; align-items:center; padding:0 2rem; }
.stat-num { font-family:'Bebas Neue',sans-serif; font-size:2rem; letter-spacing:0.08em; color:var(--white); line-height:1; }
.stat-label { font-size:0.7rem; font-weight:500; letter-spacing:0.12em; text-transform:uppercase; color:var(--grey); margin-top:0.2rem; }
.stat-divider { width:1px; height:36px; background:var(--border); }

.hero-buttons { display:flex; align-items:center; justify-content:center; gap:1rem; flex-wrap:wrap; }
.hero-scroll {
  position:absolute; bottom:2.5rem; left:50%; transform:translateX(-50%); z-index:3;
  display:flex; flex-direction:column; align-items:center; gap:0.5rem;
  color:var(--grey); font-size:0.7rem; letter-spacing:0.12em; text-transform:uppercase;
  animation:scrollBounce 2s ease-in-out infinite;
}
.scroll-line { width:1px; height:36px; background:linear-gradient(to bottom,var(--grey),transparent); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display:inline-flex; align-items:center; gap:0.5rem;
  font-family:'Inter',sans-serif; font-size:0.85rem; font-weight:600;
  letter-spacing:0.06em; text-transform:uppercase; padding:0.75rem 1.8rem;
  border-radius:10px; border:none; cursor:pointer;
  transition:transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space:nowrap; position:relative; overflow:hidden;
}
.btn::after {
  content:''; position:absolute; top:0; left:-100%; width:60%; height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,0.18),transparent);
  transform:skewX(-20deg); transition:left 0.5s ease;
}
.btn:hover { transform:translateY(-2px) scale(1.02); }
.btn:hover::after { left:150%; }
.btn:active { transform:translateY(0); }

.btn-primary {
  background:linear-gradient(135deg,var(--accent),var(--accent-light),var(--accent));
  background-size:200% auto; color:var(--white); box-shadow:0 4px 20px var(--accent-glow);
  transition:background-position 0.5s ease, transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover { background-position:right center; box-shadow:0 8px 32px rgba(124,58,237,0.55); }

.btn-discord {
  background:rgba(114,137,218,0.15); color:#7289da; border:1px solid rgba(114,137,218,0.3);
}
.btn-discord:hover { background:rgba(114,137,218,0.28); color:var(--white); box-shadow:0 4px 20px rgba(114,137,218,0.25); }

.btn-outline { background:transparent; color:var(--white); border:1px solid var(--border-hover); }
.btn-outline:hover { background:rgba(255,255,255,0.06); border-color:rgba(255,255,255,0.25); }

.btn-donate {
  background:linear-gradient(135deg,var(--gold),var(--gold-light));
  color:#1a1000; font-weight:700; box-shadow:0 4px 20px var(--gold-glow);
}
.btn-donate:hover { box-shadow:0 8px 32px rgba(201,168,76,0.5); }

/* ── Server Status ─────────────────────────────────────────── */
.status-section { padding:0; background:var(--bg); position:relative; z-index:10; margin-top:-2px; }

.status-card {
  display:flex; align-items:center; justify-content:space-between; gap:2rem;
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius);
  padding:1.5rem 2rem; position:relative; overflow:hidden; flex-wrap:wrap;
  box-shadow: 0 0 0 1px rgba(124,58,237,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
}
.status-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(124,58,237,0.4), rgba(168,85,247,0.1), rgba(124,58,237,0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.status-card.online::after { opacity: 1; }
.status-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(to right,transparent,var(--accent),transparent);
  opacity:0; transition:opacity 0.5s;
}
.status-card.online::before  { opacity:1; background:linear-gradient(to right,transparent,#22c55e,transparent); }
.status-card.offline::before { opacity:1; background:linear-gradient(to right,transparent,#ef4444,transparent); }
.status-card.online { animation:pulse-glow 3s ease-in-out infinite; }

.status-progress-bar {
  position:absolute; bottom:0; left:0; height:3px;
  background:linear-gradient(90deg,#7c3aed,#a855f7);
  transition:width 1s ease; border-radius:0 3px 3px 0;
}
.status-last-updated { font-size:0.75rem; color:rgba(255,255,255,0.3); font-family:'Rajdhani',sans-serif; margin-top:0.25rem; }

.status-left { display:flex; align-items:center; gap:1.25rem; }
.status-indicator {
  display:flex; align-items:center; gap:0.6rem; padding:0.4rem 1rem;
  border-radius:50px; border:1px solid var(--border); background:rgba(255,255,255,0.03);
  font-size:0.78rem; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; transition:all 0.4s;
}
.status-indicator.online  { border-color:rgba(34,197,94,0.4); background:rgba(34,197,94,0.08); color:#4ade80; }
.status-indicator.offline { border-color:rgba(239,68,68,0.4); background:rgba(239,68,68,0.08); color:#f87171; }
.status-indicator.checking{ border-color:rgba(234,179,8,0.4); background:rgba(234,179,8,0.08); color:#facc15; }
.status-dot { width:8px; height:8px; border-radius:50%; background:currentColor; flex-shrink:0; }
.status-indicator.online .status-dot { animation:dot-pulse 1.5s ease-in-out infinite; box-shadow:0 0 8px #22c55e; }

.status-info { display:flex; flex-direction:column; gap:0.15rem; }
.status-server-name { font-family:'Bebas Neue',sans-serif; font-size:1.1rem; letter-spacing:2px; color:var(--white); }
.status-ip { font-size:0.75rem; color:var(--grey); font-family:'Courier New',monospace; }

.status-right { display:flex; align-items:center; gap:1.5rem; flex-wrap:wrap; }
.status-stat { display:flex; flex-direction:column; align-items:center; gap:0.2rem; }
.status-stat-num { font-family:'Bebas Neue',sans-serif; font-size:1.6rem; letter-spacing:2px; color:var(--white); line-height:1; transition:color 0.4s; }
.status-stat-num.online-num { color:#4ade80; }
.status-stat-label { font-size:0.62rem; letter-spacing:2px; text-transform:uppercase; color:var(--grey); }
.status-divider { width:1px; height:36px; background:var(--border); }
.status-join-btn { font-size:0.82rem !important; padding:0.6rem 1.4rem !important; }

/* ── Features Section ──────────────────────────────────────── */
.features-section {
  padding:7rem 0; background:var(--bg2,#09090f);
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  contain: layout style;
}
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; }
.feature-card {
  background:rgba(255,255,255,0.03); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(124,58,237,0.15); border-radius:16px; padding:2rem 1.75rem;
  transition:border-color 0.3s, transform 0.3s, box-shadow 0.3s; will-change:transform;
}
.feature-card:hover { border-color:rgba(124,58,237,0.5); transform:translateY(-6px); box-shadow:0 8px 32px rgba(124,58,237,0.2); }
.feature-icon { font-size:2.2rem; margin-bottom:1rem; display:inline-block; transition: transform 0.3s ease; }
.feature-card:hover .feature-icon { animation: float 1.5s ease-in-out infinite; }
.feature-title { font-family:'Bebas Neue',sans-serif; font-size:1.1rem; letter-spacing:2px; color:#fff; margin-bottom:0.6rem; }
.feature-desc { font-size:0.88rem; color:#8888aa; line-height:1.65; }

/* ── Connect Section ───────────────────────────────────────── */
.connect-section { padding:7rem 0; background:var(--bg); contain:layout style; }
.connect-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; }
.connect-card {
  position:relative; background:rgba(255,255,255,0.03); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(124,58,237,0.15); border-radius:var(--radius); padding:2.2rem; overflow:hidden;
  transition:border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.connect-card:hover { border-color:var(--border-hover); transform:translateY(-4px); box-shadow:0 16px 48px rgba(0,0,0,0.4); }
.connect-card.featured { border-color:rgba(124,58,237,0.35); animation:pulse-glow 4s ease-in-out infinite; }
.connect-card.featured:hover { border-color:rgba(124,58,237,0.7); box-shadow:0 16px 60px rgba(124,58,237,0.3); }

.card-glow {
  position:absolute; top:-60px; left:50%; transform:translateX(-50%);
  width:300px; height:200px;
  background:radial-gradient(ellipse,rgba(124,58,237,0.18) 0%,transparent 70%);
  pointer-events:none; animation:glowPulse 3s ease-in-out infinite;
}
.card-header { display:flex; align-items:center; gap:1rem; margin-bottom:1.6rem; }
.card-icon-wrap {
  font-size:1.6rem; width:48px; height:48px; display:flex; align-items:center; justify-content:center;
  background:rgba(124,58,237,0.12); border:1px solid rgba(124,58,237,0.2); border-radius:12px; flex-shrink:0;
}
.card-header h3 { font-family:'Bebas Neue',sans-serif; font-size:1.4rem; letter-spacing:0.06em; color:var(--white); }

.steps { display:flex; flex-direction:column; gap:0.75rem; margin-bottom:1.6rem; }
.step { display:flex; align-items:center; gap:0.9rem; font-size:0.88rem; color:var(--grey-light); }
.step-num {
  width:26px; height:26px; border-radius:50%; background:rgba(124,58,237,0.2);
  border:1px solid rgba(124,58,237,0.4); color:var(--accent-light); font-size:0.75rem; font-weight:700;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.ip-box { background:rgba(0,0,0,0.35); border:1px solid rgba(124,58,237,0.25); border-radius:var(--radius-sm); padding:1rem 1.2rem; }
.ip-label { font-size:0.65rem; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:var(--accent-light); margin-bottom:0.5rem; }
.ip-row { display:flex; align-items:center; justify-content:space-between; gap:0.75rem; }
code#serverIP { font-family:'Courier New',monospace; font-size:0.88rem; color:var(--white); background:none; border:none; flex:1; word-break:break-all; }
.copy-btn {
  display:flex; align-items:center; gap:0.4rem; font-size:0.75rem; font-weight:600; letter-spacing:0.06em;
  color:var(--accent-light); background:rgba(124,58,237,0.15); border:1px solid rgba(124,58,237,0.3);
  border-radius:7px; padding:0.4rem 0.8rem; cursor:pointer; transition:background var(--transition),color var(--transition);
  white-space:nowrap; flex-shrink:0;
}
.copy-btn:hover { background:rgba(124,58,237,0.3); color:var(--white); }
.card-desc { font-size:0.88rem; color:var(--grey); line-height:1.65; margin-bottom:1.2rem; }
.discord-features { display:flex; flex-direction:column; gap:0.5rem; }
.discord-features li { font-size:0.85rem; color:var(--grey-light); padding-left:0.2rem; }

/* ── Rules Section ─────────────────────────────────────────── */
.rules-section { padding:7rem 0; background:linear-gradient(to bottom,var(--bg),#080810,var(--bg)); contain:layout style; }
.rules-tabs { display:flex; flex-wrap:wrap; gap:0.5rem; justify-content:center; margin-bottom:2.5rem; }
.tab-btn {
  font-family:'Inter',sans-serif; font-size:0.78rem; font-weight:600; letter-spacing:0.06em;
  text-transform:uppercase; color:var(--grey); background:var(--bg-card);
  border:1px solid var(--border); border-radius:8px; padding:0.55rem 1.1rem;
  cursor:pointer; transition:color var(--transition),background var(--transition),border-color var(--transition);
}
.tab-btn:hover { color:var(--white); border-color:rgba(124,58,237,0.3); background:rgba(124,58,237,0.08); }
.tab-btn.active { color:var(--accent-light); background:rgba(124,58,237,0.15); border-color:rgba(124,58,237,0.5); box-shadow:0 0 12px rgba(124,58,237,0.2); }
.tab-content { display:none; animation:fadeUp 0.4s ease both; }
.tab-content.active { display:block; }

.rules-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1.2rem; }
.rule-card {
  background:rgba(255,255,255,0.03); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(124,58,237,0.15); border-radius:var(--radius); padding:1.5rem;
  transition:border-color var(--transition),transform var(--transition);
}
.rule-card:hover { border-color:rgba(124,58,237,0.5); box-shadow:0 8px 32px rgba(124,58,237,0.2); transform:translateY(-3px); }
.rule-icon { font-size:1.6rem; margin-bottom:0.75rem; }
.rule-card h4 { font-family:'Bebas Neue',sans-serif; font-size:1.05rem; letter-spacing:0.06em; color:var(--white); margin-bottom:0.6rem; }
.rule-card p { font-size:0.85rem; color:var(--grey); margin-bottom:0.5rem; }
.rule-card ul { display:flex; flex-direction:column; gap:0.35rem; }
.rule-card ul li { font-size:0.83rem; color:var(--grey-light); padding-left:1rem; position:relative; }
.rule-card ul li::before { content:'›'; position:absolute; left:0; color:var(--accent-light); }

.rules-table { width:100%; border-collapse:collapse; margin-top:0.75rem; font-size:0.82rem; }
.rules-table th { text-align:left; font-size:0.7rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--accent-light); padding:0.4rem 0.6rem; border-bottom:1px solid rgba(124,58,237,0.2); }
.rules-table td { padding:0.4rem 0.6rem; color:var(--grey-light); border-bottom:1px solid var(--border); }
.rules-table tr:last-child td { border-bottom:none; }

/* ── Gallery Section ───────────────────────────────────────── */
.gallery-section { padding:5rem 0; background:#0d0d14; contain:layout style; }
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1rem; margin-top:2rem; }
.gallery-item {
  position:relative; border-radius:12px; overflow:hidden; aspect-ratio:16/9; cursor:pointer;
  background:rgba(255,255,255,0.02); backdrop-filter:blur(4px);
  border:1px solid rgba(124,58,237,0.2);
  transition:transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover { transform:scale(1.04); border-color:rgba(124,58,237,0.7); box-shadow:0 8px 32px rgba(124,58,237,0.25); }
.gallery-item img { width:100%; height:100%; object-fit:cover; display:block; }
.gallery-item-overlay {
  position:absolute; inset:0; background:rgba(0,0,0,0.5);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity 0.3s; color:#fff; font-size:2rem;
}
.gallery-item:hover .gallery-item-overlay { opacity:1; }
.gallery-placeholder {
  grid-column:1/-1; text-align:center; color:rgba(255,255,255,0.3); padding:3rem;
  border:2px dashed rgba(124,58,237,0.2); border-radius:12px; font-size:1.1rem;
}
.gallery-lightbox {
  position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,0.95);
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity 0.3s;
}
.gallery-lightbox.active { opacity:1; pointer-events:all; }
.gallery-lightbox img { max-width:90vw; max-height:85vh; border-radius:8px; }
.lightbox-close {
  position:absolute; top:1.5rem; right:1.5rem; background:rgba(255,255,255,0.1);
  border:none; color:#fff; width:40px; height:40px; border-radius:50%; font-size:1.2rem;
  cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background 0.2s;
}
.lightbox-close:hover { background:rgba(255,255,255,0.2); }

/* ── Videos Section ────────────────────────────────────────── */
.videos-section {
  padding:7rem 0; background:linear-gradient(to bottom,var(--bg),#080810,var(--bg));
  border-top:1px solid rgba(124,58,237,0.1); border-bottom:1px solid rgba(124,58,237,0.1);
  contain:layout style;
}
.videos-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; margin-top:1rem; }
.video-card {
  background:rgba(255,255,255,0.03); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(124,58,237,0.15); border-radius:var(--radius); overflow:hidden;
  transition:transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.video-card:hover { transform:translateY(-6px); border-color:rgba(124,58,237,0.5); box-shadow:0 12px 40px rgba(124,58,237,0.2); }
.video-iframe-wrap { position:relative; width:100%; padding-top:56.25%; overflow:hidden; background:#000; }
.video-iframe-wrap iframe { position:absolute; top:0; left:0; width:100%; height:100%; border:none; display:block; }
.video-card-footer { padding:0.9rem 1.1rem; border-top:1px solid rgba(124,58,237,0.1); }
.video-card-title {
  font-family:'Bebas Neue',sans-serif; font-size:1rem; letter-spacing:0.06em; color:var(--white);
  display:block; line-height:1.3; position:relative; padding-left:0.9rem;
}
.video-card-title::before {
  content:''; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:3px; height:70%; background:linear-gradient(to bottom,var(--accent),var(--accent-light)); border-radius:2px;
}
.videos-placeholder {
  grid-column:1/-1; text-align:center; color:rgba(255,255,255,0.3); padding:4rem 2rem;
  border:2px dashed rgba(124,58,237,0.2); border-radius:var(--radius); font-size:1.1rem;
  background:rgba(124,58,237,0.03); backdrop-filter:blur(4px);
}

/* ── Donate Section ────────────────────────────────────────── */
.donate-section { padding:7rem 0; background:var(--bg); contain:layout style; }

/* Payment Methods — single consolidated definition */
.payment-methods { display:flex; flex-direction:column; align-items:center; gap:1rem; margin-bottom:3rem; }
.payment-label { font-size:0.72rem; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:var(--grey); }
.payment-icons { display:flex; align-items:center; gap:0.75rem; flex-wrap:wrap; justify-content:center; }
.payment-icon {
  display:flex; align-items:center; justify-content:center;
  padding:0.6rem 1.4rem; background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.1); border-radius:10px;
  transition:background 0.2s, border-color 0.2s; min-width:100px; min-height:48px;
}
.payment-icon:hover { background:rgba(255,255,255,0.1); border-color:rgba(255,255,255,0.2); }
.payment-icon img { display:block; max-width:90px; object-fit:contain; }

.donate-layout { display:grid; gap:2rem; }
.donate-layout-single { grid-template-columns:1fr; max-width:720px; margin:0 auto; }
.donate-rules {
  background:rgba(255,255,255,0.03); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(124,58,237,0.15); border-radius:var(--radius); padding:2.2rem;
}
.donate-col-title { font-family:'Bebas Neue',sans-serif; font-size:1.3rem; letter-spacing:0.06em; color:var(--white); margin-bottom:1.5rem; padding-bottom:0.75rem; border-bottom:1px solid var(--border); }
.donate-rule-block { margin-bottom:1.5rem; }
.donate-rule-block:last-child { margin-bottom:0; }
.donate-rule-block h4 { font-size:0.85rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:var(--accent-light); margin-bottom:0.6rem; }
.donate-rule-block ul { display:flex; flex-direction:column; gap:0.35rem; }
.donate-rule-block ul li { font-size:0.85rem; color:var(--grey-light); padding-left:1rem; position:relative; }
.donate-rule-block ul li::before { content:'›'; position:absolute; left:0; color:var(--accent-light); }
.donate-rule-block p { font-size:0.85rem; color:var(--grey-light); line-height:1.65; }

/* ── Team Section ──────────────────────────────────────────── */
.team-section { padding:7rem 0; background:linear-gradient(to bottom,var(--bg),#080810,var(--bg)); contain:layout style; }
.team-group-label {
  font-family:'Bebas Neue',sans-serif; font-size:1rem; letter-spacing:0.2em; text-transform:uppercase;
  text-align:center; margin:2.5rem 0 1.4rem; padding:0.4rem 1.4rem; display:inline-block;
  border-radius:100px; position:relative; left:50%; transform:translateX(-50%);
}
.founder-label  { color:var(--gold);         background:rgba(201,168,76,0.1);  border:1px solid rgba(201,168,76,0.3); }
.owner-label    { color:var(--owner-color);   background:rgba(168,85,247,0.1);  border:1px solid rgba(168,85,247,0.3); }
.coowner-label  { color:var(--coowner-color); background:rgba(96,165,250,0.1);  border:1px solid rgba(96,165,250,0.3); }
.dev-label      { color:var(--dev-color);     background:rgba(52,211,153,0.1);  border:1px solid rgba(52,211,153,0.3); }

.team-cards-grid { display:flex; justify-content:center; gap:1.5rem; flex-wrap:wrap; }
.team-cards-grid.two-col   { max-width:680px; margin:0 auto; }
.team-cards-grid.three-col { max-width:900px; margin:0 auto; }
.team-cards-grid.one-col   { max-width:280px; margin:0 auto; }

.tc {
  position:relative; display:flex; flex-direction:column; align-items:center; gap:0.6rem;
  background:rgba(255,255,255,0.02); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  border:1px solid var(--border); border-radius:var(--radius); padding:2rem 1.5rem 1.6rem;
  width:200px; overflow:hidden; cursor:pointer;
  transition:transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration:none; color:inherit; will-change:transform;
}
.tc:hover { transform:translateY(-6px); }
.founder-tc  { border-color:rgba(201,168,76,0.2); }
.founder-tc:hover  { border-color:rgba(201,168,76,0.5); box-shadow:0 16px 48px rgba(201,168,76,0.15); }
.owner-tc    { border-color:rgba(168,85,247,0.2); }
.owner-tc:hover    { border-color:rgba(168,85,247,0.5); box-shadow:0 16px 48px rgba(168,85,247,0.15); }
.coowner-tc  { border-color:rgba(96,165,250,0.2); }
.coowner-tc:hover  { border-color:rgba(96,165,250,0.5); box-shadow:0 16px 48px rgba(96,165,250,0.15); }
.dev-tc      { border-color:rgba(52,211,153,0.2); }
.dev-tc:hover      { border-color:rgba(52,211,153,0.5); box-shadow:0 16px 48px rgba(52,211,153,0.15); }

.tc-glow {
  position:absolute; top:-40px; left:50%; transform:translateX(-50%);
  width:180px; height:120px; border-radius:50%; pointer-events:none;
  opacity:0.5; transition:opacity var(--transition); animation:glowPulse 3s ease-in-out infinite;
}
.tc:hover .tc-glow { opacity:1; }
.founder-glow  { background:radial-gradient(ellipse,var(--gold-glow) 0%,transparent 70%); }
.owner-glow    { background:radial-gradient(ellipse,var(--owner-glow) 0%,transparent 70%); }
.coowner-glow  { background:radial-gradient(ellipse,var(--coowner-glow) 0%,transparent 70%); }
.dev-glow      { background:radial-gradient(ellipse,var(--dev-glow) 0%,transparent 70%); }

.tc-avatar-wrap { position:relative; width:96px; height:96px; flex-shrink:0; margin-bottom:0.4rem; }
.tc-avatar { width:96px; height:96px; border-radius:50%; object-fit:cover; position:relative; z-index:2; display:block; }
.tc-ring { position:absolute; inset:-4px; border-radius:50%; border:2px solid transparent; border-top-color:currentColor; border-right-color:currentColor; animation:tcSpin 3s linear infinite; z-index:3; }
.founder-ring-tc  { color:var(--gold); }
.owner-ring-tc    { color:var(--owner-color); }
.coowner-ring-tc  { color:var(--coowner-color); }
.dev-ring-tc      { color:var(--dev-color); }

.tc-name { font-family:'Bebas Neue',sans-serif; font-size:1.15rem; letter-spacing:0.08em; color:var(--white); text-align:center; position:relative; z-index:2; }
.tc-role { font-size:0.68rem; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; padding:0.2rem 0.75rem; border-radius:100px; position:relative; z-index:2; }
.founder-role-tc  { color:var(--gold);         background:rgba(201,168,76,0.12); border:1px solid rgba(201,168,76,0.3); }
.owner-role-tc    { color:var(--owner-color);   background:rgba(168,85,247,0.12); border:1px solid rgba(168,85,247,0.3); }
.coowner-role-tc  { color:var(--coowner-color); background:rgba(96,165,250,0.12); border:1px solid rgba(96,165,250,0.3); }
.dev-role-tc      { color:var(--dev-color);     background:rgba(52,211,153,0.12); border:1px solid rgba(52,211,153,0.3); }

.tc-btn { font-size:0.72rem; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; color:var(--grey); opacity:0; transform:translateY(6px); transition:opacity var(--transition),transform var(--transition); position:relative; z-index:2; margin-top:0.2rem; }
.tc:hover .tc-btn { opacity:1; transform:translateY(0); }

.tc-copy-btn {
  font-size:0.68rem; font-weight:600; letter-spacing:0.05em; color:var(--grey);
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1);
  border-radius:6px; padding:0.3rem 0.7rem; cursor:pointer; transition:all 0.2s;
  position:relative; z-index:10; margin-top:0.3rem; opacity:0; transform:translateY(4px);
}
.tc:hover .tc-copy-btn { opacity:1; transform:translateY(0); }
.tc-copy-btn:hover { background:rgba(124,58,237,0.2); border-color:rgba(124,58,237,0.4); color:var(--accent-light); }

/* Hide old team-row markup */
.team-row,.tr-avatar,.tr-rank,.tr-name,.tr-discord,.team-list,
.founder-row,.owner-row,.coowner-row,.dev-row,
.founder-rank,.owner-rank,.coowner-rank,.dev-rank { display:none !important; }

/* ── Staff Application ─────────────────────────────────────── */
.apply-section { padding:5rem 0; background:#0a0a0f; contain:layout style; }
.apply-requirements {
  background:rgba(124,58,237,0.06); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(124,58,237,0.3); border-radius:16px; padding:2rem; margin-bottom:2.5rem;
  box-shadow:0 4px 24px rgba(124,58,237,0.1);
}
.apply-requirements h3 { color:#a855f7; font-family:'Rajdhani',sans-serif; font-size:1.3rem; margin-bottom:1rem; }
.apply-requirements ul { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:0.5rem; }
.apply-requirements li { color:rgba(255,255,255,0.8); font-family:'Rajdhani',sans-serif; font-size:1rem; }
.apply-requirements strong { color:#fff; }
.apply-goodluck { margin-top:1rem; color:#a855f7; font-family:'Rajdhani',sans-serif; font-weight:700; font-size:1.1rem; }

.apply-form { max-width:800px; margin:0 auto; }
.apply-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.25rem; margin-bottom:1.25rem; }
.apply-form .form-group { margin-bottom:1.25rem; }
.apply-form .form-group label { display:block; color:rgba(255,255,255,0.7); font-family:'Rajdhani',sans-serif; font-size:0.9rem; font-weight:600; letter-spacing:0.5px; margin-bottom:0.5rem; }
.apply-form input, .apply-form textarea {
  width:100%; padding:0.75rem 1rem; background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1); border-radius:8px; color:#fff;
  font-family:'Rajdhani',sans-serif; font-size:1rem; transition:border-color 0.2s; box-sizing:border-box; resize:vertical;
}
.apply-form input:focus, .apply-form textarea:focus { outline:none; border-color:#7c3aed; background:rgba(124,58,237,0.08); }
.apply-form textarea { min-height:90px; }
.radio-group { display:flex; gap:2rem; margin-top:0.5rem; }
.radio-label { display:flex; align-items:center; gap:0.5rem; color:rgba(255,255,255,0.8); font-family:'Rajdhani',sans-serif; font-size:1rem; cursor:pointer; }
.radio-label input[type="radio"] { accent-color:#7c3aed; width:16px; height:16px; }
.apply-submit-btn { width:100%; justify-content:center; padding:1rem; font-size:1.1rem; margin-top:0.5rem; }
.apply-success { color:#4ade80; font-family:'Rajdhani',sans-serif; font-size:1rem; text-align:center; min-height:1.5em; margin-bottom:0.5rem; }

/* ── Leaderboard Section ───────────────────────────────────── */
.leaderboard-section { padding:7rem 0; background:var(--bg); contain:layout style; }
.lb-tabs { display:flex; justify-content:center; gap:0.75rem; margin-bottom:2rem; flex-wrap:wrap; }
.lb-tab-btn {
  padding:0.6rem 1.5rem; background:var(--bg-card); border:1px solid var(--border);
  border-radius:10px; color:var(--grey); font-size:0.85rem; font-weight:600;
  cursor:pointer; transition:all 0.2s; letter-spacing:0.5px;
}
.lb-tab-btn:hover { border-color:rgba(124,58,237,0.3); color:var(--white); }
.lb-tab-btn.active { background:rgba(124,58,237,0.15); border-color:rgba(124,58,237,0.5); color:var(--accent-light); box-shadow:0 0 12px rgba(124,58,237,0.2); }

.lb-table-wrap {
  max-width:700px; margin:0 auto;
  background:rgba(255,255,255,0.02); backdrop-filter:blur(10px);
  border:1px solid rgba(124,58,237,0.15); border-radius:16px; overflow:hidden;
}
.lb-table { width:100%; border-collapse:collapse; }
.lb-table thead tr { background:rgba(124,58,237,0.08); border-bottom:1px solid rgba(124,58,237,0.2); }
.lb-table th { padding:1rem 1.25rem; text-align:left; font-size:0.7rem; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--accent-light); }
.lb-table td { padding:0.9rem 1.25rem; border-bottom:1px solid rgba(255,255,255,0.04); }
.lb-table tr:last-child td { border-bottom:none; }
.lb-row { transition:background 0.2s; }
.lb-row:hover { background:rgba(124,58,237,0.05); }

/* Top 3 gradient rows — gold/silver/bronze */
.lb-top-1 {
  background: linear-gradient(90deg, rgba(201,168,76,0.12) 0%, rgba(201,168,76,0.04) 100%);
  border-left: 3px solid var(--gold);
}
.lb-top-2 {
  background: linear-gradient(90deg, rgba(192,192,192,0.1) 0%, rgba(192,192,192,0.03) 100%);
  border-left: 3px solid #c0c0c0;
}
.lb-top-3 {
  background: linear-gradient(90deg, rgba(205,127,50,0.1) 0%, rgba(205,127,50,0.03) 100%);
  border-left: 3px solid #cd7f32;
}
.lb-top-1:hover { background:linear-gradient(90deg,rgba(201,168,76,0.18) 0%,rgba(201,168,76,0.06) 100%); }
.lb-top-2:hover { background:linear-gradient(90deg,rgba(192,192,192,0.15) 0%,rgba(192,192,192,0.05) 100%); }
.lb-top-3:hover { background:linear-gradient(90deg,rgba(205,127,50,0.15) 0%,rgba(205,127,50,0.05) 100%); }

.lb-rank { font-size:1.2rem; width:50px; }
.lb-player { display:flex; flex-direction:column; gap:0.15rem; }
.lb-name { font-family:'Bebas Neue',sans-serif; font-size:1.05rem; letter-spacing:1px; color:var(--white); }
.lb-discord { font-size:0.72rem; color:var(--grey); letter-spacing:0.5px; }
.lb-value { font-family:'Bebas Neue',sans-serif; font-size:1.2rem; letter-spacing:1px; color:var(--accent-light); text-align:right; }
.lb-loading { text-align:center; color:var(--grey); padding:3rem; font-size:0.9rem; }
.lb-note { text-align:center; color:var(--grey); font-size:0.75rem; margin-top:1.25rem; letter-spacing:0.3px; }

/* ── Footer — improved with social icons ──────────────────── */
.footer {
  position:relative; background:#050508;
  border-top:none; padding:4rem 0 2.5rem; overflow:hidden;
}
.footer::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent 0%,var(--accent) 30%,var(--accent-light) 50%,var(--accent) 70%,transparent 100%);
  animation:shimmer 4s linear infinite; background-size:200% auto;
}
.footer-glow {
  position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:600px; height:200px;
  background:radial-gradient(ellipse,rgba(124,58,237,0.08) 0%,transparent 70%);
  pointer-events:none;
}
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; }
.footer-brand { display:flex; align-items:center; gap:1rem; }
.footer-logo { width:40px; height:40px; object-fit:contain; opacity:0.8; }
.footer-title { font-family:'Bebas Neue',sans-serif; font-size:1.1rem; letter-spacing:0.1em; color:var(--white); margin-bottom:0.2rem; }
.footer-copy { font-size:0.75rem; color:var(--grey); }

.footer-links { display:flex; align-items:center; gap:0.5rem; flex-wrap:wrap; }
.footer-links a {
  font-size:0.78rem; font-weight:500; letter-spacing:0.05em; color:var(--grey);
  padding:0.4rem 0.9rem; border-radius:6px; border:1px solid transparent;
  transition:color 0.3s, background 0.3s, border-color 0.3s;
}
.footer-links a:hover { color:var(--accent-light); background:rgba(124,58,237,0.08); border-color:rgba(124,58,237,0.3); }

/* Footer social icons */
.footer-socials { display:flex; align-items:center; gap:0.6rem; }
.footer-social-btn {
  width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1);
  color:var(--grey); transition:all 0.2s;
}
.footer-social-btn:hover { background:rgba(124,58,237,0.2); border-color:rgba(124,58,237,0.4); color:var(--accent-light); transform:translateY(-2px); }

/* ── Loading Screen ────────────────────────────────────────── */
.loader {
  position:fixed; inset:0; z-index:9999; background:#06060a;
  display:flex; align-items:center; justify-content:center;
  transition:opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity:0; visibility:hidden; pointer-events:none; }
.loader-content { text-align:center; display:flex; flex-direction:column; align-items:center; gap:1.5rem; }
.loader-logo { width:120px; height:120px; object-fit:contain; animation:logoPulse 1s ease-in-out infinite; }
.loader-bar { width:200px; height:2px; background:rgba(255,255,255,0.1); border-radius:2px; overflow:hidden; }
.loader-fill { height:100%; width:0%; background:linear-gradient(to right,#7c3aed,#a78bfa); border-radius:2px; transition:width 1.2s ease; }
.loader-text { font-family:'Bebas Neue',sans-serif; font-size:1rem; letter-spacing:6px; color:rgba(255,255,255,0.4); }

/* ── Floating Social Bar ───────────────────────────────────── */
.social-bar { position:fixed; right:0; top:50%; transform:translateY(-50%); z-index:500; display:flex; flex-direction:column; gap:0; }
.social-bar-btn { width:44px; height:44px; display:flex; align-items:center; justify-content:center; transition:all 0.2s; }
.discord-bar { background:rgba(88,101,242,0.9); color:#fff; border-radius:8px 0 0 0; }
.discord-bar:hover { background:#5865F2; width:54px; }
.tiktok-bar { background:rgba(0,0,0,0.85); color:#fff; border-radius:0 0 0 8px; border-top:1px solid rgba(255,255,255,0.1); }
.tiktok-bar:hover { background:#111; width:54px; }

/* ── Custom Cursor (hidden) ────────────────────────────────── */
.cursor, .cursor-follower { display:none !important; }

/* ── Auth Modals ───────────────────────────────────────────── */
.modal-overlay {
  position:fixed; inset:0; z-index:2000; background:rgba(0,0,0,0.75);
  backdrop-filter:blur(8px); opacity:0; visibility:hidden; transition:opacity 0.3s, visibility 0.3s;
}
.modal-overlay.active { opacity:1; visibility:visible; }
.modal {
  position:fixed; top:50%; left:50%; transform:translate(-50%,-48%) scale(0.96);
  z-index:2001; width:100%; max-width:420px; background:var(--bg-card);
  border:1px solid rgba(124,58,237,0.25); border-radius:20px; padding:2.5rem 2rem;
  opacity:0; visibility:hidden; transition:all 0.35s cubic-bezier(0.16,1,0.3,1);
  box-shadow:0 40px 80px rgba(0,0,0,0.6),0 0 0 1px rgba(124,58,237,0.1);
}
.modal.active { opacity:1; visibility:visible; transform:translate(-50%,-50%) scale(1); }
.modal-close {
  position:absolute; top:1rem; right:1rem; background:rgba(255,255,255,0.06);
  border:1px solid var(--border); color:var(--grey); width:30px; height:30px;
  border-radius:50%; cursor:pointer; font-size:0.8rem; display:flex; align-items:center; justify-content:center; transition:all 0.2s;
}
.modal-close:hover { background:rgba(255,255,255,0.12); color:var(--white); }
.modal-logo { display:flex; justify-content:center; margin-bottom:1.25rem; }
.modal-logo img { width:56px; height:56px; object-fit:contain; }
.modal-title { font-family:'Bebas Neue',sans-serif; font-size:2rem; letter-spacing:3px; color:var(--white); text-align:center; margin-bottom:0.35rem; }
.modal-sub { text-align:center; color:var(--grey); font-size:0.85rem; margin-bottom:1.75rem; }
.modal-form { display:flex; flex-direction:column; gap:1rem; }
.form-group { display:flex; flex-direction:column; gap:0.4rem; }
.form-group label { font-size:0.75rem; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; color:var(--grey); }
.form-group input {
  background:rgba(0,0,0,0.3); border:1px solid var(--border); border-radius:8px;
  padding:0.7rem 1rem; color:var(--white); font-size:0.9rem; font-family:'Inter',sans-serif;
  transition:border-color 0.2s, box-shadow 0.2s; outline:none; width:100%;
}
.form-group input::placeholder { color:var(--grey); }
.form-group input:focus { border-color:rgba(124,58,237,0.5); box-shadow:0 0 0 3px rgba(124,58,237,0.1); }
.modal-btn { width:100%; justify-content:center; margin-top:0.5rem; padding:0.85rem; font-size:0.9rem; }
.modal-error { color:#ff4d4d; font-size:0.82rem; min-height:1.2em; margin:-0.5rem 0 0.5rem; text-align:center; }
.modal-switch { text-align:center; margin-top:1.25rem; font-size:0.85rem; color:var(--grey); }
.modal-switch span { color:var(--accent-light); cursor:pointer; font-weight:600; transition:color 0.2s; }
.modal-switch span:hover { color:var(--white); }
.modal-divider { display:flex; align-items:center; gap:0.75rem; margin:1rem 0; color:rgba(255,255,255,0.3); font-size:0.8rem; }
.modal-divider::before, .modal-divider::after { content:''; flex:1; height:1px; background:rgba(255,255,255,0.15); }
.btn-google { display:flex; align-items:center; justify-content:center; gap:0.6rem; width:100%; padding:0.75rem; background:#fff; color:#333; border:none; border-radius:8px; font-size:0.95rem; font-weight:600; cursor:pointer; margin-bottom:1rem; transition:background 0.2s; }
.btn-google:hover { background:#f1f1f1; }
.btn-discord-login { display:flex; align-items:center; justify-content:center; gap:0.6rem; width:100%; padding:0.75rem; background:#5865F2; color:#fff; border:none; border-radius:8px; font-size:0.95rem; font-weight:600; cursor:pointer; margin-bottom:1rem; transition:background 0.2s; }
.btn-discord-login:hover { background:#4752c4; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .videos-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 900px) {
  .connect-grid { grid-template-columns:1fr; }
  .features-grid { grid-template-columns:repeat(2,1fr); }
  .team-cards-grid.two-col, .team-cards-grid.three-col { max-width:100%; }

  .nav-links {
    position:fixed; top:0; right:-100%; width:min(320px,85vw); height:100vh;
    background:rgba(10,10,15,0.98); backdrop-filter:blur(20px);
    flex-direction:column; padding:5rem 2rem 2rem; gap:0.25rem;
    transition:right 0.35s cubic-bezier(0.4,0,0.2,1);
    border-left:1px solid rgba(124,58,237,0.2); overflow-y:auto; z-index:999;
  }
  .nav-links.open { right:0; }
  .nav-links li { width:100%; }
  .nav-links a { display:block; padding:0.85rem 1rem; border-radius:8px; font-size:1.1rem; transition:background 0.2s,color 0.2s; }
  .nav-links a:hover { background:rgba(124,58,237,0.15); color:#a855f7; }
  .nav-auth { flex-direction:column; width:100%; }
  .nav-signin, .nav-register { width:100%; text-align:center; }
  .hamburger { display:flex; z-index:1001; }
  .hamburger.active span:nth-child(1) { transform:translateY(8px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity:0; transform:scaleX(0); }
  .hamburger.active span:nth-child(3) { transform:translateY(-8px) rotate(-45deg); }
  .nav-links.open::before { content:''; position:fixed; inset:0; right:min(320px,85vw); background:rgba(0,0,0,0.5); z-index:-1; }
}

@media (max-width: 768px) {
  .navbar { padding:0.9rem 1.25rem; }
  .navbar.scrolled { padding:0.6rem 1.25rem; }
  .hero-logos { gap:1rem; }
  .hero-logo { width:64px; height:64px; }
  .logos-divider { height:44px; }
  .hero-stats .stat { padding:0 1rem; }
  .hero-buttons { flex-direction:column; align-items:center; }
  .rules-tabs { gap:0.4rem; }
  .tab-btn { font-size:0.72rem; padding:0.45rem 0.85rem; }
  .rules-grid { grid-template-columns:1fr; }
  .status-card { flex-direction:column; align-items:flex-start; }
  .status-right { width:100%; justify-content:space-between; }
  .status-join-btn { width:100%; justify-content:center; }
  .footer-inner { flex-direction:column; align-items:flex-start; gap:1.5rem; }
  .footer-links { gap:0.15rem; }
  .social-bar { display:none; }
}

@media (max-width: 600px) {
  .apply-grid { grid-template-columns:1fr; }
  .videos-grid { grid-template-columns:1fr; }
}

@media (max-width: 480px) {
  .container { padding:0 1.25rem; }
  .connect-card { padding:1.5rem; }
  .tc { width:160px; padding:1.5rem 1rem 1.2rem; }
  .tc-avatar, .tc-avatar-wrap { width:76px; height:76px; }
  .hero-stats { gap:0; }
  .stat { padding:0 0.75rem; }
  .stat-num { font-size:1.5rem; }
  .modal { max-width:calc(100vw - 2rem); padding:2rem 1.5rem; }
  .nav-auth { display:none; }
}

/* ================================================
   GALLERY CAPTION
   ================================================ */
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
  font-size: 0.78rem;
  padding: 0.5rem 0.75rem;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
}

/* ================================================
   RULES SEARCH
   ================================================ */
.rules-search-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.rules-search {
  width: 100%;
  max-width: 480px;
  padding: 0.75rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 50px;
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.rules-search:focus {
  border-color: rgba(124,58,237,0.6);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.rules-search::placeholder { color: rgba(255,255,255,0.3); }

/* ================================================
   FIVEM DIRECT CONNECT BUTTON
   ================================================ */
.fivem-connect-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.6rem 1rem;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  justify-content: center;
  transition: opacity 0.2s, transform 0.2s;
}
.fivem-connect-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* ================================================
   LIVE CHAT WIDGET
   ================================================ */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 800;
}

.chat-toggle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(124,58,237,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.chat-toggle:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(124,58,237,0.7); }

.chat-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 20px; height: 20px;
  background: #ef4444;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}

.chat-box {
  position: absolute;
  bottom: 64px;
  left: 0;
  width: 320px;
  background: rgba(13,13,21,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: none;
  flex-direction: column;
  max-height: 420px;
}
.chat-box.active { display: flex; }

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: rgba(124,58,237,0.15);
  border-bottom: 1px solid rgba(124,58,237,0.2);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.chat-online-count {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #4ade80;
  font-weight: 600;
}

.chat-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: statusPulse 1.5s ease-in-out infinite;
}

.chat-close-btn {
  background: none; border: none; color: rgba(255,255,255,0.5);
  cursor: pointer; font-size: 0.9rem; padding: 0.2rem;
  transition: color 0.2s;
}
.chat-close-btn:hover { color: #fff; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 200px;
  max-height: 280px;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.4); border-radius: 2px; }

.chat-welcome {
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
  padding: 1rem 0;
}

.chat-msg { display: flex; flex-direction: column; gap: 0.15rem; }

.chat-msg-user {
  font-size: 0.72rem;
  font-weight: 700;
  color: #a855f7;
  letter-spacing: 0.3px;
}

.chat-msg-time {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.25);
  margin-left: 0.4rem;
}

.chat-msg-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  word-break: break-word;
  background: rgba(255,255,255,0.04);
  padding: 0.4rem 0.6rem;
  border-radius: 0 8px 8px 8px;
  border: 1px solid rgba(255,255,255,0.06);
}

.chat-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.chat-input-row input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
  font-family: 'Inter', sans-serif;
}
.chat-input-row input:focus { border-color: rgba(124,58,237,0.5); }
.chat-input-row input::placeholder { color: rgba(255,255,255,0.25); }

.chat-send-btn {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border: none; border-radius: 8px;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.chat-send-btn:hover { opacity: 0.85; }

@media (max-width: 480px) {
  .chat-widget { bottom: 1rem; left: 1rem; }
  .chat-box { width: calc(100vw - 2rem); }
}

/* ================================================
   ANNOUNCEMENTS SECTION
   ================================================ */
.announcements-section { padding: 5rem 0; background: #080810; }
.announcements-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; }
.ann-card {
  background: rgba(255,255,255,0.03); backdrop-filter: blur(10px);
  border: 1px solid rgba(124,58,237,0.15); border-radius: 16px; padding: 1.5rem;
  transition: all 0.3s;
}
.ann-card:hover {
  border-color: rgba(124,58,237,0.5); transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(124,58,237,0.15);
}
.ann-category {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 0.2rem 0.7rem; border-radius: 100px; margin-bottom: 0.75rem;
}
.ann-category.update { background: rgba(124,58,237,0.15); color: #a855f7; border: 1px solid rgba(124,58,237,0.3); }
.ann-category.event  { background: rgba(234,179,8,0.15);  color: #facc15; border: 1px solid rgba(234,179,8,0.3); }
.ann-category.urgent { background: rgba(239,68,68,0.15);  color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.ann-title-text { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 1px; color: #fff; margin-bottom: 0.5rem; }
.ann-body { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 0.75rem; }
.ann-date { font-size: 0.72rem; color: rgba(255,255,255,0.3); }
.ann-placeholder {
  grid-column: 1/-1; text-align: center; color: rgba(255,255,255,0.3);
  padding: 3rem; border: 2px dashed rgba(124,58,237,0.2); border-radius: 12px;
}

/* ================================================
   CUSTOM SCROLLBAR
   ================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #06060a; }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #7c3aed, #a855f7); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #a855f7; }
* { scrollbar-width: thin; scrollbar-color: #7c3aed #06060a; }

/* ================================================
   PAGE TRANSITION
   ================================================ */
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
html { animation: pageIn 0.3s ease both; }

/* ================================================
   SCROLL PROGRESS BAR
   ================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #7c3aed, #a855f7, #c084fc);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(124,58,237,0.6);
}

/* ================================================
   BACK TO TOP BUTTON
   ================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 5rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 499;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(124,58,237,0.6);
}

/* ================================================
   ANNOUNCEMENTS SECTION
   ================================================ */
.announcements-section { padding: 5rem 0; background: #080810; }
.announcements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.ann-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s;
}
.ann-card:hover {
  border-color: rgba(124,58,237,0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(124,58,237,0.15);
}
.ann-category {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.ann-category.update { background: rgba(124,58,237,0.15); color: #a855f7; border: 1px solid rgba(124,58,237,0.3); }
.ann-category.event  { background: rgba(234,179,8,0.15);  color: #facc15; border: 1px solid rgba(234,179,8,0.3); }
.ann-category.urgent { background: rgba(239,68,68,0.15);  color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.ann-title-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 0.5rem;
}
.ann-body { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 0.75rem; }
.ann-date { font-size: 0.72rem; color: rgba(255,255,255,0.3); }
.ann-placeholder {
  grid-column: 1/-1;
  text-align: center;
  color: rgba(255,255,255,0.3);
  padding: 3rem;
  border: 2px dashed rgba(124,58,237,0.2);
  border-radius: 12px;
}

/* ================================================
   SECTION SCROLL MARGIN
   ================================================ */
section { scroll-margin-top: 80px; }

/* ================================================
   VISUAL IMPROVEMENTS
   ================================================ */
/* Floating emoji on feature cards */
.feature-card:hover .feature-icon {
  animation: float 1s ease-in-out infinite;
  display: inline-block;
}

/* Nav brand glow */
.nav-brand:hover { text-shadow: 0 0 20px rgba(124,58,237,0.6); }

/* Button scale */
.btn:hover { transform: translateY(-2px) scale(1.02); }

/* Status card gradient border */
.status-card {
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              linear-gradient(135deg, rgba(124,58,237,0.3), rgba(168,85,247,0.1), rgba(124,58,237,0.3)) border-box;
  border: 1px solid transparent !important;
}
