:root {
  --bg-dark: #000000;
  --bg-card: #0a0a0f;
  --primary: #8b5cf6;
  --primary-glow: rgba(139, 92, 246, 0.4);
  --secondary: #ffffff;
  --text-main: #e4e4e7;
  --text-muted: #71717a;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.06);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --font-hero: 'Sora', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', system-ui, -apple-system, sans-serif; cursor: auto !important; }
/* Force default cursor — hide any injected custom cursor elements */
.cursor-dot, .cursor-ring, .cursor-plus, .cursor-sparkle, .cursor-particle, #cursor-glow { display: none !important; opacity: 0 !important; pointer-events: none !important; }
a, button, [onclick], [role="button"], select, input[type="submit"], input[type="button"], input[type="checkbox"], input[type="radio"] { cursor: pointer !important; }
input, textarea, select { cursor: auto !important; }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], textarea { cursor: text !important; }

html { scroll-behavior: smooth; }
body {
  background-image: url('/static/public/background.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  /* Background image with dark overlay */
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

/* ── STATIC GRADIENT BACKGROUND ── */
#site-bg {
  display: none;
}
#site-bg::before {
  display: none;
}

/* ── FLOATING ORBS — ambient depth ── */
.floating-orbs {
  display: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  will-change: transform;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  top: -10%; left: -10%;
  animation: orbFloat1 20s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  top: 50%; right: -8%;
  animation: orbFloat2 25s ease-in-out infinite;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  bottom: 5%; left: 20%;
  animation: orbFloat3 18s ease-in-out infinite;
}
.orb-4 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #a78bfa, transparent 70%);
  top: 30%; right: 20%;
  animation: orbFloat4 22s ease-in-out infinite;
}
.orb-5 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  top: 60%; left: 50%;
  animation: orbFloat5 30s ease-in-out infinite;
}
@keyframes orbFloat1 { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(60px,-40px) scale(1.1); } 66% { transform: translate(-30px,50px) scale(0.9); } }
@keyframes orbFloat2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-80px,-60px) scale(1.15); } }
@keyframes orbFloat3 { 0%,100% { transform: translate(0,0); } 33% { transform: translate(50px,-30px); } 66% { transform: translate(-40px,20px); } }
@keyframes orbFloat4 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,40px) scale(1.1); } }
@keyframes orbFloat5 { 0%,100% { transform: translate(0,0) scale(0.8); } 50% { transform: translate(40px,-50px) scale(1); } }

/* ── ALL PAGE CONTENT sits above background ── */
#page-content { position: relative; z-index: 2; }

/* ── NAVBAR ── */
.nav-container-wrapper {
  position: fixed; top: 0; left: 0; width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex; justify-content: center; align-items: center;
  z-index: 1000;
  pointer-events: none;
}
.pill-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(14, 15, 19, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 0.35rem 0.6rem 0.35rem 0.65rem;
  width: auto;
  gap: 0.85rem;
  margin: 0 auto;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  pointer-events: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
nav {
  position: fixed; top: 0; left: 0; width: 100%;
  padding: 1.2rem 5%;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 1000; background: transparent;
  transition: padding 0.4s cubic-bezier(0.16,1,0.3,1);
}
nav.scrolled { padding: 0.8rem 5%; }
.nav-left { display: flex; align-items: center; }

.logo-container {
  display: flex; align-items: center; gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.35rem 0.9rem 0.35rem 0.45rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.logo-container:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}
.logo-container img {
  width: 26px; height: 26px; border-radius: 7px; object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.logo-container:hover img { transform: rotate(360deg) scale(1.08); }
.logo-container span {
  font-size: 0.92rem; font-weight: 700; color: #ffffff;
  font-family: var(--font-hero, 'Sora', sans-serif); letter-spacing: -0.2px;
}

.nav-divider { width: 1px; height: 20px; background: rgba(255, 255, 255, 0.1); margin: 0 0.4rem; }

.nav-links {
  display: flex; gap: 0.2rem; align-items: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  padding: 0.25rem;
  position: static; transform: none; backdrop-filter: none; box-shadow: none;
}

.nav-links > a, .nav-links > .nav-dropdown > a.dropdown-toggle {
  text-decoration: none;
  color: #a1a1aa;
  font-weight: 500;
  font-size: 0.82rem;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  white-space: nowrap;
  display: flex; align-items: center; gap: 0.45rem;
  border: 1px solid transparent;
}
.nav-links > a i, .nav-links > .nav-dropdown > a.dropdown-toggle i {
  font-size: 0.85rem; opacity: 0.8; transition: opacity 0.2s ease, color 0.2s ease;
}
.nav-links > a:hover, .nav-links > .nav-dropdown > a.dropdown-toggle:hover {
  color: #ffffff; background: rgba(255, 255, 255, 0.06);
}
.nav-links > a:hover i, .nav-links > .nav-dropdown > a.dropdown-toggle:hover i {
  opacity: 1; color: #ffffff;
}
.nav-links > a.active {
  color: #ffffff;
  background: #1c1d22;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.nav-links > a.active i { opacity: 1; color: #ffffff; }

.nav-right-items { display: flex; align-items: center; gap: 0.55rem; pointer-events: auto; }

.lang-selector {
  position: relative;
  display: flex; align-items: center; gap: 0.4rem; color: #e4e4e7; font-size: 0.82rem; font-weight: 600; cursor: pointer; padding: 0.45rem 0.75rem; border-radius: 9999px; transition: background 0.2s ease;
  user-select: none;
}
.lang-selector:hover { background: rgba(255, 255, 255, 0.08); }
.lang-selector img.lang-flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; }
.lang-selector .lang-chev { font-size: 0.7em; color: #a1a1aa; transition: transform 0.2s ease; }
.lang-selector.open .lang-chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  min-width: 200px;
  background: #0e0f14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  z-index: 1100;
  animation: langFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.lang-selector.open .lang-menu { display: flex; }
@keyframes langFadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.lang-menu a {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.7rem 0.9rem; border-radius: 10px;
  color: #d4d4d8; font-size: 0.88rem; font-weight: 600; text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.lang-menu a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.lang-menu a img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.lang-menu a .lang-name { flex: 1; }
.lang-menu a.active { background: rgba(255,255,255,0.04); color: #fff; }
.lang-menu a.active::after {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #22c55e; font-size: 0.85rem;
}

.btn-premium-nav {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 1.1rem; border-radius: 9999px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.25) 0%, rgba(245, 158, 11, 0.08) 100%);
  border: 1px solid #d97706;
  color: #fbbf24; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-premium-nav i { color: #fbbf24; font-size: 0.85rem; }
.btn-premium-nav:hover {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.4) 0%, rgba(245, 158, 11, 0.18) 100%);
  border-color: #f59e0b; color: #ffe066; transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.45);
}

/* User Profile Avatar Wrapper & Popover */
.user-profile-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.user-avatar-btn {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}
.user-avatar-btn:hover {
  transform: scale(1.06);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.2);
}
.nav-user-avatar {
  width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover;
}
.status-dot-online {
  position: absolute; bottom: 0; right: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: #ef4444; border: 2px solid #0e0f14;
}
.status-dot-offline {
  position: absolute; bottom: 0; right: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: #71717a; border: 2px solid #0e0f14;
}

/* Profile Popover Modal Card */
.profile-popover {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 290px;
  background: rgba(15, 16, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.1rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1200;
  display: none;
  flex-direction: column;
  gap: 0.9rem;
  transform-origin: top right;
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}
.profile-popover.active {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: popoverSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes popoverSlideIn {
  0% { opacity: 0; transform: translateY(-12px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.popover-user-info { display: flex; align-items: center; gap: 0.85rem; }
.popover-avatar {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.popover-user-details { display: flex; flex-direction: column; gap: 0.15rem; }
.popover-username { font-size: 0.95rem; font-weight: 700; color: #ffffff; line-height: 1.2; }
.popover-role-pill {
  display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.2rem;
  padding: 0.15rem 0.55rem; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 999px;
  font-size: 0.7rem; font-weight: 500; color: #a1a1aa;
}

.popover-invite-card {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px; padding: 0.75rem 0.9rem; text-decoration: none;
  color: #e4e4e7; font-size: 0.8rem; font-weight: 500; transition: all 0.2s ease;
}
.popover-invite-card:hover {
  background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff; transform: translateY(-1px);
}
.popover-invite-left { display: flex; align-items: center; gap: 0.65rem; }
.popover-invite-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(245, 158, 11, 0.15); color: #fbbf24;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; flex-shrink: 0;
}
.popover-invite-arrow { font-size: 0.75rem; color: #71717a; }

.popover-section-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 1px;
  color: #71717a; text-transform: uppercase; margin-top: 0.1rem;
}
.popover-lang-selector {
  display: flex; align-items: center; justify-content: space-between;
  background: #08090c; border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px; padding: 0.65rem 0.9rem; cursor: pointer;
  color: #e4e4e7; font-size: 0.85rem; font-weight: 500; transition: border-color 0.2s ease;
}
.popover-lang-selector:hover { border-color: rgba(255, 255, 255, 0.18); }
.popover-lang-current { display: flex; align-items: center; gap: 0.6rem; }
.popover-flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; }

.popover-divider { height: 1px; background: rgba(255, 255, 255, 0.06); width: 100%; margin: 0.1rem 0; }
.popover-menu-items { display: flex; flex-direction: column; gap: 0.25rem; }
.popover-menu-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.85rem; border-radius: 10px;
  color: #d4d4d8; font-size: 0.85rem; font-weight: 500; text-decoration: none;
  transition: all 0.18s ease;
}
.popover-menu-item i { width: 18px; text-align: center; color: #a1a1aa; font-size: 0.88rem; transition: color 0.18s ease; }
.popover-menu-item:hover { background: rgba(255, 255, 255, 0.06); color: #ffffff; }
.popover-menu-item:hover i { color: #ffffff; }
.popover-menu-item.logout-item { color: #ef4444; }
.popover-menu-item.logout-item i { color: #ef4444; }
.popover-menu-item.logout-item:hover { background: rgba(239, 68, 68, 0.12); color: #f87171; }
.popover-menu-item.logout-item:hover i { color: #f87171; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 120%; left: 50%; transform: translateX(-50%) translateY(10px);
  background: rgba(15, 15, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.5rem;
  display: flex; flex-direction: column; gap: 0.2rem;
  min-width: 200px;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown .dropdown-menu a {
  padding: 0.6rem 1rem; border-radius: 8px; text-decoration: none; color: var(--text-muted); font-size: 0.85rem; display: flex; align-items: center; gap: 0.6rem; transition: all 0.2s; white-space: nowrap; justify-content: flex-start;
}
.nav-dropdown .dropdown-menu a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

.btn-login { background: rgba(255,255,255,0.06); color: var(--secondary); padding: 0.5rem 1.2rem; border-radius: 999px; font-weight: 600; text-decoration: none; transition: var(--transition); border: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; backdrop-filter: blur(10px); }
.btn-login:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); transform: translateY(-1px); }
.btn-signin { background: #3b82f6; color: #fff; border: none; font-weight: 700; box-shadow: 0 0 15px rgba(59, 130, 246, 0.4); padding: 0.75rem 1.8rem; pointer-events: auto; }
.btn-signin:hover { background: #2563eb; transform: scale(1.05); }

/* ── HERO SECTION ── */
#hero-section {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 8rem 5% 3rem; position: relative; gap: 0;
}
.hero-split {
  flex-direction: row !important;
  text-align: left !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 5rem !important;
  padding: 10rem 5% 3rem !important;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.hero-left {
  flex: 0 0 35%;
  max-width: 450px;
  text-align: left;
}
.hero-right {
  flex: 0 0 60%;
  position: relative;
}
.pill-tag {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.hero-heading {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  font-family: var(--font-hero);
  color: #fff;
}
.hero-heading span {
  font-size: 4.5rem;
  display: block;
  color: #fff;
}
.hero-subtext {
  font-size: 1.1rem;
  color: #a1a1aa;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.hero-split-btns {
  display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: center;
}
.hero-module-text {
  font-size: 0.8rem;
  color: #52525b;
}

/* New Split Buttons */
.btn-blue-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  color: #fff; padding: 0.85rem 1.8rem; border-radius: 12px; font-weight: 700;
  text-decoration: none; box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
  transition: all 0.2s; display: flex; align-items: center;
}
.btn-blue-gradient:hover { transform: translateY(-2px); box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4); }
.btn-dark-outline {
  background: transparent; color: #e4e4e7; border: 1px solid rgba(255,255,255,0.15);
  padding: 0.85rem 1.8rem; border-radius: 12px; font-weight: 600; text-decoration: none;
  transition: all 0.2s; display: flex; align-items: center;
}
.btn-dark-outline:hover { background: rgba(255,255,255,0.05); }

/* Browser Mockup */
.mockup-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.mockup-link:hover {
  transform: scale(1.02);
}
.browser-mockup {
  background: #0a0a0f;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.9);
  position: relative;
  transform: perspective(1200px) rotateY(-4deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}
.mockup-link:hover .browser-mockup {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}
.browser-header {
  background: #111116;
  padding: 0.6rem 1rem;
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.browser-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }
.browser-url {
  margin: 0 auto;
  background: #1a1a21;
  padding: 0.3rem 2rem;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #71717a;
  display: flex; align-items: center; gap: 0.4rem;
}
.browser-content img {
  display: block; width: 100%; height: auto;
}

/* Lightbox Modal */
.mockup-lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
  padding: 2rem;
  backdrop-filter: blur(10px);
}
.mockup-lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}
.mockup-lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-scroll-text {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 0 10%;
  z-index: 3;
}
.hero-stats {
  display: flex; justify-content: center; gap: 2rem; padding: 0 10%;
  z-index: 3; margin-top: 2rem; flex-wrap: wrap;
}
.hero-badge {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c4b5fd;
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  animation: badgeFloat 3s ease-in-out infinite;
}
@keyframes badgeFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.badge-dot { width: 8px; height: 8px; background: #8b5cf6; border-radius: 50%; display: inline-block; animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity:1; box-shadow:0 0 0 0 rgba(139,92,246,0.6); } 50% { opacity:0.7; box-shadow:0 0 0 6px rgba(139,92,246,0); } }

.hero-scroll-text h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: #ffffff;
  font-family: var(--font-hero);
  line-height: 1.1;
  letter-spacing: -2px;
}

/* Split text reveal animation */
.split-text .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.split-text .word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.split-text.revealed .word-inner {
  transform: translateY(0);
}

.text-accent,
.text-accent .word-inner {
  background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 40%, #8b5cf6 70%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease-in-out infinite;
}
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-scroll-text p {
  font-size: 1.05rem;
  color: #a1a1aa;
  max-width: 580px;
  margin-bottom: 2rem;
}
.hero-description {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.6s forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-btns {
  display: flex; gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.9s forwards;
}

/* ── MAGNETIC BUTTON WITH SHINE ── */
.btn-primary {
  background: #fff;
  color: #000;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.05rem;
  border: none;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
}
.btn-text { position: relative; z-index: 1; display: flex; align-items: center; gap: 0.8rem; }
.btn-shine {
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: none;
  z-index: 0;
}
.btn-primary:hover .btn-shine {
  animation: btnShine 0.6s ease forwards;
}
@keyframes btnShine {
  to { left: 100%; }
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 40px rgba(139,92,246,0.25), 0 5px 15px rgba(255,255,255,0.1); }

.btn-secondary { background: transparent; color: var(--secondary); padding: 0.8rem 2rem; border-radius: 8px; font-weight: 600; text-decoration: none; transition: var(--transition); border: 1px solid #3c4043; font-size: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.btn-secondary:hover { background: var(--glass-border); transform: translateY(-3px); }

/* ── SCROLL INDICATOR ── */
#scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  color: rgba(196,181,253,0.4); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  transition: opacity 0.5s ease;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(139,92,246,0.5), transparent);
  animation: scrollLineFlow 2s ease-in-out infinite;
}
@keyframes scrollLineFlow {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.3; }
}

/* ── CONTENT SECTIONS ── */
.content-section {
  position: relative;
  background: transparent;
}

/* ── STATS ── */
.stat-item {
  text-align: center; position: relative;
  padding: 1.5rem 2.5rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, border-color 0.4s ease;
  transform-style: preserve-3d;
  perspective: 600px;
}
.stat-glow {
  position: absolute; inset: 0; border-radius: 16px;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(139,92,246,0.12) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s ease;
  pointer-events: none;
}
.stat-item:hover .stat-glow { opacity: 1; }
.stat-item:hover { border-color: rgba(139,92,246,0.2); box-shadow: 0 10px 40px rgba(139,92,246,0.08); }
.stat-item h3 { font-size: 2rem; font-weight: 800; color: var(--secondary); margin-bottom: 0.3rem; font-family: var(--font-hero); }
.stat-item p { color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; }

/* ── SCROLL REVEAL ANIMATIONS ── */
.scroll-reveal { opacity: 0; transform: translateY(60px) scale(0.92); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.scroll-reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
.scroll-reveal-left { opacity: 0; transform: translateX(-100px) rotateY(5deg); transition: opacity 1s cubic-bezier(0.16,1,0.3,1), transform 1s cubic-bezier(0.16,1,0.3,1); }
.scroll-reveal-left.visible { opacity: 1; transform: translateX(0) rotateY(0deg); }
.scroll-reveal-right { opacity: 0; transform: translateX(100px) rotateY(-5deg); transition: opacity 1s cubic-bezier(0.16,1,0.3,1), transform 1s cubic-bezier(0.16,1,0.3,1); }
.scroll-reveal-right.visible { opacity: 1; transform: translateX(0) rotateY(0deg); }

/* ── FEATURE SECTIONS ── */
.feature-section { display: flex; align-items: center; gap: 6rem; padding: 8rem 12%; position: relative; overflow: hidden; perspective: 1000px; }
.feature-section.reverse { flex-direction: row-reverse; }
.feature-content { flex: 1; }
.feature-content h2 { font-size: 3rem; font-weight: 800; margin-bottom: 1.5rem; font-family: var(--font-hero); line-height: 1.1; }
.feature-title-large { font-size: 3.5rem !important; }
.feature-content p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; }
.feature-mockup { flex: 1.2; }

/* ── GLASS CARD with border glow ── */
.glass-card {
  background: rgba(10, 10, 15, 0.4);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), box-shadow 0.6s cubic-bezier(0.16,1,0.3,1), border-color 0.6s ease;
  position: relative;
  transform-style: preserve-3d;
}
.card-border-glow {
  position: absolute; inset: -1px;
  border-radius: 17px;
  background: conic-gradient(from var(--border-angle, 0deg), transparent, rgba(139,92,246,0.25), transparent, rgba(124,58,237,0.15), transparent);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.glass-card:hover .card-border-glow { opacity: 1; }
.glass-card:hover { transform: translateY(-10px) rotateX(2deg) rotateY(-2deg) scale(1.02); box-shadow: 0 30px 80px rgba(139,92,246,0.1), 0 10px 30px rgba(0,0,0,0.5); border-color: rgba(139,92,246,0.12); }
.glass-card img { width: 100%; display: block; border-radius: 12px; transform: scale(1.05); transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.glass-card:hover img { transform: scale(1.08); }

/* ── CAPABILITY WHEEL ── */
.capability-section {
  padding: 8rem 5% 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.capability-wheel {
  position: relative;
  width: 520px;
  height: 520px;
}
.wheel-track {
  position: absolute;
  inset: 38px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.08);
  pointer-events: none;
}
.wheel-track::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, 0.06);
}
.wheel-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
}
.wheel-center img {
  width: 44px; height: 44px;
  border-radius: 50%;
}
.wheel-ring {
  position: absolute;
  inset: 0;
  /* Rotation controlled by JS */
}
.wheel-item {
  position: absolute;
  width: 56px; height: 56px;
  top: 50%; left: 50%;
  margin: -28px 0 0 -28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.wheel-item-inner {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(10, 10, 15, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.wheel-item:hover .wheel-item-inner,
.wheel-item.active .wheel-item-inner {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.5);
  color: #c4b5fd;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.3);
  transform: scale(1.25);
}
.wheel-item-label {
  position: absolute;
  bottom: -22px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.7;
  pointer-events: none;
}

/* info card */
.wheel-info {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  background: transparent;
  border: none;
  padding: 0;
  backdrop-filter: blur(20px);
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.wheel-info.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.wheel-info-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 0.6rem;
}
.wheel-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  font-family: var(--font-hero);
}
.wheel-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.wheel-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.68rem;
  color: var(--text-muted);
}
.wheel-info-bar-track {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  margin-left: 0.6rem;
  overflow: hidden;
}
.wheel-info-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.wheel-info-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.wheel-info-tag {
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
}
.wheel-hint {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.5;
}

@media (max-width: 768px) {
  .capability-wheel {
    width: 360px; height: 360px;
  }
  .wheel-info { width: 200px; padding: 1.2rem; }
  .wheel-item-inner { width: 42px; height: 42px; font-size: 0.9rem; }
  .wheel-item { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .wheel-center { width: 56px; height: 56px; }
  .wheel-center img { width: 34px; height: 34px; }
  .wheel-item-label { font-size: 0.55rem; bottom: -18px; }
}
@media (max-width: 480px) {
  .capability-wheel {
    width: 300px; height: 300px;
  }
  .wheel-info { width: 170px; padding: 1rem; }
  .wheel-info h4 { font-size: 0.85rem; }
  .wheel-info p { font-size: 0.7rem; }
  .wheel-item-inner { width: 36px; height: 36px; font-size: 0.8rem; }
  .wheel-item { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
}

/* ── CTA SECTION ── */
.cta-section { padding: 8rem 12%; text-align: center; }
.cta-inner {
  position: relative;
  padding: 5rem;
  border-radius: 24px;
  background: rgba(10, 10, 15, 0.3);
  border: 1px solid rgba(139,92,246,0.12);
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.cta-glow {
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: ctaPulse 4s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%,100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}
.cta-inner h2 { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; font-family: var(--font-hero); line-height: 1.1; }
.cta-inner p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2.5rem; }
.cta-inner .btn-primary { margin: 0 auto; display: inline-flex; }

/* ── DISCORD MOCKUP (preserved) ── */
.discord-mockup { background: rgba(43, 45, 49, 0.4); backdrop-filter: blur(10px); border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow); padding: 1.5rem; position: relative; overflow: hidden; }
.discord-mockup::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--primary); }
.discord-user { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.discord-avatar { width: 40px; height: 40px; border-radius: 50%; background: #4e5058; }
.discord-username { font-weight: 600; font-size: 0.95rem; }
.discord-embed { background: rgba(35, 36, 40, 0.4); border-left: 4px solid var(--primary); border-radius: 4px; padding: 1rem; margin-top: 0.5rem; }
.discord-embed-title { font-weight: 700; margin-bottom: 0.5rem; color: var(--secondary); }
.discord-embed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; font-size: 0.85rem; }
.discord-field-title { color: var(--text-muted); font-weight: 600; margin-bottom: 0.2rem; }

/* ── PREMIUM BOX (preserved) ── */
.premium-ad-box { background: radial-gradient(circle at top right, rgba(26,26,26,0.4), rgba(5,5,5,0.4)); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); border-radius: 24px; padding: 5rem; text-align: center; margin: 8rem 12%; position: relative; overflow: hidden; }
.premium-ad-box h2 { font-size: 3rem; font-weight: 800; margin: 1.5rem 0; font-family: var(--font-hero); }
.premium-ad-box h2 span { color: #ffb800; }
.btn-premium { background: #ffb800; color: #000; padding: 1rem 2.5rem; border-radius: 12px; font-weight: 700; text-decoration: none; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 0.5rem; transition: var(--transition); }
.btn-premium:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,184,0,0.3); }

/* ── COMMANDS PAGE (preserved) ── */
.commands-page-bg { background: transparent !important; }
.commands-header { padding: 10rem 12% 4rem; text-align: center; }
.commands-header h1 { font-size: 4.8rem; font-family: 'Sora', sans-serif; font-weight: 800; margin: 1.5rem 0; letter-spacing: -2px; color: #fff; }
.commands-header h1 span { background: linear-gradient(90deg, #ff9a9e 0%, #a18cd1 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.search-filter-container { max-width: 900px; margin: 0 auto 5rem; display: flex; background: rgba(5, 5, 5, 0.4); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; }
.search-wrapper { flex: 1; display: flex; align-items: center; padding: 0 1.5rem; border-right: 1px solid rgba(255,255,255,0.08); }
.search-wrapper i { color: #333; margin-right: 1rem; }
.search-wrapper input { width: 100%; padding: 1.4rem 0; background: transparent; border: none; color: white; font-size: 0.95rem; outline: none; }
.filter-wrapper { width: 200px; position: relative; cursor: pointer; user-select: none; }
.dropdown-selected { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem; color: white; font-size: 0.95rem; }
.dropdown-selected i { color: #333; font-size: 0.9rem; }
.dropdown-options { position: absolute; top: 100%; left: 0; right: 0; background: rgba(10, 10, 10, 0.6); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-top: none; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; display: none; z-index: 100; box-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.dropdown-options.show { display: block; }
.option { padding: 1rem 1.4rem; color: #888; font-size: 0.9rem; transition: 0.2s; }
.option:hover, .option.active { background: #111; color: white; }
.option.active { color: var(--primary); }
.commands-container { padding: 0 8% 8rem; max-width: 1300px; margin: 0 auto; }
.category-title { font-size: 1.25rem; font-weight: 800; text-transform: uppercase; margin: 5rem 0 2rem; letter-spacing: 1.5px; color: #fff; font-family: 'Sora', sans-serif; display: flex; align-items: center; gap: 1.5rem; }
.category-title::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.05); }
.command-card { background: rgba(12, 12, 12, 0.4); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 2.5rem; margin-bottom: 0.8rem; transition: var(--transition); }
.command-card:hover { border-color: rgba(255,255,255,0.1); }
.command-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.cmd-icon { color: #444; font-family: monospace; font-weight: 700; font-size: 1.1rem; }
.command-name { font-size: 1.4rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #fff; font-family: 'Sora', sans-serif; }
.command-desc { color: #666; font-size: 1rem; line-height: 1.6; margin-bottom: 2rem; }
.command-meta { display: flex; flex-direction: column; }
.meta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.meta-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #444; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.6rem; }
.usage-box { background: rgba(20, 20, 20, 0.4); border-radius: 6px; padding: 1rem; color: #ddd; font-family: 'Consolas', monospace; font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.1); }
.alias-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.alias-pill { background: rgba(24, 24, 24, 0.4); padding: 0.5rem 0.8rem; border-radius: 4px; font-size: 0.85rem; color: #ccc; font-family: monospace; border: 1px solid rgba(255,255,255,0.1); }

/* ── FOOTER ── */
footer {
  background: rgba(0, 0, 0, 0.5);
  padding: 0 10% 2rem;
  border-top: none;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.footer-glow-line {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), rgba(99, 102, 241, 0.3), transparent);
  margin-bottom: 4rem;
}
.footer-content {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-logo img {
  width: 38px; height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
}
.footer-logo h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-hero);
  letter-spacing: -0.5px;
}
.footer-tm {
  font-size: 0.7rem;
  color: var(--text-muted);
  vertical-align: super;
  font-weight: 400;
}
.footer-brand p {
  color: var(--text-muted);
  max-width: 320px;
  font-size: 0.88rem;
  line-height: 1.7;
}
.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-socials a:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.3);
  color: #a78bfa;
  transform: translateY(-2px);
}
.footer-links h4 {
  margin-bottom: 1.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.footer-links a:hover { color: #c4b5fd; padding-left: 4px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.8rem;
}
.footer-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ── OLD REVEAL (other pages) ── */
.reveal { opacity: 0; transform: translateY(30px); transition: all 1s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ── SMOOTH SCROLL PROGRESS BAR ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 10000;
  background: linear-gradient(90deg, #7c3aed, #a78bfa, #7c3aed);
  background-size: 200% 100%;
  animation: progressGlow 3s linear infinite;
  transform-origin: left;
  transition: none;
}
@keyframes progressGlow {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .feature-section { flex-direction: column !important; gap: 3rem; padding: 5rem 8%; }
  .feature-mockup { flex: none; width: 100%; }
  .feature-content h2 { font-size: 2.4rem; }
  .feature-title-large { font-size: 2.8rem !important; }
  .hero-stats { gap: 1.5rem; }
  .stat-item { padding: 1.2rem 1.8rem; }
  .cta-inner { padding: 3rem 2rem; }
  .cta-inner h2 { font-size: 2.4rem; }
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: 0.5rem;
  transition: color 0.2s;
}
.mobile-menu-btn:hover { color: var(--secondary); }

@media (max-width: 900px) {
  .hero-split {
    flex-direction: column !important;
    text-align: center !important;
    gap: 3rem !important;
    padding-top: 10rem !important;
  }
  .hero-left { max-width: 100%; display: flex; flex-direction: column; align-items: center; }
  .hero-heading { font-size: 3.5rem; }
  .hero-split-btns { flex-direction: column; width: 100%; max-width: 300px; }
  .btn-blue-gradient, .btn-dark-outline { width: 100%; justify-content: center; }
  .nav-container-wrapper { padding: 1rem; }
  .pill-nav { padding: 0.5rem 1rem; border-radius: 12px; }
  .pill-nav .nav-links { display: none; }
  .pill-nav .nav-links.mobile-open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(15, 15, 20, 0.95);
    padding: 1rem; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
}

@media (max-width: 768px) {
  .hero-scroll-text h1 { font-size: 3rem; }
  .hero-scroll-text p { font-size: 1rem; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-links li { margin-bottom: 0.6rem; }
  .footer-bottom {
    flex-direction: column; text-align: center; gap: 1rem;
    padding-top: 1.5rem;
  }
  .nav-links {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 9999;
    transform: none;
    border-radius: 0;
    border: none;
    padding: 2rem;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links.mobile-open a {
    font-size: 1.3rem; font-weight: 700; color: #fff;
    padding: 0.8rem 2rem;
    width: 100%; max-width: 280px; text-align: center;
  }
  .nav-links.mobile-open a.active { background: rgba(255,255,255,0.1); }
  .mobile-menu-btn { display: inline-block; }
  .hero-stats { gap: 1rem; }
  .stat-item { padding: 1rem 1.5rem; }
  .feature-section { padding: 4rem 6%; }
  .feature-content h2 { font-size: 2rem; }
  .feature-title-large { font-size: 2.4rem !important; }
  .hero-badge { font-size: 0.75rem; padding: 0.4rem 1rem; }
  .commands-header h1 { font-size: 2.8rem; }
  .search-filter-container { flex-direction: column; }
  .search-wrapper { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .filter-wrapper { width: 100%; }
  .meta-row { grid-template-columns: 1fr; }
  .floating-orbs .orb { filter: blur(60px); opacity: 0.06; }
  .cta-inner { padding: 3rem 1.5rem; }
  .cta-inner h2 { font-size: 2rem; }
}
@media (max-width: 480px) {
  .hero-scroll-text h1 { font-size: 2.2rem; letter-spacing: -1px; }
  .hero-scroll-text p { font-size: 0.9rem; margin-bottom: 2rem; }
  .btn-primary { padding: 0.7rem 1.5rem; font-size: 0.9rem; }
  .hero-stats { gap: 0.75rem; }
  .stat-item h3 { font-size: 1.4rem; }
}
select option { background-color: var(--bg-dark); color: var(--text-main); }

/* ══════════════════════════════════════════════════════════════
   SERVER LIST PAGE
   ══════════════════════════════════════════════════════════════ */

/* ── FEATURED SERVER HERO ── */
.sl-featured-hero {
  padding: 8rem 5% 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.sl-featured-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: linear-gradient(135deg, rgba(15, 15, 25, 0.85), rgba(20, 20, 35, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}
.sl-featured-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(139, 92, 246, 0.08), transparent 60%);
  pointer-events: none;
}
.sl-featured-icon-wrap {
  flex-shrink: 0;
}
.sl-featured-icon {
  width: 180px;
  height: 180px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.08);
}
.sl-featured-icon-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.15);
}
.sl-featured-info {
  position: relative;
  z-index: 1;
}
.sl-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 1rem;
}
.sl-featured-name {
  font-family: var(--font-hero);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}
.sl-featured-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 500px;
}
.sl-featured-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sl-btn-join {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #000;
  padding: 0.75rem 1.8rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}
.sl-btn-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}
.sl-member-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  color: #22c55e;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ── SEARCH & FILTER ── */
.sl-search-section {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding: 0 5%;
}
.sl-search-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(15, 15, 25, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.9rem 1.4rem;
  backdrop-filter: blur(10px);
  margin-bottom: 1rem;
  transition: border-color 0.3s;
}
.sl-search-bar:focus-within {
  border-color: rgba(139, 92, 246, 0.4);
}
.sl-search-bar i {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.sl-search-bar input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  width: 100%;
}
.sl-search-bar input::placeholder {
  color: var(--text-muted);
}
.sl-filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sl-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sl-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.sl-tab.active {
  color: #fff;
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
}

/* ── TAB CONTENT ── */
.sl-tab-content {
  display: none;
}
.sl-tab-content.active {
  display: block;
}

/* ── SECTIONS ── */
.sl-section {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 0 5%;
}
.sl-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sl-section-title {
  font-family: var(--font-hero);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sl-show-all {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s;
}
.sl-show-all:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* ── CAROUSEL ── */
.sl-carousel-wrap {
  position: relative;
}
.sl-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.5rem;
}
.sl-carousel::-webkit-scrollbar {
  display: none;
}
.sl-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 15, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s;
  font-size: 0.85rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.sl-carousel-btn:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.5);
}
.sl-carousel-next {
  right: -12px;
}

/* ── SERVER CARDS ── */
.sl-card {
  flex: 0 0 170px;
  scroll-snap-align: start;
  background: rgba(15, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.sl-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.1);
}
.sl-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}
.sl-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.sl-card:hover .sl-card-img {
  transform: scale(1.08);
}
.sl-card-img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #a78bfa;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(56, 189, 248, 0.1));
}
.sl-card-badges {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: flex;
  gap: 4px;
}
.sl-badge-members, .sl-badge-year {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 3px;
}
.sl-badge-members i, .sl-badge-year i {
  font-size: 0.55rem;
  opacity: 0.7;
}
.sl-card-body {
  padding: 0.7rem 0.8rem;
}
.sl-card-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.5rem;
}
.sl-card-join {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.4rem 0;
  color: #fff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  width: 100%;
}
.sl-card-join:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
}
.sl-card-join i {
  font-size: 0.6rem;
}

/* ── GRID VIEW (for tabs) ── */
.sl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 1rem;
}

/* ── SEARCH RESULTS ── */
.sl-search-results {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 0 5%;
}
.sl-no-results {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}
.sl-no-results i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.3;
}

/* ── FOOTER ── */
.sl-footer {
  max-width: 1100px;
  margin: 4rem auto 0;
  padding: 2rem 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.sl-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.sl-footer p {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.sl-footer-links {
  display: flex;
  gap: 1.5rem;
}
.sl-footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s;
}
.sl-footer-links a:hover {
  color: #fff;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .sl-featured-inner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .sl-featured-icon { width: 120px; height: 120px; }
  .sl-featured-name { font-size: 2rem; }
  .sl-featured-desc { margin: 0 auto 1.5rem; }
  .sl-featured-actions { justify-content: center; }
  .sl-card { flex: 0 0 150px; }
  .sl-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .sl-footer-inner { flex-direction: column; text-align: center; }
}

/* --- TUBELIGHT NAVBAR --- */
.tube-nav-wrapper {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50000;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .tube-nav-wrapper {
        top: 0;
        bottom: auto;
        padding-top: 1.5rem;
        margin-bottom: 0;
    }
}

.tube-nav-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.25rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    position: relative;
}

.tube-nav-item {
    position: relative;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    transition: color 0.3s, background-color 0.3s;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.tube-nav-item:hover {
    color: #ffffff;
}

.tube-nav-item.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.tube-nav-item .desktop-text {
    display: none;
}

@media (min-width: 768px) {
    .tube-nav-item .desktop-text {
        display: inline;
    }
    .tube-nav-item .mobile-icon {
        display: none;
    }
}

.tube-nav-item .mobile-icon i {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}


 
 