/* Build The Rift - Homepage Style U.GG */

/* ===================================================================
   Variables U.GG Style
=================================================================== */
:root {
  /* U.GG Color Palette */
  --ugg-bg-primary: #1c1c1f;
  --ugg-bg-secondary: #28282c;
  --ugg-bg-tertiary: #16161a;
  --ugg-card-bg: #28282c;
  --ugg-card-hover: #313135;

  /* Primary Colors */
  --ugg-blue: #5383e8;
  --ugg-blue-light: #7ca1f3;
  --ugg-cyan: #00bfd6;
  --ugg-gold: #f0b232;

  /* Text Colors */
  --ugg-text-primary: #e4e4e7;
  --ugg-text-secondary: #a1a1aa;
  --ugg-text-tertiary: #71717a;

  /* Borders & Dividers */
  --ugg-border: #3f3f46;
  --ugg-border-light: #52525b;

  /* Shadows */
  --ugg-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  --ugg-shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.4);

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

  /* Navigation */
  --navbar-height: 70px;
}

/* ===================================================================
   Reset et Base
=================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--ugg-bg-primary) !important;
  color: var(--ugg-text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Remove gradient pattern for clean U.GG look */
body::before {
  display: none !important;
}

/* ===================================================================
   Typography
=================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, var(--ugg-blue) 0%, var(--ugg-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================================================
   Hide old navbar (sidebar is now used)
=================================================================== */
.main-header {
  display: none !important;
}

/* ===================================================================
   Modern Navbar - U.GG Style
=================================================================== */
.btr-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(28, 28, 31, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ugg-border);
  z-index: 1000;
  height: var(--navbar-height);
  transition: all 0.3s ease;
}

.btr-navbar.scrolled {
  background: rgba(28, 28, 31, 0.98);
  box-shadow: var(--ugg-shadow-lg);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
  height: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--ugg-text-primary);
  font-weight: 700;
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
  color: var(--ugg-text-primary);
}

.navbar-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.75rem;
  color: var(--ugg-text-secondary);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--ugg-text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--ugg-blue);
  background: rgba(83, 131, 232, 0.1);
}

/* Navbar Search */
.navbar-search {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--ugg-bg-secondary);
  border: 1px solid var(--ugg-border);
  border-radius: 6px;
  padding: 0.25rem;
  transition: all 0.2s ease;
}

.navbar-search:focus-within {
  border-color: var(--ugg-blue);
  box-shadow: 0 0 0 3px rgba(83, 131, 232, 0.1);
}

.navbar-search input {
  background: transparent;
  border: none;
  color: var(--ugg-text-primary);
  padding: 0.5rem 0.75rem;
  min-width: 150px;
  outline: none;
  font-size: 0.875rem;
}

.navbar-search input::placeholder {
  color: var(--ugg-text-tertiary);
}

.navbar-search select {
  background: transparent;
  border: none;
  color: var(--ugg-text-primary);
  padding: 0.5rem;
  outline: none;
  font-size: 0.875rem;
  cursor: pointer;
}

.navbar-search .search-btn {
  background: var(--ugg-blue);
  border: none;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-search .search-btn:hover {
  background: var(--ugg-blue-light);
}

/* Navbar Right Section */
.navbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  border: none;
}

.btn-primary {
  background: var(--ugg-blue);
  color: white;
}

.btn-primary:hover {
  background: var(--ugg-blue-light);
  color: white;
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ugg-text-primary);
}

.btn-small {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}

.form-select {
  background: var(--ugg-card-bg);
  border: 1px solid var(--ugg-border);
  color: var(--ugg-text-primary);
  padding: 0.5rem;
  border-radius: 6px;
  font-size: 0.875rem;
  cursor: pointer;
}

.form-select:focus {
  outline: none;
  border-color: var(--ugg-blue);
}

/* User Profile */
.user-profile {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--ugg-bg-secondary);
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--ugg-border);
}

.user-name {
  color: var(--ugg-text-primary);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--ugg-text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  .navbar-nav,
  .navbar-search {
    display: none;
  }

  .mobile-menu-btn {
    display: block !important;
  }

  .navbar-right {
    gap: 0.5rem;
  }
}

/* ===================================================================
   Hero Section - U.GG Style
=================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem var(--space-md) var(--space-xl);
  position: relative;
  margin-top: 0 !important;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--ugg-text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--ugg-blue);
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
}

.primary-cta:hover {
  background: var(--ugg-blue-light);
  transform: translateY(-2px);
  color: white;
}

.hero-search {
  max-width: 600px;
  width: 100%;
}

.hero-search-form {
  display: flex;
  background: var(--ugg-card-bg);
  border: 1px solid var(--ugg-border);
  border-radius: 6px;
  padding: 0.375rem;
  transition: all 0.2s ease;
  gap: 0.375rem;
}

.hero-search-form:focus-within {
  border-color: var(--ugg-blue);
  box-shadow: 0 0 0 3px rgba(83, 131, 232, 0.1);
}

.hero-search-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--ugg-text-primary);
  padding: 0.75rem 1rem;
  outline: none;
  font-size: 0.875rem;
}

.hero-search-form input::placeholder {
  color: var(--ugg-text-tertiary);
}

.hero-search-form select {
  background: transparent;
  border: none;
  color: var(--ugg-text-primary);
  padding: 0.75rem 1rem;
  outline: none;
  cursor: pointer;
  font-size: 0.875rem;
}

.hero-search-form button {
  background: var(--ugg-blue);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 0.875rem;
}

.hero-search-form button:hover {
  background: var(--ugg-blue-light);
}

/* ===================================================================
   Tools Grid - U.GG Style
=================================================================== */
.tools-section {
  padding: var(--space-xl) var(--space-md);
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--ugg-text-primary);
}

.section-description {
  font-size: 1rem;
  color: var(--ugg-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: var(--space-xl);
}

.tool-card {
  background: var(--ugg-card-bg);
  border: 1px solid var(--ugg-border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

/* Keep shimmer animation */
.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.6s ease;
}

.tool-card:hover::before {
  left: 100%;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--ugg-blue);
  background: var(--ugg-card-hover);
}

.tool-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-md);
  background: var(--ugg-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

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

.tool-description {
  color: var(--ugg-text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.5;
  font-size: 0.875rem;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: transparent;
  color: var(--ugg-blue);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--ugg-blue);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.tool-link:hover {
  background: var(--ugg-blue);
  color: white;
}

/* Featured tool */
.tool-card.featured {
  grid-column: span 2;
  border-color: var(--ugg-blue);
  background: linear-gradient(135deg, var(--ugg-card-bg) 0%, rgba(83, 131, 232, 0.05) 100%);
}

.tool-card.featured .tool-icon {
  width: 80px;
  height: 80px;
  font-size: 2rem;
}

.tool-card.featured .tool-title {
  font-size: 1.5rem;
}

/* ===================================================================
   Stats Section - U.GG Style
=================================================================== */
.stats-section {
  background: var(--ugg-card-bg);
  margin: var(--space-xl) var(--space-md);
  border-radius: 8px;
  padding: var(--space-xl);
  border: 1px solid var(--ugg-border);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  text-align: center;
}

.stat-item {
  padding: var(--space-md);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ugg-blue);
  display: block;
  line-height: 1;
}

.stat-label {
  color: var(--ugg-text-secondary);
  margin-top: var(--space-xs);
  font-size: 0.875rem;
}

/* ===================================================================
   Footer - U.GG Style
=================================================================== */
.main-footer {
  background: var(--ugg-bg-secondary);
  border-top: 1px solid var(--ugg-border);
  padding: var(--space-lg) var(--space-md);
  margin-top: var(--space-xl);
  text-align: center;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-text {
  color: var(--ugg-text-secondary);
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-link {
  color: var(--ugg-text-tertiary);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.875rem;
}

.footer-link:hover {
  color: var(--ugg-blue);
}

/* ===================================================================
   Responsive Design
=================================================================== */
@media (max-width: 992px) {
  .tool-card.featured {
    grid-column: span 1;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem var(--space-sm) var(--space-lg);
  }

  .hero-cta {
    gap: var(--space-sm);
  }

  .hero-search-form {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .hero-search-form input,
  .hero-search-form select,
  .hero-search-form button {
    border-radius: 4px;
  }

  .hero-search-form select {
    border: 1px solid var(--ugg-border);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* ===================================================================
   ANIMATIONS - All preserved from original
=================================================================== */

/* Fade in up animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.4s ease forwards;
}

.animate-delay-1 { animation-delay: 0.05s; }
.animate-delay-2 { animation-delay: 0.1s; }
.animate-delay-3 { animation-delay: 0.15s; }
.animate-delay-4 { animation-delay: 0.2s; }

/* ===================================================================
   Title Drawing Animations - All preserved
=================================================================== */

/* Progressive Draw Effect */
.progressive-draw {
  position: relative;
  background: linear-gradient(135deg, var(--ugg-blue) 0%, var(--ugg-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  overflow: hidden;
}

.progressive-draw::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ugg-bg-primary);
  width: 0%;
  animation: drawProgress 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  z-index: 1;
}

@keyframes drawProgress {
  0% { width: 100%; }
  100% { width: 0%; }
}

/* Hand-drawn effect */
.hand-drawn {
  position: relative;
  overflow: hidden;
}

.hand-drawn .original-text {
  color: transparent !important;
  background: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.hand-drawn .letter-reveal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--ugg-blue) 0%, var(--ugg-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  line-height: inherit;
  text-align: inherit;
  white-space: nowrap;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  animation: handDrawReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes handDrawReveal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }
  25% {
    clip-path: polygon(0 0, 15% 0, 15% 100%, 0 100%);
  }
  50% {
    clip-path: polygon(0 0, 45% 0, 45% 100%, 0 100%);
  }
  75% {
    clip-path: polygon(0 0, 75% 0, 75% 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

/* Ink spreading effect */
.ink-spread {
  position: relative;
  overflow: hidden;
}

.ink-spread .letter {
  display: inline-block;
  color: transparent;
  position: relative;
  overflow: hidden;
}

.ink-spread .letter::before {
  content: attr(data-letter);
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--ugg-blue) 0%, var(--ugg-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: scaleY(0);
  transform-origin: bottom;
  animation: inkSpread 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes inkSpread {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  50% {
    transform: scaleY(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Writing cursor effect */
.writing-cursor {
  position: relative;
  overflow: hidden;
}

.writing-cursor .text-content {
  background: linear-gradient(135deg, var(--ugg-blue) 0%, var(--ugg-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
}

.writing-cursor .cursor {
  position: absolute;
  width: 3px;
  height: 80%;
  background: var(--ugg-cyan);
  top: 10%;
  left: 0;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--ugg-cyan);
  animation: writingMove 3s linear forwards;
}

.writing-cursor .cursor::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--ugg-cyan);
  border-radius: 50%;
  top: -4px;
  left: -2.5px;
  box-shadow: 0 0 15px var(--ugg-cyan);
}

@keyframes writingMove {
  0% { left: 0; }
  100% { left: 100%; }
}

.writing-cursor .reveal-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ugg-bg-primary);
  animation: revealText 3s linear forwards;
}

@keyframes revealText {
  0% { width: 100%; }
  100% { width: 0%; }
}

/* Clip Path Reveal */
.clip-reveal {
  background: linear-gradient(135deg, var(--ugg-blue) 0%, var(--ugg-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  overflow: hidden;
}

.clip-reveal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ugg-bg-primary);
  clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  animation: revealTextClip 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes revealTextClip {
  to {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }
}

/* Brush Stroke Effect */
.brush-stroke {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ugg-blue) 0%, var(--ugg-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brush-stroke::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 25%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.6) 75%,
    transparent 100%
  );
  animation: brushSweep 2s ease-in-out forwards;
  mix-blend-mode: overlay;
}

@keyframes brushSweep {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Morphing Letters */
.morph-letters {
  display: inline-block;
  overflow: hidden;
}

.morph-letters .letter {
  display: inline-block;
  opacity: 0;
  transform: rotateY(90deg) scale(0.5);
  animation: morphLetter 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes morphLetter {
  0% {
    opacity: 0;
    transform: rotateY(90deg) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
  }
}

/* Particle Trail */
.particle-draw {
  position: relative;
  overflow: visible;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, var(--ugg-cyan) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: particleTrail 0.8s ease-out forwards;
}

@keyframes particleTrail {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.3);
  }
}

/* Glow effect after drawing completion */
.drawing-complete {
  animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  from {
    text-shadow: 0 0 20px rgba(83, 131, 232, 0.3);
    filter: brightness(1);
  }
  to {
    text-shadow: 0 0 30px rgba(83, 131, 232, 0.6), 0 0 40px rgba(0, 191, 214, 0.2);
    filter: brightness(1.1);
  }
}

/* Hero subtitle fade-in after title animation */
.hero-subtitle {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
  animation-delay: 1s;
}

.hero-cta {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
  animation-delay: 1.3s;
}

/* ===================================================================
   Search Loader - Updated colors for U.GG
=================================================================== */
.search-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 28, 31, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.search-loader.active {
  opacity: 1;
  pointer-events: all;
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  max-width: 500px;
  padding: var(--space-lg);
}

.loader-spinner {
  width: 80px;
  height: 80px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top: 5px solid var(--ugg-blue);
  border-right: 5px solid var(--ugg-cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 30px rgba(83, 131, 232, 0.3);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.loader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ugg-blue), var(--ugg-cyan));
  border-radius: 10px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--ugg-blue);
}

.loader-text {
  color: var(--ugg-text-primary);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  animation: pulse 2s ease-in-out infinite;
}

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

.loader-tip {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--ugg-card-bg);
  border: 1px solid var(--ugg-border);
  border-radius: 8px;
  padding: var(--space-sm) var(--space-md);
  margin-top: var(--space-md);
  animation: slideIn 0.5s ease forwards;
}

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

.loader-tip i {
  color: var(--ugg-cyan);
  font-size: 1.2rem;
  animation: lightbulb 2s ease-in-out infinite;
}

@keyframes lightbulb {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.loader-tip span {
  color: var(--ugg-text-secondary);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Responsive loader */
@media (max-width: 768px) {
  .loader-content {
    padding: var(--space-sm);
    max-width: 90%;
  }

  .loader-spinner {
    width: 60px;
    height: 60px;
  }

  .loader-text {
    font-size: 1rem;
  }

  .loader-tip {
    flex-direction: column;
    text-align: center;
  }
}
