/* ========================================
   AI Resume Analyzer - Global Styles
   Premium Futuristic Dark Theme
======================================== */

/* CSS Variables - Theme */
:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #13131a;
  --bg-card: #1a1a24;
  --bg-card-hover: #21212e;

  /* Accents */
  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-teal: #14b8a6;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #14b8a6 100%);
  --gradient-card: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);

  /* Text */
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  /* Borders */
  --border-color: rgba(99, 102, 241, 0.2);
  --border-light: rgba(255, 255, 255, 0.1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
  --white-glow: 0 0 20px rgba(255, 255, 255, 0.262);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ========================================
   Reset & Base Styles
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================================
   Typography
======================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: 3.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: white;
  background-clip: text;
}

h2 {
  font-size: 2.5rem;
  color: var(--text-primary);
}

h3 {
  font-size: 1.75rem;
  color: var(--text-primary);
}

h4 {
  font-size: 1.25rem;
  color: var(--text-primary);
}

p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-secondary);
}

/* ========================================
   Navbar (Glass Style)
======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.navbar-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.navbar-link {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-link:hover {
  color: var(--text-primary);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.navbar-link:hover::after {
  width: 100%;
}

.navbar-link.active {
  color: var(--text-primary);
}

.navbar-link.active::after {
  width: 100%;
}

/* ========================================
   Buttons
======================================== */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
  color: white;
  box-shadow: white;
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

/* ========================================
   Cards
======================================== */

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  border-color: var(--border-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.card-glass {
  background: rgba(26, 26, 36, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
}

.card-gradient {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.card-text {
  color: var(--text-secondary);
  font-size: 1rem;
}

.card .card-text:hover{
  color: var(--shadow-glow);
}

/* ========================================
   Container & Layout
======================================== */

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

.section {
  padding: 5rem 0;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  z-index: 1;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
}

.hero-title p{
  background: var(--accent-secondary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
}

.hero-subtitle {
  font-size: 1.375rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle:hover{
  color: var(--shadow-glow);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}
/* ========================================
   HERO VIDEO BACKGROUND (NEW)
======================================== */

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;

  z-index: 0;

  /* 🔥 PERFECT SETTINGS */
  filter: blur(1.5px) brightness(0.85);
  opacity: 1;
}
/* Overlay for readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 20, 0.3),
    rgba(10, 10, 20, 0.6)
  );
  z-index: 1;
}

/* Ensure content stays above */
.hero-content {
  position: relative;
  z-index: 2;
}/* ========================================
   HERO PREMIUM POLISH
======================================== */

.hero-title {
  text-shadow:
    0 0 25px rgba(99, 102, 241, 0.8),
    0 0 50px rgba(139, 92, 246, 0.5);
}

.hero-title p {
  text-shadow:
    0 0 15px rgba(139, 92, 246, 0.8),
    0 0 25px rgba(99, 102, 241, 0.5);
}

/* Buttons glow */
.btn-primary:hover {
  box-shadow:
    0 0 15px rgba(99, 102, 241, 0.6),
    0 0 30px rgba(139, 92, 246, 0.4);
}

.btn-secondary:hover {
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.3);
}
/* ========================================
   Grid Layouts
======================================== */

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Feature Cards
======================================== */

.feature-card {
  text-align: center;
  padding: var(--spacing-xl);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: var(--shadow-glow);
}

/* ========================================
   Forms
======================================== */
.skill-chip.missing{
    background:#ffe5e5;
    color:#c0392b;
}
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-secondary);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* ========================================
   Upload Box
======================================== */

.upload-box {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  background: var(--bg-card);
  transition: all var(--transition-normal);
  cursor: pointer;
  }
  
  .upload-box * {
    pointer-events: none;
  }

  .upload-box {
    position: relative;
    z-index: 10;
    pointer-events: auto;
  }
  
  .section {
    pointer-events: auto;
  }
  
  .overlay,
  .glass,
  .blur-layer,
  .gradient-bg {
    pointer-events: none;
  }
  

.upload-box:hover {
  border-color: var(--accent-primary);
  background: var(--bg-card-hover);
}

.upload-box.dragover {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
}

.upload-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
  color: var(--accent-primary);
}

.upload-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.upload-formats {
  margin-top: var(--spacing-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ========================================
   Dashboard Layout
======================================== */

.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 80px;
}

.sidebar {
  width: 280px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-light);
  padding: var(--spacing-lg);
  position: fixed;
  left: 0;
  top: 80px;
  bottom: 0;
  overflow-y: auto;
}

.sidebar-nav {
  list-style: none;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 1rem;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-xs);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.sidebar-link:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.sidebar-link.active {
  background: var(--gradient-card);
  color: var(--text-primary);
  border-left: 3px solid var(--accent-primary);
}

.sidebar-icon {
  font-size: 1.25rem;
}

.main-content {
  flex: 1;
  margin-left: 280px;
  padding: var(--spacing-xl);
}

/* ========================================
   Stat Cards
======================================== */

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.stat-card:hover{
  box-shadow:var(--white-glow);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-xs);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-change {
  font-size: 0.875rem;
  margin-top: var(--spacing-xs);
}

.stat-change.positive {
  color: var(--accent-teal);
}

.stat-change.negative {
  color: #ef4444;
}

/* ========================================
   Skill Chips/Badges
======================================== */

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.skill-chip {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.skill-chip:hover {
  background: rgba(99, 102, 241, 0.25);
  transform: translateY(-2px);
}

.skill-chip.matched {
  background: rgba(20, 184, 166, 0.15);
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.skill-chip.missing {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #ef4444;
}

/* ========================================
   Progress Bar
======================================== */

.progress-bar {
  width: 100%;
  height: 12px;
  background: var(--bg-secondary);
  border-radius: 50px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 50px;
  transition: width var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ========================================
   Timeline/Roadmap
======================================== */

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--spacing-lg);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 6px var(--accent-primary);
}

.timeline-content {
  background: var(--bg-card);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.timeline-title {
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--text-primary);
}

.timeline-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ========================================
   Match Score Display
======================================== */

.match-score-display {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.match-score-circle {
  width: 200px;
  height: 200px;
  margin: 0 auto var(--spacing-md);
  border-radius: 50%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.match-score-value {
  font-size: 3.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   Lists
======================================== */

.styled-list {
  list-style: none;
  padding: 0;
}

.styled-list li {
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-primary);
  color: var(--text-secondary);
}

.styled-list.success li {
  border-left-color: var(--accent-teal);
}

.styled-list.warning li {
  border-left-color: #f59e0b;
}

.styled-list.error li {
  border-left-color: #ef4444;
}

/* ========================================
   Footer
======================================== */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 2rem 0;
  margin-top: 5rem;
  text-align: center;
}

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

/* ========================================
   Utilities
======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }


.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.flex { display: flex; }
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gap-1 { gap: var(--spacing-xs); }
.gap-2 { gap: var(--spacing-sm); }
.gap-3 { gap: var(--spacing-md); }

/* ========================================
   Auth Page Styles
======================================== */

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.auth-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.auth-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 450px;
  width: 100%;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.auth-title {
  font-size: 2rem;
  margin-bottom: var(--spacing-xs);
  text-align: center;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
}

/* ========================================
   Responsive
======================================== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .navbar-menu {
    gap: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* ========================================
   Animations
======================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.6s ease;
}

/* ========================================
   Icon Placeholders (Using Unicode)
======================================== */

.icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  text-align: center;
}
/* ========================================
   MOBILE RESPONSIVE FIX (FINAL)
======================================== */

/* Tablets */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .main-content {
    padding: 1.5rem;
  }

  .sidebar {
    width: 220px;
  }

  .main-content {
    margin-left: 220px;
  }
}

/* Mobile */
@media (max-width: 768px) {

  /* 🔥 Sidebar OFF (important) */
  .sidebar {
    position: fixed;
    left: -100%;
    width: 240px;
    transition: 0.3s ease;
    z-index: 1001;
  }

  .sidebar.active {
    left: 0;
  }

  /* Remove left spacing */
  .main-content {
    margin-left: 0;
    padding: 1rem;
  }

  /* Add hamburger button (we'll add later if needed) */

  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
  p { font-size: 0.95rem; }

  /* Cards */
  .card {
    padding: 1rem;
  }

  /* Buttons */
  .btn {
    width: 100%;
    padding: 0.75rem;
  }

  /* Hero section */
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
/* ========================================
   HERO VIDEO MOBILE FIX
======================================== */

@media (max-width: 768px) {
  .hero-video {
    filter: blur(4px) brightness(0.6);
  }

  .hero-section {
    min-height: 90vh;
  }
}
  /* Grids already responsive (good work 👍) */

  /* Fix progress + strengths overlap issue */
  .progress-bar {
    margin-bottom: 1rem;
  }

  .styled-list li {
    font-size: 0.9rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .card {
    padding: 0.8rem;
  }
}
/* Hamburger button */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

@media (max-width: 768px) {

  .navbar-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    padding: 1rem;
    gap: 1rem;
  }

  .navbar-menu.active {
    display: flex;
  }

}.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}
/* ========================================
   CUSTOM SCROLLBAR (PREMIUM)
======================================== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0f; /* match bg */
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    #6366f1,
    #8b5cf6
  );
  border-radius: 10px;
  border: 2px solid #0a0a0f;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    #7c7ff5,
    #a78bfa
  );
}