/* =============================================
   QF BTEC IT - Main Stylesheet
   Design: قصي الفحيلي & ليث رباع
   ============================================= */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Aref+Ruqaa:wght@400;700&family=Noto+Naskh+Arabic:wght@400;600;700&family=Cinzel:wght@400;600;700;900&display=swap');

/* === CSS Variables - Dark Mode (Default) === */
:root {
  --bg-primary: #020815;
  --bg-secondary: #0f1a33;
  --bg-tertiary: #14264d;
  --bg-layer: rgba(255, 255, 255, 0.06);
  --text-primary: #eff2ff;
  --text-muted: #a8b2cc;
  --silver: #c0c5d8;
  --silver-light: #eff2ff;
  --ash: #9aa6c0;
  --maroon: #7f1d40;
  --gold: #f5c150;
  --gold-dark: #b88b18;
  --dark-green: #004d32;
  --teal: #48d1cc;
  --cyan: #6ee7ff;
  --card-bg: rgba(6, 18, 45, 0.95);
  --glass-bg: rgba(12, 24, 55, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 45px rgba(0,0,0,0.45);
  --shadow-sm: 0 7px 20px rgba(0,0,0,0.28);
  --radius: 16px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --snap-yellow: #FFFC00;
  --ig-pink: #E1306C;
  --email-red: #EA4335;
  --wa-green: #25D366;
  --fb-blue: #1877F2;
  --discord-blurple: #5865F2;
  --linkedin-blue: #0077B5;
  --navbar-h: 70px;
  --brand-gradient: linear-gradient(135deg, var(--gold), var(--teal), #84d9ff);
}

/* === Light Mode === */
body.light-mode {
  --bg-primary: #f0f2f5;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e9ecef;
  --text-primary: #212529;
  --text-muted: #6c757d;
  --card-bg: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Naskh Arabic', 'Aref Ruqaa', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  direction: rtl;
}

/* === Typography === */
.cinzel { font-family: 'Cinzel', serif; }
.aref { font-family: 'Aref Ruqaa', serif; }
.gold-text { color: var(--gold); }
.teal-text { color: var(--teal); }
.silver-text { color: var(--silver); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Aref Ruqaa', serif;
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--teal); }

/* === Particles Background === */
#particles-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  transition: var(--transition);
}

.glass-nav {
  background: rgba(20, 25, 45, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

body.light-mode .glass-nav {
  background: rgba(230, 235, 250, 0.1);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85) !important;
  border-bottom-color: rgba(212, 175, 55, 0.2);
}

body.light-mode .navbar.scrolled {
  background: rgba(240, 242, 245, 0.92) !important;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo {
  height: 40px;
  width: auto;
  filter: brightness(1.25) contrast(1.2) drop-shadow(0 0 12px rgba(212,175,55,0.6)) drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: filter 0.3s ease;
}

.nav-logo:hover {
  filter: brightness(1.35) contrast(1.3) drop-shadow(0 0 16px rgba(212,175,55,0.8)) drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.brand-text {
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--teal), var(--gold));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1.5px;
  text-shadow: 0 0 25px rgba(212,175,55,0.4), 0 2px 10px rgba(0,0,0,0.3);
  position: relative;
  transition: var(--transition);
}

.brand-text:hover {
  background: linear-gradient(135deg, var(--teal), var(--gold), var(--teal));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 35px rgba(0,206,209,0.5), 0 2px 15px rgba(0,0,0,0.4);
}

.brand-text::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  border-radius: 1px;
  opacity: 0.8;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-brand:hover .brand-text::after {
  transform: scaleX(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: nowrap;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
}

.nav-link i {
  font-size: 0.8rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.theme-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.9rem;
}

.theme-toggle:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(212,175,55,0.1);
}

.auth-btns {
  display: flex;
  gap: 0.5rem;
}

/* === User Menu === */
.user-menu { position: relative; }

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid var(--gold);
  color: #000;
  font-size: 0.9rem;
  transition: var(--transition);
}

.user-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(212,175,55,0.4);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  min-width: 200px;
  padding: 0.5rem;
  box-shadow: var(--shadow);
  display: none;
  z-index: 100;
}

.user-dropdown.open { display: block; }

.user-dropdown .user-info {
  padding: 0.5rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.user-dropdown .user-info span {
  font-size: 0.85rem;
  font-weight: 600;
}

.role-badge {
  font-size: 0.7rem !important;
  background: rgba(212,175,55,0.15);
  color: var(--gold) !important;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.3);
  width: fit-content;
}

.role-badge.designer {
  background: rgba(0,206,209,0.15);
  color: var(--teal) !important;
  border-color: rgba(0,206,209,0.3);
}

.user-dropdown hr {
  border: none;
  border-top: 1px solid var(--glass-border);
  margin: 0.4rem 0;
}

.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.user-dropdown a:hover {
  background: var(--glass-bg);
  color: var(--text-primary);
}

.user-dropdown a i {
  width: 16px;
  color: var(--gold);
}

/* === Hamburger === */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'Noto Naskh Arabic', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #000;
  box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212,175,55,0.5);
  color: #000;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #000;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212,175,55,0.5);
  color: #000;
}

.btn-outline-white {
  background: rgba(255,255,255,0.08);
  color: var(--silver-light);
  border: 1.5px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.btn-outline-white:hover {
  background: rgba(0, 206, 209, 0.10);
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,206,209,0.12);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-outline:hover {
  background: rgba(212,175,55,0.1);
  transform: translateY(-2px);
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
  background: var(--glass-bg);
  color: var(--text-primary);
}

.btn-outline-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  border-radius: 8px;
  background: transparent;
  border: 1.5px solid var(--glass-border);
  color: var(--text-muted);
  cursor: pointer;
  font-family: 'Noto Naskh Arabic', sans-serif;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-sm:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-primary-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border: none;
  color: #000;
  cursor: pointer;
  font-family: 'Noto Naskh Arabic', sans-serif;
  font-weight: 700;
  transition: var(--transition);
}

.btn-primary-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212,175,55,0.4);
}

.w-full { width: 100%; justify-content: center; }

/* === Hero Section === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--navbar-h) + 2rem) 8% 4rem;
  position: relative;
  overflow: hidden;
  gap: 2rem;
}

.hero-bg-effect {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 38%, rgba(212,175,55,0.16) 0%, transparent 30%),
    radial-gradient(circle at 84% 20%, rgba(0,206,209,0.14) 0%, transparent 28%),
    radial-gradient(circle at 60% 82%, rgba(127,29,64,0.12) 0%, transparent 22%),
    linear-gradient(180deg, transparent 10%, rgba(0,0,0,0.22) 100%);
  filter: blur(1px);
  pointer-events: none;
}

.hero-content {
  max-width: 580px;
  position: relative;
  z-index: 2;
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,206,209,0.18);
  color: var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(16px);
}

.hero-badge i { font-size: 0.7rem; }

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 900;
}

.hero-title .cinzel {
  display: block;
  letter-spacing: 4px;
  background: linear-gradient(135deg, var(--gold), var(--teal), var(--gold));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 50px rgba(212,175,55,0.5), 0 4px 20px rgba(0,0,0,0.4);
  position: relative;
  animation: goldGlow 4s ease-in-out infinite;
}

.hero-title .cinzel::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--teal), var(--gold), transparent);
  border-radius: 2px;
  opacity: 0.8;
}

.hero-title .cinzel::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--gold), var(--teal), transparent);
  border-radius: 1px;
  opacity: 0.6;
}

.hero-brand-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 2px;
  padding: 0.3rem 0.8rem;
  border-radius: 24px;
  background: rgba(245,193,80,0.14);
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 0 30px rgba(72,209,204,0.08);
}

.hero-brand-title .brand-highlight {
  background: rgba(72,209,204,0.15);
  color: var(--text-primary);
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-weight: 900;
}

.hero-subtitle-ar {
  font-family: 'Aref Ruqaa', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--text-muted);
  font-weight: 400;
  display: block;
  margin-top: 0.5rem;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  font-family: 'Cinzel', serif;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

/* === Hero Visual === */
.hero-visual {
  position: relative;
  width: 420px;
  height: 420px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(0,206,209,0.14), transparent 35%),
              radial-gradient(circle at 70% 60%, rgba(212,175,55,0.12), transparent 40%);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 25px 80px rgba(0,0,0,0.4);
}

.hero-circle-bg {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.16) 0%, transparent 60%);
  border: 1px solid rgba(212,175,55,0.15);
  position: absolute;
  animation: rotateGlow 9s linear infinite;
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.floating-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 0.7rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
}

.floating-card i { color: var(--gold); }

.fc-1 { top: 10%; right: 5%; animation-delay: 0s; }
.fc-2 { top: 35%; left: -5%; animation-delay: 1s; }
.fc-3 { bottom: 30%; right: -5%; animation-delay: 2s; }
.fc-4 { bottom: 10%; left: 10%; animation-delay: 0.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* === Container === */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* === Sections === */
.section {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-block {
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--gold), var(--maroon));
  border-radius: 3px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(212,175,55,0.3);
  transition: var(--transition);
}

.view-all-btn:hover {
  background: rgba(212,175,55,0.1);
  color: var(--gold);
}

/* === Units Section === */
.units-section { background: var(--bg-secondary); }

.units-display {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.unit-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  width: 100%;
  max-width: 900px;
  transition: var(--transition);
}

.unit-item:hover {
  border-color: rgba(212,175,55,0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.unit-item img {
  width: 200px;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.unit-item-info { flex: 1; }
.unit-item-info h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.unit-item-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.unit-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #000;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  margin-top: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.unit-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,175,55,0.4);
  color: #000;
}

.units-placeholder {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

.units-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--gold);
  opacity: 0.5;
}

/* === Quick Access Grid === */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.quick-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  group: true;
}

.quick-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--teal));
  opacity: 0;
  transition: var(--transition);
}

.quick-card:hover::before { opacity: 1; }

.quick-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(212,175,55,0.3);
}

.qc-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.quick-card:hover .qc-icon {
  background: rgba(212,175,55,0.15);
  border-color: rgba(212,175,55,0.3);
}

.qc-files .qc-icon i { color: var(--gold); }
.qc-calc .qc-icon i { color: var(--teal); }
.qc-courses .qc-icon i { color: #a855f7; }
.qc-top .qc-icon i { color: #f59e0b; }
.qc-events .qc-icon i { color: var(--teal); }
.qc-groups .qc-icon i { color: var(--wa-green); }

.quick-card h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 700;
}

.quick-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.qc-arrow {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: var(--gold);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.quick-card:hover .qc-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* === Events Preview === */
.events-preview { background: var(--bg-secondary); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.event-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(212,175,55,0.3);
}

.event-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
}

.event-card-body {
  padding: 1.2rem;
}

.event-card-body h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.event-card-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-dates {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.event-date-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--gold);
  background: rgba(212,175,55,0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.2);
}

/* === Prizes Section === */
.prizes-section { background: var(--bg-primary); }

.prizes-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.prize-item {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition);
}

.prize-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(212,175,55,0.3);
}

.prize-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.prize-details h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.prize-details p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* === Top Students Preview === */
.top-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.top-card {
  background: linear-gradient(180deg, rgba(7, 20, 44, 0.95), rgba(12, 29, 64, 0.95));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.top-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(245,193,80,0.08), transparent 30%);
  pointer-events: none;
}

.top-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.32);
  border-color: rgba(245,193,80,0.22);
}

.top-card.distinction { border-color: rgba(245,193,80,0.32); }
.top-card.merit { border-color: rgba(192,192,192,0.3); }
.top-card.pass { border-color: rgba(176,141,87,0.3); }

.top-card-name {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.top-card-grade {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.95rem;
}

.top-card-score {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 0.1rem;
}

.top-card-detail {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.top-card-meta {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1rem;
}

.top-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.05);
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.top-star-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: rgba(245,193,80,0.16);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(245,193,80,0.14);
}

.grade-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9rem;
}

.grade-D {
  background: rgba(212,175,55,0.15);
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.3);
}

.grade-M {
  background: rgba(192,192,192,0.15);
  color: var(--silver);
  border: 1px solid rgba(192,192,192,0.3);
}

.grade-P {
  background: rgba(176,141,87,0.15);
  color: #b08d57;
  border: 1px solid rgba(176,141,87,0.3);
}

/* === Footer === */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 0;
  position: relative;
  z-index: 2;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {}

.footer-logo {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-brand h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--gold), var(--teal), var(--gold));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 25px rgba(212,175,55,0.4);
  position: relative;
  display: inline-block;
  animation: goldGlow 5s ease-in-out infinite;
}

.footer-brand h3::before {
  content: '✨';
  position: absolute;
  top: -10px;
  right: -15px;
  font-size: 1rem;
  opacity: 0.7;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
}

.social-btn:hover { transform: translateY(-3px); color: white; }
.social-btn.ig:hover { background: var(--ig-pink); border-color: var(--ig-pink); }
.social-btn.wa:hover { background: var(--wa-green); border-color: var(--wa-green); }
.social-btn.fb:hover { background: var(--fb-blue); border-color: var(--fb-blue); }
.social-btn.sn:hover { background: var(--snap-yellow); border-color: var(--snap-yellow); color: #000; }
.social-btn.dc:hover { background: var(--discord-blurple); border-color: var(--discord-blurple); }
.social-btn.li:hover { background: var(--linkedin-blue); border-color: var(--linkedin-blue); }

.footer-links h4 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-right: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.designer-credit {
  font-family: 'Aref Ruqaa', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  letter-spacing: 0.5px;
  position: relative;
}

.designer-credit::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 1px;
}

.designer-credit::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 1px;
}

/* === Modals === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal-box {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.auth-modal { max-width: 400px; }

.modal-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  background: rgba(239,68,68,0.1);
  color: #ef4444;
  border-color: #ef4444;
}

.modal-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
}

.modal-logo {
  height: 50px;
  margin-bottom: 1rem;
}

.modal-header h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.modal-body {
  padding: 1rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-tertiary);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: 'Noto Naskh Arabic', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-google img { width: 20px; }

.btn-google:hover {
  border-color: rgba(212,175,55,0.3);
  background: var(--glass-bg);
  transform: translateY(-1px);
}

.divider {
  position: relative;
  text-align: center;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--glass-border);
}

.divider span {
  position: relative;
  background: var(--card-bg);
  padding: 0 0.8rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input {
  background: var(--bg-tertiary);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--text-primary);
  padding: 0.7rem 1rem;
  font-family: 'Noto Naskh Arabic', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  direction: rtl;
  width: 100%;
}

.form-input:focus {
  border-color: var(--gold);
  background: var(--card-bg);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23D4AF37'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  padding-left: 2.5rem;
}

.form-error {
  color: #ef4444;
  font-size: 0.82rem;
  background: rgba(239,68,68,0.1);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(239,68,68,0.2);
}

.form-success {
  color: #10b981;
  font-size: 0.82rem;
  background: rgba(16,185,129,0.1);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(16,185,129,0.2);
}

.modal-switch {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-switch a { color: var(--gold); font-weight: 600; }

.register-help {
  text-align: center;
  font-size: 0.82rem;
}

.register-help a {
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* === Auth Required Banner === */
.auth-required-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--card-bg);
  border-top: 2px solid var(--gold);
  padding: 1rem 2rem;
  z-index: 1500;
  animation: slideFromBottom 0.4s ease;
}

.arb-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.arb-content > i {
  font-size: 1.5rem;
  color: var(--gold);
}

.arb-content > div { flex: 1; }

.arb-content h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.arb-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.arb-buttons {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* === QF AI Chat === */
.ai-chat-wrapper {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 900;
}

.ai-chat-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border: none;
  color: #000;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(212,175,55,0.4);
  transition: var(--transition);
  flex-direction: column;
  gap: 2px;
}

.ai-chat-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(212,175,55,0.5);
}

.ai-btn-label {
  font-size: 0.55rem;
  font-weight: 900;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
}

.ai-chat-window {
  position: fixed;
  bottom: 5rem;
  left: 1.5rem;
  width: min(90vw, 380px);
  height: min(80vh, 520px);
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 900;
  animation: slideUp 0.3s ease;
}

.ai-chat-window.open { display: flex; }

.ai-chat-header {
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(0,206,209,0.05));
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ai-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.ai-chat-header h4 {
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 1px;
}

.ai-status-text {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.ai-header-right {
  display: flex;
  gap: 0.4rem;
}

.ai-header-right button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 6px;
  transition: var(--transition);
  font-size: 0.85rem;
}

.ai-header-right button:hover { color: var(--text-primary); background: var(--glass-bg); }

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  scroll-behavior: smooth;
}

.ai-chat-messages::-webkit-scrollbar { width: 4px; }
.ai-chat-messages::-webkit-scrollbar-track { background: transparent; }
.ai-chat-messages::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 4px; }

.ai-message {
  display: flex;
  gap: 0.6rem;
  align-items: flex-end;
}

.ai-message.ai-user { flex-direction: row-reverse; }

.ai-msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.ai-message.ai-user .ai-msg-avatar {
  background: var(--teal);
  color: #000;
}

.ai-msg-bubble {
  max-width: 80%;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  line-height: 1.6;
}

.ai-message.ai-bot .ai-msg-bubble {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: 4px 12px 12px 12px;
  color: var(--text-primary);
}

.ai-message.ai-user .ai-msg-bubble {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #000;
  font-weight: 600;
  border-radius: 12px 4px 12px 12px;
}

.ai-typing {
  display: flex;
  gap: 4px;
  padding: 0.5rem;
  align-items: center;
}

.ai-typing span {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: typingBounce 1s infinite;
}

.ai-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.ai-chat-input-area {
  padding: 0.8rem;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-secondary);
}

.ai-file-preview {
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  background: var(--bg-tertiary);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-input-row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 0.5rem 0.7rem;
}

.ai-attach-btn {
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 6px;
  transition: var(--transition);
  flex-shrink: 0;
}

.ai-attach-btn:hover { color: var(--gold); }

.ai-textarea {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: 'Noto Naskh Arabic', sans-serif;
  font-size: 0.85rem;
  resize: none;
  max-height: 100px;
  direction: rtl;
  line-height: 1.5;
}

.ai-textarea::placeholder { color: var(--text-muted); }

.ai-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border: none;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.ai-send-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(212,175,55,0.4);
}

/* === Utilities === */
.hidden { display: none !important; }
.loading-placeholder {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

/* === Pulse Glow === */
.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(212,175,55,0.4); }
  50% { box-shadow: 0 4px 30px rgba(212,175,55,0.7), 0 0 40px rgba(212,175,55,0.2); }
}

/* === Scrollbar === */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.3); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212,175,55,0.5); }

/* === Responsive === */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-visual { display: none; }
  .hero { justify-content: center; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-badge { margin: 0 auto 1.5rem; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .top-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .quick-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .top-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr; }
  .hero { padding: calc(var(--navbar-h) + 1rem) 5% 3rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .unit-item { flex-direction: column; }
  .unit-item img { width: 100%; height: 200px; }
}

@media (max-width: 480px) {
  .top-grid { grid-template-columns: 1fr; }
  .ai-chat-window { left: 0.5rem; right: 0.5rem; width: auto; }
}

/* Mobile Nav Open */
.nav-links.mobile-open {
  display: flex !important;
  position: fixed;
  top: var(--navbar-h);
  left: 0; right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--glass-border);
  flex-direction: column;
  padding: 1rem;
  gap: 0.3rem;
  z-index: 999;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
