/*
 * Boardo Custom Styles
 * Modern Bootstrap theme with beautiful animations and effects
 */

/* ========================================
   CSS Variables & Theme
   ======================================== */
:root {
  --burgundy-50: #fdf2f4;
  --burgundy-100: #fce7ea;
  --burgundy-200: #f9d0d9;
  --burgundy-300: #f4a9b8;
  --burgundy-400: #ec7a93;
  --burgundy-500: #df4d6f;
  --burgundy-600: #c9325a;
  --burgundy-700: #a82448;
  --burgundy-800: #800020;
  --burgundy-900: #6b1a35;
  --burgundy-950: #3d0a1a;

  --bs-primary: #800020;
  --bs-primary-rgb: 128, 0, 32;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px rgba(128, 0, 32, 0.1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-burgundy: 0 10px 40px -10px rgba(128, 0, 32, 0.4);
  --shadow-glow: 0 0 40px rgba(128, 0, 32, 0.15);
}

/* ========================================
   Base Styles
   ======================================== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
  min-height: 100vh;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: var(--burgundy-200);
  color: var(--burgundy-900);
}

/* ========================================
   Button Styles
   ======================================== */
.btn {
  font-weight: 500;
  border-radius: 0.75rem;
  padding: 0.625rem 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--burgundy-700) 0%, var(--burgundy-800) 50%, var(--burgundy-900) 100%);
  border: none;
  box-shadow: var(--shadow-md), 0 4px 14px -3px rgba(128, 0, 32, 0.4);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--burgundy-600) 0%, var(--burgundy-700) 50%, var(--burgundy-800) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 8px 20px -4px rgba(128, 0, 32, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn-outline-primary {
  color: var(--burgundy-800);
  border: 2px solid var(--burgundy-800);
  background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: linear-gradient(135deg, var(--burgundy-700), var(--burgundy-800));
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-burgundy);
}

.btn-light {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1.0625rem;
  border-radius: 1rem;
}

/* OAuth Buttons */
.oauth-btn {
  background: #fff;
  border: 2px solid #e5e7eb;
  color: #374151;
  font-size: 1rem;
  border-radius: 0.875rem;
  transition: all 0.2s ease;
}

.oauth-btn:hover,
.oauth-btn:focus {
  background: #f3f4f6;
  border-color: #374151;
  color: #111827;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.oauth-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.oauth-btn-facebook {
  background: #1877F2;
  border: 2px solid #1877F2;
  color: #fff;
  font-size: 1rem;
  border-radius: 0.875rem;
  transition: all 0.2s ease;
}

.oauth-btn-facebook:hover,
.oauth-btn-facebook:focus {
  background: #0d5fc7;
  border-color: #0d5fc7;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(24, 119, 242, 0.5);
}

.oauth-btn-facebook:active {
  transform: translateY(0);
  background: #0a4da3;
  border-color: #0a4da3;
  color: #fff;
}

/* ========================================
   Link Styles
   ======================================== */
a {
  color: var(--burgundy-800);
  transition: all 0.2s ease;
}

a:hover {
  color: var(--burgundy-600);
}

/* ========================================
   Text & Background Utilities
   ======================================== */
.text-burgundy {
  color: var(--burgundy-800) !important;
}

.text-burgundy-light {
  color: var(--burgundy-600) !important;
}

.bg-burgundy {
  background-color: var(--burgundy-800) !important;
}

.bg-burgundy-light {
  background-color: var(--burgundy-50) !important;
}

.bg-burgundy-gradient {
  background: linear-gradient(135deg, var(--burgundy-800) 0%, var(--burgundy-900) 50%, #1a0a10 100%);
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, var(--burgundy-600), var(--burgundy-800));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   Card Styles
   ======================================== */
.card {
  border: none;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  background: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.card-hover {
  cursor: pointer;
}

.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.card-hover:hover img {
  transform: scale(1.1);
}

.card-hover img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glass card */
.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ========================================
   Form Styles
   ======================================== */
.form-control,
.form-select {
  border-radius: 0.75rem;
  border: 2px solid #e5e7eb;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-control:hover,
.form-select:hover {
  border-color: var(--burgundy-300);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--burgundy-500);
  box-shadow: 0 0 0 4px rgba(128, 0, 32, 0.1), var(--shadow-md);
  background: white;
}

.form-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

/* Floating labels */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: var(--burgundy-700);
}

/* ========================================
   Navbar Styles
   ======================================== */
.navbar {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: var(--shadow-lg);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--burgundy-700), var(--burgundy-900));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  color: #4b5563 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--burgundy-600), var(--burgundy-800));
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-link:hover {
  color: var(--burgundy-800) !important;
}

.nav-link:hover::after {
  width: 80%;
}

.nav-icon-btn {
  position: relative;
  padding: 0.625rem;
  border-radius: 0.75rem;
  color: #6b7280;
  transition: all 0.3s ease;
  background: transparent;
}

.nav-icon-btn:hover {
  color: var(--burgundy-800);
  background: var(--burgundy-50);
  transform: translateY(-2px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
  background: linear-gradient(135deg, var(--burgundy-800) 0%, var(--burgundy-900) 40%, #1a0a10 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  /* Static pattern - no animation */
}

/* Floating shapes - static decorative elements */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  /* No animation - static shapes */
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: 10%;
}

.hero-shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 20%;
}

/* ========================================
   Avatar Styles
   ======================================== */
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--burgundy-500), var(--burgundy-800));
  box-shadow: 0 4px 14px -3px rgba(128, 0, 32, 0.4);
  transition: all 0.3s ease;
}

.avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px -3px rgba(128, 0, 32, 0.5);
}

.avatar-lg {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--burgundy-500), var(--burgundy-800));
  font-size: 2.25rem;
  box-shadow: var(--shadow-burgundy);
}

.avatar-sm {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ========================================
   Badge Styles
   ======================================== */
.badge {
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.025em;
}

.badge-burgundy {
  background: linear-gradient(135deg, var(--burgundy-100), var(--burgundy-50));
  color: var(--burgundy-800);
}

.bg-burgundy {
  background: linear-gradient(135deg, var(--burgundy-700), var(--burgundy-800)) !important;
}

/* Condition badges */
.condition-new {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #166534;
}

.condition-like-new {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
}

.condition-good {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
}

.condition-acceptable {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  color: #374151;
}

/* Status badges */
.status-active {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #166534;
}

.status-sold {
  background: linear-gradient(135deg, var(--burgundy-100), var(--burgundy-50));
  color: var(--burgundy-800);
}

.status-cancelled {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  color: #6b7280;
}

/* ========================================
   Notification Badge
   ======================================== */
.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: linear-gradient(135deg, var(--burgundy-500), var(--burgundy-700));
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(128, 0, 32, 0.4);
}

/* ========================================
   Price & Auction Styles
   ======================================== */
.price-tag {
  font-weight: 800;
  color: var(--burgundy-800);
  font-size: 1.25rem;
}

.auction-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.8125rem;
  box-shadow: var(--shadow-sm);
}

.auction-timer.ending-soon {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #dc2626;
  animation: urgentPulse 1.5s ease-in-out infinite;
}

@keyframes urgentPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { transform: scale(1.02); box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}

/* ========================================
   Feature Icon
   ======================================== */
.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--burgundy-50), white);
  color: var(--burgundy-700);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.5);
  transition: all 0.3s ease;
}

.feature-icon:hover {
  transform: translateY(-4px) rotate(5deg);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   Image Styles
   ======================================== */
.img-placeholder {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.object-cover {
  object-fit: cover;
}

/* Image overlay on hover */
.img-overlay {
  position: relative;
  overflow: hidden;
}

.img-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(128, 0, 32, 0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.img-overlay:hover::after {
  opacity: 1;
}

/* ========================================
   Dropzone
   ======================================== */
.dropzone {
  border: 2px dashed var(--burgundy-300);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, var(--burgundy-50), white);
}

.dropzone:hover {
  border-color: var(--burgundy-500);
  background: linear-gradient(135deg, var(--burgundy-100), var(--burgundy-50));
  transform: scale(1.02);
}

.dropzone.dragover {
  border-color: var(--burgundy-600);
  background: var(--burgundy-100);
  transform: scale(1.02);
  box-shadow: var(--shadow-burgundy);
}

/* ========================================
   Message Bubbles
   ======================================== */
.message-bubble {
  max-width: 75%;
  padding: 0.875rem 1.125rem;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-sm);
  animation: messageSlide 0.3s ease-out;
}

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

.message-bubble.message-sent {
  background: linear-gradient(135deg, var(--burgundy-700), var(--burgundy-800));
  color: white;
  border-bottom-right-radius: 0.375rem;
  margin-left: auto;
}

.message-bubble.message-received {
  background: white;
  color: #1f2937;
  border-bottom-left-radius: 0.375rem;
  border: 1px solid #e5e7eb;
}

/* ========================================
   Footer
   ======================================== */
.footer-dark {
  background: linear-gradient(135deg, #1f2937 0%, var(--burgundy-950) 100%);
  position: relative;
  overflow: hidden;
}

.footer-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--burgundy-500), transparent);
}

/* ========================================
   Border Utilities
   ======================================== */
.border-burgundy {
  border-color: var(--burgundy-300) !important;
}

.border-gradient {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, var(--burgundy-400), var(--burgundy-700)) border-box;
}

/* ========================================
   Text Utilities
   ======================================== */
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.min-width-0 {
  min-width: 0;
}

/* ========================================
   Animations - Minimal on page load
   ======================================== */

/* Disable load animations - these classes are kept for compatibility but do nothing on load */
.fade-in,
.fade-in-up,
.slide-in-left,
.slide-in-right,
.scale-in,
.bounce-in {
  /* No animation on page load */
}

/* Stagger classes - disabled */
.stagger-1, .stagger-2, .stagger-3,
.stagger-4, .stagger-5, .stagger-6 {
  /* No stagger delays */
}

/* Hover animations - these are fine, only trigger on interaction */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

.hover-rotate {
  transition: transform 0.3s ease;
}

.hover-rotate:hover {
  transform: rotate(5deg);
}

/* Continuous animations - only for specific UI elements */
.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

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

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Shimmer loading effect */
.shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ========================================
   Scrollbar
   ======================================== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--burgundy-300), var(--burgundy-400));
  border-radius: 5px;
  border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--burgundy-400), var(--burgundy-500));
}

/* ========================================
   Focus States
   ======================================== */
.btn:focus,
.form-control:focus,
.form-select:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--burgundy-500);
  outline-offset: 2px;
}

/* ========================================
   Alert Styles
   ======================================== */
.alert {
  border: none;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
}

.alert-success {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #166534;
}

.alert-danger {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
}

.alert-warning {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
}

.alert-info {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
}

/* ========================================
   Empty State
   ======================================== */
.empty-state {
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #fafafa, #f5f5f5);
  border-radius: 1.5rem;
  border: 2px dashed #e5e7eb;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--burgundy-50), white);
  border-radius: 50%;
  color: var(--burgundy-400);
  font-size: 2rem;
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--burgundy-600), var(--burgundy-400));
  border-radius: 2px;
}

.section-header.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ========================================
   Dividers
   ======================================== */
.divider-gradient {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--burgundy-300), transparent);
  border: none;
  margin: 2rem 0;
}

/* ========================================
   Responsive utilities
   ======================================== */
@media (max-width: 768px) {
  .card-hover:hover {
    transform: translateY(-4px);
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
  }

  .hero-shape {
    display: none;
  }
}

/* ========================================
   Dark mode support (optional)
   ======================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --glass-bg: rgba(30, 30, 30, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
  }
}

/* ========================================
   Brand Icon
   ======================================== */
.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--burgundy-600), var(--burgundy-800));
  color: white;
  font-size: 1.125rem;
  box-shadow: 0 4px 12px rgba(128, 0, 32, 0.3);
  transition: all 0.3s ease;
}

.brand-icon:hover {
  transform: rotate(10deg) scale(1.05);
}

.brand-icon-sm {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}

/* Brand icon image */
.brand-icon-img {
  border-radius: 0.625rem;
  transition: all 0.3s ease;
}

.navbar-brand:hover .brand-icon-img {
  transform: rotate(10deg) scale(1.05);
}

/* ========================================
   Search Input
   ======================================== */
.search-wrapper {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  transition: color 0.2s ease;
  z-index: 1;
}

.search-input {
  padding-left: 2.75rem;
  background: #f9fafb;
  border: 2px solid transparent;
  border-radius: 2rem;
  transition: all 0.3s ease;
}

.search-input:hover {
  background: #f3f4f6;
}

.search-input:focus {
  background: white;
  border-color: var(--burgundy-300);
  box-shadow: 0 0 0 4px rgba(128, 0, 32, 0.08);
}

.search-input:focus + .search-icon,
.search-wrapper:focus-within .search-icon {
  color: var(--burgundy-600);
}

/* ========================================
   Footer Styles
   ======================================== */
.footer-heading {
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  position: relative;
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social-link:hover {
  background: var(--burgundy-600);
  color: white;
  transform: translateY(-4px);
}

/* ========================================
   Dropdown Menu
   ======================================== */
.dropdown-menu {
  border-radius: 1rem;
  padding: 0.5rem;
  animation: dropdownFadeIn 0.2s ease;
}

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

.dropdown-item {
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: var(--burgundy-50);
}

.dropdown-item.text-danger:hover {
  background: #fee2e2;
}

/* ========================================
   Live Dot Animation
   ======================================== */
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  /* Static dot - no animation */
}

/* ========================================
   Auction Card
   ======================================== */
.auction-card {
  background: white;
}

.auction-image {
  width: 80px;
  height: 80px;
}

/* ========================================
   Game Card Overlay
   ======================================== */
.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(128, 0, 32, 0.9) 0%, rgba(128, 0, 32, 0.4) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-card-overlay {
  opacity: 1;
}

/* ========================================
   Opacity Utilities
   ======================================== */
.opacity-85 {
  opacity: 0.85;
}

.opacity-75 {
  opacity: 0.75;
}

/* ========================================
   Listing Card
   ======================================== */
.listing-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.listing-card:hover .listing-card-overlay {
  opacity: 1;
}

/* ========================================
   Avatar XS
   ======================================== */
.avatar-xs {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--burgundy-400), var(--burgundy-600));
  flex-shrink: 0;
}

/* ========================================
   Print styles
   ======================================== */
@media print {
  .navbar,
  .footer-dark,
  .btn {
    display: none !important;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
