/*
 * Global Art Exhibition - Theme v3.0.9
 * Modern NFT Marketplace Design System
 * Created: December 2024
 */

/* ============================================
   1. CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  /* Primary Colors */
  --primary-50: #e6f4ff;
  --primary-100: #b3ddff;
  --primary-200: #80c6ff;
  --primary-300: #4dafff;
  --primary-400: #1a98ff;
  --primary-500: #00a3ff;
  --primary-600: #0082cc;
  --primary-700: #006199;
  --primary-800: #004166;
  --primary-900: #002033;

  /* Accent/Secondary Colors */
  --accent-50: #fff0f3;
  --accent-100: #ffd6de;
  --accent-200: #ffadc0;
  --accent-300: #ff85a1;
  --accent-400: #ff5c83;
  --accent-500: #f9004d;
  --accent-600: #cc003f;
  --accent-700: #99002f;
  --accent-800: #660020;
  --accent-900: #330010;

  /* Success Colors */
  --success-50: #e8f8ed;
  --success-500: #3EB75E;
  --success-600: #32a34e;

  /* Warning Colors */
  --warning-50: #fff8f0;
  --warning-500: #FF8F3C;
  --warning-600: #e67a2e;

  /* Danger Colors */
  --danger-50: #fff0f0;
  --danger-500: #FF0003;
  --danger-600: #cc0002;

  /* Neutral/Gray Scale */
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;

  /* === DARK THEME (Default) === */
  /* Background Colors */
  --bg-primary: #0a0a12;
  --bg-secondary: #12121c;
  --bg-tertiary: #1a1a28;
  --bg-elevated: #242436;
  --bg-card: rgba(36, 36, 53, 0.7);
  --bg-card-hover: rgba(36, 36, 53, 0.9);
  --bg-input: rgba(255, 255, 255, 0.05);

  /* Legacy variables (for compatibility) */
  --bg-dark-primary: #0a0a12;
  --bg-dark-secondary: #12121c;
  --bg-dark-tertiary: #1a1a28;
  --bg-dark-elevated: #242436;
  --bg-dark-card: rgba(36, 36, 53, 0.7);
  --bg-dark-card-hover: rgba(36, 36, 53, 0.9);

  /* Glass Morphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #b4b4b4;
  --text-muted: #6b6b6b;
  --text-accent: var(--primary-400);
  --text-inverse: #0a0a12;

  /* Border Colors */
  --border-default: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
  --border-focus: var(--primary-500);
  
  /* Theme Toggle Icon */
  --theme-icon-sun: block;
  --theme-icon-moon: none;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(0, 163, 255, 0.15);
  --shadow-glow-accent: 0 0 40px rgba(249, 0, 77, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --transition-bounce: 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-toast: 800;

  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
}

/* ============================================
   LIGHT THEME OVERRIDE
   ============================================ */
[data-theme="light"] {
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fc;
  --bg-tertiary: #f1f3f8;
  --bg-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --bg-input: #f1f3f8;

  /* Legacy compatibility */
  --bg-dark-primary: #ffffff;
  --bg-dark-secondary: #f8f9fc;
  --bg-dark-tertiary: #f1f3f8;
  --bg-dark-elevated: #ffffff;
  --bg-dark-card: rgba(255, 255, 255, 0.9);
  --bg-dark-card-hover: rgba(255, 255, 255, 1);

  /* Glass Morphism - Light version */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-bg-hover: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

  /* Text Colors */
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8a8aa0;
  --text-accent: var(--primary-600);
  --text-inverse: #ffffff;

  /* Border Colors */
  --border-default: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.12);
  
  /* Shadows - Lighter for light mode */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --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.15);
  --shadow-glow: 0 0 40px rgba(0, 163, 255, 0.1);
  
  /* Theme Toggle Icon */
  --theme-icon-sun: none;
  --theme-icon-moon: block;
  
  /* Gradient adjustments for light mode */
  --gradient-card: linear-gradient(135deg, rgba(248, 249, 252, 0.9), rgba(241, 243, 248, 0.9));
}

/* Light mode specific component overrides */
[data-theme="light"] .header-v3 {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border-default);
}

[data-theme="light"] .header-v3.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
}

[data-theme="light"] .card-v3 {
  background: #ffffff;
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .nft-card {
  background: #ffffff;
  border: 1px solid var(--border-default);
}

[data-theme="light"] .mobile-nav-v3 {
  background: #ffffff;
}

[data-theme="light"] .auth-card-v3 {
  background: #ffffff;
  border: 1px solid var(--border-default);
}

[data-theme="light"] .input-v3,
[data-theme="light"] .form-control-v3 {
  background: var(--bg-input);
  border-color: var(--border-default);
  color: var(--text-primary);
}

[data-theme="light"] .input-v3::placeholder,
[data-theme="light"] .form-control-v3::placeholder {
  color: var(--text-muted);
}

[data-theme="light"] .user-menu-dropdown {
  background: #ffffff;
  border: 1px solid var(--border-default);
}

[data-theme="light"] .search-box-v3 {
  background: var(--bg-input);
  border-color: var(--border-default);
}

[data-theme="light"] .wallet-balance-v3 {
  background: var(--bg-input);
  border-color: var(--border-default);
}

[data-theme="light"] .notification-bell {
  background: var(--bg-input);
  border-color: var(--border-default);
}

[data-theme="light"] .footer-v3 {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-default);
}

[data-theme="light"] .footer-logo {
  filter: invert(1) brightness(0.2);
}

/* ============================================
   2. Base Styles & Reset
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Theme transition for smooth switching */
body.theme-v3,
body.theme-v3 *,
body.theme-v3 *::before,
body.theme-v3 *::after {
  transition-property: background-color, border-color, color, fill, stroke, box-shadow;
  transition-duration: 0.2s;
  transition-timing-function: ease-out;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.theme-v3 {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
  background: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background var(--transition-slow), color var(--transition-slow);
}

body.theme-v3::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 163, 255, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(249, 0, 77, 0.1), transparent);
  pointer-events: none;
  z-index: -1;
  transition: opacity var(--transition-slow);
}

/* Light mode: reduce gradient overlay */
[data-theme="light"] body.theme-v3::before {
  opacity: 0.5;
}

/* Logo invert for light mode */
[data-theme="light"] .logo img {
  filter: invert(1) brightness(0.2);
}

/* ============================================
   3. Typography
   ============================================ */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

.theme-v3 h1, .theme-v3 .h1 { font-size: var(--text-5xl); }
.theme-v3 h2, .theme-v3 .h2 { font-size: var(--text-4xl); }
.theme-v3 h3, .theme-v3 .h3 { font-size: var(--text-3xl); }
.theme-v3 h4, .theme-v3 .h4 { font-size: var(--text-2xl); }
.theme-v3 h5, .theme-v3 .h5 { font-size: var(--text-xl); }
.theme-v3 h6, .theme-v3 .h6 { font-size: var(--text-lg); }

.theme-v3 p {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.theme-v3 a {
  color: var(--primary-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.theme-v3 a:hover {
  color: var(--primary-300);
}

/* Exclude buttons from anchor color override */
.theme-v3 a.btn-v3,
.theme-v3 a.btn-v3:hover {
  color: inherit;
}

.theme-v3 a.btn-v3-primary,
.theme-v3 a.btn-v3-primary:hover {
  color: #ffffff !important;
}

/* Text Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-400), var(--accent-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-white { color: var(--text-primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-primary { color: var(--primary-500) !important; }
.text-accent { color: var(--accent-500) !important; }
.text-success { color: var(--success-500) !important; }
.text-warning { color: var(--warning-500) !important; }
.text-danger { color: var(--danger-500) !important; }

/* ============================================
   4. Buttons
   ============================================ */
.btn-v3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-v3:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.3);
}

/* Primary Button */
.btn-v3-primary {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: #ffffff;
  box-shadow: var(--shadow-md), 0 0 20px rgba(0, 163, 255, 0.2);
}

.btn-v3-primary:hover {
  background: linear-gradient(135deg, var(--primary-400), var(--primary-500));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 163, 255, 0.3);
  color: #ffffff;
}

/* Secondary Button */
.btn-v3-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-v3-secondary:hover {
  background: var(--glass-bg-hover);
  border-color: var(--primary-500);
  color: var(--text-primary);
}

/* Outline Button */
.btn-v3-outline {
  background: transparent;
  color: var(--primary-500);
  border: 2px solid var(--primary-500);
}

.btn-v3-outline:hover {
  background: var(--primary-500);
  color: #ffffff;
}

/* Ghost Button */
.btn-v3-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
}

.btn-v3-ghost:hover {
  background: var(--glass-bg);
  color: var(--text-primary);
}

/* Button Sizes */
.btn-v3-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
}

.btn-v3-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn-v3-xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

/* Icon Button */
.btn-v3-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-lg);
}

.btn-v3-icon.btn-v3-sm {
  width: 36px;
  height: 36px;
}

/* Theme Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--glass-bg);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--text-secondary);
}

.theme-toggle:hover {
  background: var(--glass-bg-hover);
  border-color: var(--primary-500);
  color: var(--primary-400);
  transform: rotate(15deg);
}

.theme-toggle .icon-sun {
  display: var(--theme-icon-sun, block);
}

.theme-toggle .icon-moon {
  display: var(--theme-icon-moon, none);
}

/* Category Tabs */
.category-tabs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  background: var(--bg-tertiary);
  padding: var(--space-1);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
}

.category-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 500;
  font-family: inherit;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.category-tab:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.category-tab.active {
  color: white;
  background: var(--gradient-primary);
  box-shadow: 0 4px 15px rgba(0, 163, 255, 0.3);
}

.category-tab.active svg {
  stroke: white;
}

@media (max-width: 767px) {
  .category-tabs {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .category-tabs::-webkit-scrollbar {
    display: none;
  }
  
  .category-tab {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
  }
}

/* ============================================
   5. Cards
   ============================================ */
.card-v3 {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all var(--transition-slow);
  backdrop-filter: blur(20px);
}

.card-v3:hover {
  background: var(--bg-dark-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-v3-body {
  padding: var(--space-6);
}

/* NFT Card */
.nft-card-v3 {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all var(--transition-slow);
  position: relative;
}

.nft-card-v3:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl), var(--shadow-glow);
  border-color: rgba(0, 163, 255, 0.3);
}

.nft-card-v3 .nft-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.nft-card-v3 .nft-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.nft-card-v3:hover .nft-image img {
  transform: scale(1.05);
}

.nft-card-v3 .nft-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--bg-dark-tertiary), transparent);
  pointer-events: none;
}

.nft-card-v3 .nft-content {
  padding: var(--space-5);
}

.nft-card-v3 .nft-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.nft-card-v3 .nft-creator {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.nft-card-v3 .nft-creator img {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-light);
}

.nft-card-v3 .nft-creator span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.nft-card-v3 .nft-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-default);
}

.nft-card-v3 .nft-price {
  display: flex;
  flex-direction: column;
}

.nft-card-v3 .nft-price-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nft-card-v3 .nft-price-value {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-primary);
}

.nft-card-v3 .nft-bid-btn {
  padding: var(--space-2) var(--space-4);
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
}

.nft-card-v3 .nft-bid-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 163, 255, 0.4);
}

/* Favorite Button */
.nft-card-v3 .nft-favorite {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 10;
}

.nft-card-v3 .nft-favorite:hover,
.nft-card-v3 .nft-favorite.active {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: var(--text-primary);
}

/* NFT Badge */
.nft-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-3);
  background: linear-gradient(135deg, #f90 0%, #f90050 100%);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: white;
  z-index: 10;
}

.nft-badge-new {
  background: linear-gradient(135deg, #00d4ff 0%, #00a3ff 100%);
}

/* NFT Price Labels */
.nft-card-v3 .price-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.nft-card-v3 .price-value {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--primary-400);
}

/* Artists Grid */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-6);
}

/* Artist Card */
.artist-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  padding: 0 0 var(--space-4);
  text-align: center;
  transition: all var(--transition-slow);
  display: block;
  text-decoration: none;
}

.artist-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-400);
}

.artist-cover {
  height: 100px;
  overflow: hidden;
  position: relative;
}

.artist-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.artist-card:hover .artist-cover img {
  transform: scale(1.1);
}

.artist-avatar {
  width: 80px;
  height: 80px;
  margin: -40px auto var(--space-3);
  position: relative;
  z-index: 2;
}

.artist-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid var(--bg-dark-card);
  object-fit: cover;
}

.artist-verified {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: var(--primary-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: 2px solid var(--bg-dark-card);
}

.artist-info {
  padding: 0 var(--space-4);
  margin-bottom: var(--space-3);
}

.artist-info h4 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--space-1);
}

.artist-info span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.artist-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  margin-bottom: var(--space-4);
}

.artist-stat {
  text-align: center;
}

.artist-stat .stat-value {
  display: block;
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-primary);
}

.artist-stat .stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.artist-card .btn-v3 {
  margin: 0 var(--space-4);
  width: calc(100% - var(--space-8));
}

/* Collection Card */
.collection-card-v3 {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all var(--transition-slow);
}

.collection-card-v3:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-light);
}

.collection-card-v3 .collection-banner {
  height: 120px;
  overflow: hidden;
}

.collection-card-v3 .collection-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-card-v3 .collection-avatar {
  width: 80px;
  height: 80px;
  margin: -40px auto 0;
  border-radius: var(--radius-full);
  border: 4px solid var(--bg-dark-tertiary);
  overflow: hidden;
  position: relative;
}

.collection-card-v3 .collection-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-card-v3 .collection-info {
  padding: var(--space-4) var(--space-5) var(--space-5);
  text-align: center;
}

.collection-card-v3 .collection-name {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.collection-card-v3 .collection-items {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ============================================
   6. Forms
   ============================================ */
.form-group-v3 {
  margin-bottom: var(--space-5);
}

.form-label-v3 {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-input-v3,
.form-control-v3 {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.form-input-v3::placeholder,
.form-control-v3::placeholder {
  color: var(--text-muted);
}

.form-input-v3:focus,
.form-control-v3:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.15);
}

.form-input-v3:hover:not(:focus),
.form-control-v3:hover:not(:focus) {
  border-color: var(--border-light);
}

/* Textarea */
.form-textarea-v3,
textarea.form-control-v3 {
  min-height: 120px;
  resize: vertical;
}

/* Select */
.form-select-v3,
select.form-control-v3 {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
  cursor: pointer;
}

/* Checkbox & Radio */
.form-check-v3 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
}

.form-check-v3 input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-500);
}

/* Input with Icon */
.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper .form-input-v3 {
  padding-left: var(--space-10);
}

.input-icon-wrapper .input-icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* ============================================
   7. Navigation & Header
   ============================================ */
.header-v3 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-4) 0;
  background: rgba(10, 10, 18, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-default);
  transition: all var(--transition-base);
}

.header-v3.scrolled {
  padding: var(--space-3) 0;
  background: rgba(10, 10, 18, 0.95);
}

.header-v3 .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.header-v3 .logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-v3 .logo img {
  height: 40px;
  width: auto;
}

.header-v3 .logo-text {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
}

/* Main Navigation */
.nav-v3 {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-v3-link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.nav-v3-link:hover {
  color: var(--text-primary);
  background: var(--glass-bg);
}

.nav-v3-link.active {
  color: var(--primary-400);
  background: rgba(0, 163, 255, 0.1);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Search Box */
.search-box-v3 {
  position: relative;
  width: 280px;
}

.search-box-v3 input {
  width: 100%;
  padding: var(--space-2) var(--space-4);
  padding-left: var(--space-10);
  font-size: var(--text-sm);
  color: var(--text-primary);
  background: var(--glass-bg);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.search-box-v3 input::placeholder {
  color: var(--text-muted);
}

.search-box-v3 input:focus {
  outline: none;
  border-color: var(--primary-500);
  background: var(--bg-dark-elevated);
}

.search-box-v3 .search-icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* Wallet Balance */
.wallet-balance-v3 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--glass-bg);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
}

.wallet-balance-v3 .balance-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--success-500), #2ecc71);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
}

.wallet-balance-v3 .balance-amount {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

/* User Menu */
.user-menu-v3 {
  position: relative;
}

.user-menu-v3 .user-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-light);
  cursor: pointer;
  transition: border-color var(--transition-base);
}

.user-menu-v3 .user-avatar:hover {
  border-color: var(--primary-500);
}

.user-menu-dropdown {
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  width: 240px;
  background: var(--bg-dark-tertiary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
}

.user-menu-v3:hover .user-menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-menu-dropdown a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.user-menu-dropdown a:hover {
  background: var(--glass-bg);
  color: var(--text-primary);
}

.user-menu-dropdown a:first-child {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.user-menu-dropdown a:last-child {
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* Notification Bell */
.notification-bell {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
}

.notification-bell:hover {
  background: var(--glass-bg-hover);
  color: var(--text-primary);
}

.notification-bell .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: var(--font-bold);
  color: var(--text-primary);
  background: var(--accent-500);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  cursor: pointer;
}

/* Mobile Navigation */
.mobile-nav-v3 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: var(--bg-dark-secondary);
  border-right: 1px solid var(--border-default);
  z-index: var(--z-modal);
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
}

.mobile-nav-v3.active {
  transform: translateX(0);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: calc(var(--z-modal) - 1);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav-v3 .mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-default);
}

.mobile-nav-v3 .mobile-nav-links {
  padding: var(--space-4);
}

.mobile-nav-v3 .mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--text-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.mobile-nav-v3 .mobile-nav-links a:hover,
.mobile-nav-v3 .mobile-nav-links a.active {
  background: var(--glass-bg);
  color: var(--text-primary);
}

/* ============================================
   Custom Header Styles (About/Contact Pages)
   ============================================ */
.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link-v3 {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.nav-link-v3:hover,
.nav-link-v3.active {
  color: var(--text-primary);
  background: var(--glass-bg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100%;
  background: var(--bg-dark-secondary);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-container {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-default);
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-base);
}

.mobile-menu-close:hover {
  background: var(--glass-bg-hover);
  border-color: var(--primary-500);
}

.mobile-nav {
  padding: var(--space-4);
}

.mobile-nav-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--glass-bg);
  color: var(--text-primary);
}

.mobile-menu-footer {
  padding: var(--space-4);
  border-top: 1px solid var(--border-default);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Responsive Header for About/Contact Pages */
@media (max-width: 991px) {
  .header-nav {
    display: none;
  }
  
  .header-actions .btn-v3 {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex !important;
  }
}

@media (max-width: 575px) {
  .header-actions .wallet-balance-v3 {
    display: none;
  }
}

/* ============================================
   8. Footer
   ============================================ */
.footer-v3 {
  background: var(--bg-dark-secondary);
  border-top: 1px solid var(--border-default);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: var(--space-20);
}

.footer-v3 .footer-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.footer-v3 .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
}

.footer-v3 .footer-brand {
  max-width: 300px;
}

.footer-v3 .footer-brand img {
  height: 40px;
  margin-bottom: var(--space-4);
}

.footer-v3 .footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

.footer-v3 .footer-title {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.footer-v3 .footer-links {
  list-style: none;
}

.footer-v3 .footer-links li {
  margin-bottom: var(--space-2);
}

.footer-v3 .footer-links a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.footer-v3 .footer-links a:hover {
  color: var(--primary-400);
}

.footer-v3 .footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.footer-v3 .footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.footer-v3 .footer-social a:hover {
  background: var(--primary-500);
  border-color: var(--primary-500);
  color: var(--text-primary);
}

.footer-v3 .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  margin-top: var(--space-8);
  border-top: 1px solid var(--border-default);
}

.footer-v3 .footer-copyright {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ============================================
   9. Hero Section - New Design
   ============================================ */
.hero-v3-new {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-24) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

.hero-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.4), transparent 70%);
  top: -200px;
  right: -100px;
  animation: orbFloat 15s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 0, 77, 0.3), transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: orbFloat 20s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%);
  top: 40%;
  left: 30%;
  animation: orbFloat 18s ease-in-out infinite 2s;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black, transparent);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-v3-new .hero-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Center Content */
.hero-center-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-12);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(0, 163, 255, 0.1);
  border: 1px solid rgba(0, 163, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--primary-400);
  margin-bottom: var(--space-6);
  animation: badgePulse 3s ease-in-out infinite;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-400);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 163, 255, 0.2); }
  50% { box-shadow: 0 0 0 10px rgba(0, 163, 255, 0); }
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: var(--font-extrabold);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-btn-glow {
  box-shadow: 0 0 30px rgba(0, 163, 255, 0.4);
}

.btn-v3-outline {
  background: transparent;
  border: 2px solid var(--border-light);
  color: var(--text-primary);
}

.btn-v3-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-400);
  color: var(--primary-400);
}

/* NFT Showcase Grid */
.hero-showcase {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  perspective: 1000px;
}

.showcase-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.showcase-col-1 {
  margin-top: var(--space-8);
  animation: columnFloat 8s ease-in-out infinite;
}

.showcase-col-2 {
  animation: columnFloat 8s ease-in-out infinite 1s;
}

.showcase-col-3 {
  margin-top: var(--space-8);
  animation: columnFloat 8s ease-in-out infinite 2s;
}

@keyframes columnFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.showcase-card {
  position: relative;
  width: 180px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-secondary);
  transition: all 0.4s ease;
  cursor: pointer;
}

.showcase-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-400);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 163, 255, 0.2);
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.showcase-card:hover img {
  transform: scale(1.1);
}

.showcase-featured {
  width: 220px;
}

.showcase-featured img {
  aspect-ratio: 3/4;
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-3);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.showcase-card:hover .showcase-overlay {
  opacity: 1;
}

.showcase-price {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: white;
  background: rgba(0, 163, 255, 0.3);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.showcase-badge {
  font-size: var(--text-xs);
  background: linear-gradient(135deg, #f90 0%, #f90050 100%);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-md);
  color: white;
  font-weight: var(--font-semibold);
}

/* Stats Bar */
.hero-stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-8);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(20px);
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: var(--radius-xl);
  color: var(--primary-400);
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
}

.hero-stats-bar .stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-v3-new {
    padding: var(--space-20) 0 var(--space-8);
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-showcase {
    gap: var(--space-2);
    overflow-x: auto;
    padding: 0 var(--space-4);
    justify-content: flex-start;
  }
  
  .showcase-card {
    width: 140px;
    flex-shrink: 0;
  }
  
  .showcase-featured {
    width: 160px;
  }
  
  .showcase-col-1,
  .showcase-col-3 {
    margin-top: var(--space-4);
  }
  
  .hero-stats-bar {
    flex-wrap: wrap;
    gap: var(--space-4);
    padding: var(--space-4);
  }
  
  .stat-divider {
    display: none;
  }
  
  .stat-card {
    flex: 1 1 40%;
    justify-content: center;
  }
}

/* Old Hero (keep for compatibility) */
.hero-v3 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-24) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}

.hero-v3::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(0, 163, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.hero-v3::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(249, 0, 77, 0.1), transparent 70%);
  pointer-events: none;
}

.hero-v3 .hero-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
  z-index: 1;
}

.hero-v3 .hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-v3 .hero-text h1 {
  font-size: var(--text-6xl);
  font-weight: var(--font-extrabold);
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.hero-v3 .hero-text p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: var(--space-8);
}

.hero-v3 .hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-v3 .hero-stats {
  display: flex;
  gap: var(--space-10);
  margin-top: var(--space-12);
}

.hero-v3 .stat-item {
  text-align: left;
}

.hero-v3 .stat-value {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
}

.hero-v3 .stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

.hero-v3 .hero-visual {
  position: relative;
}

.hero-v3 .hero-featured-nft {
  position: relative;
  max-width: 450px;
  margin-left: auto;
}

.hero-v3 .featured-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.hero-v3 .featured-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.hero-v3 .featured-card-info {
  padding: var(--space-6);
}

.hero-v3 .floating-cards {
  position: absolute;
}

.hero-v3 .floating-card {
  position: absolute;
  width: 120px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
}

.hero-v3 .floating-card:nth-child(1) {
  top: -40px;
  left: -60px;
  animation-delay: 0s;
}

.hero-v3 .floating-card:nth-child(2) {
  bottom: 60px;
  right: -40px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ============================================
   10. Section Styles
   ============================================ */
.section-v3 {
  padding: var(--space-20) 0;
}

.container-v3,
.section-v3 .section-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section-v3 .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-10);
}

.section-v3 .section-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin: 0;
}

.section-v3 .section-subtitle {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-top: var(--space-2);
}

/* Grid Layouts */
.nft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
}

/* ============================================
   11. Auth Pages
   ============================================ */
.auth-page-v3 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}

.auth-card-v3 {
  width: 100%;
  max-width: 440px;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  backdrop-filter: blur(20px);
}

.auth-card-v3 .auth-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.auth-card-v3 .auth-logo {
  height: 48px;
  margin-bottom: var(--space-6);
}

.auth-card-v3 .auth-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.auth-card-v3 .auth-subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.auth-card-v3 .auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.auth-card-v3 .auth-divider::before,
.auth-card-v3 .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-default);
}

.auth-card-v3 .auth-footer {
  text-align: center;
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.auth-card-v3 .auth-footer a {
  color: var(--primary-400);
  font-weight: var(--font-medium);
}

/* ============================================
   12. Badges & Tags
   ============================================ */
.badge-v3 {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-full);
}

.badge-v3-primary {
  background: rgba(0, 163, 255, 0.15);
  color: var(--primary-400);
}

.badge-v3-success {
  background: rgba(62, 183, 94, 0.15);
  color: var(--success-500);
}

.badge-v3-warning {
  background: rgba(255, 143, 60, 0.15);
  color: var(--warning-500);
}

.badge-v3-danger {
  background: rgba(255, 0, 3, 0.15);
  color: var(--danger-500);
}

/* ============================================
   13. Tables
   ============================================ */
.table-v3 {
  width: 100%;
  border-collapse: collapse;
}

.table-v3 th,
.table-v3 td {
  padding: var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--border-default);
}

.table-v3 th {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg-dark-tertiary);
}

.table-v3 td {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.table-v3 tbody tr:hover {
  background: var(--glass-bg);
}

/* ============================================
   14. Alerts & Notifications
   ============================================ */
.alert-v3 {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
}

.alert-v3-info {
  background: rgba(27, 162, 219, 0.1);
  border: 1px solid rgba(27, 162, 219, 0.3);
  color: var(--color-info);
}

.alert-v3-success {
  background: rgba(62, 183, 94, 0.1);
  border: 1px solid rgba(62, 183, 94, 0.3);
  color: var(--success-500);
}

.alert-v3-warning {
  background: rgba(255, 143, 60, 0.1);
  border: 1px solid rgba(255, 143, 60, 0.3);
  color: var(--warning-500);
}

.alert-v3-danger {
  background: rgba(255, 0, 3, 0.1);
  border: 1px solid rgba(255, 0, 3, 0.3);
  color: var(--danger-500);
}

/* ============================================
   15. Loading & Skeletons
   ============================================ */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-dark-elevated) 25%,
    var(--bg-dark-tertiary) 50%,
    var(--bg-dark-elevated) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text {
  height: 16px;
  margin-bottom: var(--space-2);
}

.skeleton-title {
  height: 24px;
  width: 60%;
  margin-bottom: var(--space-3);
}

.skeleton-image {
  aspect-ratio: 1;
}

/* Spinner */
.spinner-v3 {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-default);
  border-top-color: var(--primary-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   16. Utility Classes
   ============================================ */
/* Display */
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }
.d-block { display: block; }

/* Flex Utilities */
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Margin */
.m-0 { margin: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* Padding */
.p-0 { padding: 0; }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }

/* Width */
.w-full { width: 100%; }
.w-100 { width: 100%; }
.w-auto { width: auto; }

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Border Radius */
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

/* ============================================
   17. Responsive Design
   ============================================ */
@media (max-width: 1200px) {
  :root {
    --text-6xl: 2.5rem;
    --text-5xl: 2rem;
  }

  .nav-v3 {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-nav-v3 {
    display: block;
  }

  .hero-v3 .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-v3 .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-v3 .hero-buttons {
    justify-content: center;
  }

  .hero-v3 .hero-stats {
    justify-content: center;
  }

  .hero-v3 .hero-visual {
    display: none;
  }

  .footer-v3 .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  .section-v3 .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .nft-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-4);
  }

  .hero-v3 .hero-stats {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .footer-v3 .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer-v3 .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .search-box-v3 {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --text-5xl: 1.75rem;
    --text-4xl: 1.5rem;
    --text-3xl: 1.25rem;
  }

  .auth-card-v3 {
    padding: var(--space-6);
  }

  .btn-v3-lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
  }
}

/* ============================================
   18. Print Styles
   ============================================ */
@media print {
  body.theme-v3 {
    background: white;
    color: black;
  }

  .header-v3,
  .footer-v3,
  .btn-v3 {
    display: none;
  }
}
