/* ================================================
   ARTVERSE - Digital Art Marketplace
   Complete Stylesheet
   ================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --primary: #7B2FBE;
  --secondary: #00D4FF;
  --accent: #FF6B35;
  --bg: #0A0A0F;
  --card-bg: #13131A;
  --border: #1E1E2E;
  --text: #E8E8F0;
  --text-muted: #888899;
  --gradient: linear-gradient(135deg, #7B2FBE, #00D4FF);
  --gradient-hover: linear-gradient(135deg, #8f3fd4, #00e5ff);
  --glow-purple: 0 0 20px rgba(123, 47, 190, 0.4);
  --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.4);
  --glow-orange: 0 0 20px rgba(255, 107, 53, 0.4);
  --transition: all 0.3s ease;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
}

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

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

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

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

p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Utility Classes --- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: var(--gradient);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(123, 47, 190, 0.15);
  border: 1px solid rgba(123, 47, 190, 0.3);
  color: var(--secondary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

/* --- Buttons --- */
.btn-gradient {
  background: var(--gradient);
  color: #fff !important;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: var(--transition);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(123, 47, 190, 0.5);
  color: #fff !important;
}

.btn-gradient:hover::before {
  background: rgba(255, 255, 255, 0.1);
}

.btn-gradient-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-outline-gradient {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid transparent;
  background-image: linear-gradient(var(--bg), var(--bg)), var(--gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-outline-gradient:hover {
  background-image: var(--gradient), var(--gradient);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

.btn-dark-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 22px;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-dark-card:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: var(--glow-cyan);
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  text-decoration: none;
}

.btn-icon:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: var(--glow-cyan);
}

.btn-icon.active {
  background: rgba(255, 107, 53, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Navbar --- */
.navbar {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  transition: var(--transition);
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  padding: 12px 0;
}

.navbar-brand .brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
  color: var(--text-muted) !important;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--text) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 70%;
}

.navbar-nav .nav-link.active {
  color: var(--secondary) !important;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  text-decoration: none;
  position: relative;
}

.nav-icon-btn:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: var(--glow-cyan);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
}

.navbar-toggler {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 10px;
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 40%, rgba(123, 47, 190, 0.25) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 60%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 40%);
  animation: gradient-shift 12s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 30, 46, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 30, 46, 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}

@keyframes gradient-shift {
  0% {
    transform: translate(0%, 0%) rotate(0deg);
  }
  33% {
    transform: translate(3%, -3%) rotate(2deg);
  }
  66% {
    transform: translate(-3%, 3%) rotate(-2deg);
  }
  100% {
    transform: translate(2%, -2%) rotate(1deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(123, 47, 190, 0.15);
  border: 1px solid rgba(123, 47, 190, 0.4);
  color: var(--secondary);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), 0 0 40px rgba(0, 212, 255, 0.1);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-stat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--text-muted);
  font-size: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Marquee Strip --- */
.marquee-section {
  padding: 18px 0;
  background: rgba(19, 19, 26, 0.8);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee-scroll 25s linear infinite;
  white-space: nowrap;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 30px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Artwork Card --- */
.artwork-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.artwork-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 212, 255, 0.1), 0 0 60px rgba(123, 47, 190, 0.1);
}

.artwork-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 6/5;
}

.artwork-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.artwork-card:hover .artwork-img-wrap img {
  transform: scale(1.05);
}

.artwork-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10, 10, 15, 0.95) 100%);
  pointer-events: none;
}

.artwork-edition-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gradient);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  z-index: 2;
}

.artwork-category-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(10px);
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid var(--border);
  z-index: 2;
}

.artwork-artist {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.artwork-artist-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid;
  border-image: var(--gradient) 1;
  border-image-slice: 1;
  object-fit: cover;
}

.artwork-artist-name {
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
}

.artwork-card-body {
  padding: 16px;
}

.artwork-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.artwork-category {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.artwork-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.artwork-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
}

.artwork-price-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.artwork-actions {
  display: flex;
  gap: 6px;
}

/* --- Neon Badge --- */
.neon-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gradient);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.neon-badge-outline {
  background: transparent;
  border: 1px solid var(--secondary);
  color: var(--secondary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* --- Artist Card --- */
.artist-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.artist-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

.artist-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123, 47, 190, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), var(--glow-purple);
}

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

.artist-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}

.artist-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  border: 2px solid transparent;
}

.artist-avatar-border {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--gradient);
  z-index: 0;
  padding: 3px;
}

.artist-avatar-border img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.artist-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.artist-handle {
  font-size: 0.82rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

.artist-specialty {
  display: inline-block;
  background: rgba(123, 47, 190, 0.12);
  border: 1px solid rgba(123, 47, 190, 0.25);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.artist-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.artist-stat-item {
  text-align: center;
}

.artist-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.artist-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Category Card --- */
.category-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.category-card:hover::after {
  opacity: 0.08;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), var(--glow-cyan);
}

.category-card > * {
  position: relative;
  z-index: 1;
}

.category-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(123, 47, 190, 0.3);
}

.category-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.category-count {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- Stat Counter --- */
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Filter Buttons --- */
.filter-btn {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

/* --- Page Header --- */
.page-header {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(123, 47, 190, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

/* --- Sidebar Filters --- */
.sidebar-filter {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 90px;
}

.filter-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.filter-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

/* Custom checkboxes */
.form-check-input {
  background-color: var(--card-bg);
  border-color: var(--border);
  width: 18px;
  height: 18px;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(123, 47, 190, 0.25);
  border-color: var(--primary);
}

.form-check-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.form-check:hover .form-check-label {
  color: var(--text);
}

/* Form Inputs */
.form-control, .form-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
  color: var(--text);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888899' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-select option {
  background: var(--card-bg);
  color: var(--text);
}

.input-group .input-group-text {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-right: none;
}

.input-group .form-control {
  border-left: none;
}

.input-group .form-control:focus {
  border-left: none;
}

/* Price Range */
.range-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  width: 100%;
  outline: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient);
  cursor: pointer;
  border: 2px solid var(--bg);
}

/* --- Collections --- */
.collection-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.collection-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123, 47, 190, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), var(--glow-purple);
}

.collection-cover {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.collection-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collection-card:hover .collection-cover img {
  transform: scale(1.05);
}

.collection-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(10, 10, 15, 0.95) 100%);
}

.collection-body {
  padding: 20px;
}

.collection-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.collection-curator {
  font-size: 0.82rem;
  color: var(--secondary);
  margin-bottom: 14px;
}

.collection-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.collection-meta-item {
  text-align: center;
}

.collection-meta-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.collection-meta-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Featured Collection Hero --- */
.featured-collection {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
}

.featured-collection img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 10, 15, 0.95) 40%, transparent 80%),
              linear-gradient(to top, rgba(10, 10, 15, 0.8) 0%, transparent 50%);
}

.featured-collection-content {
  position: relative;
  z-index: 1;
  padding: 50px;
}

/* --- Countdown Timer --- */
.countdown-timer {
  display: flex;
  gap: 12px;
  align-items: center;
}

.countdown-unit {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  min-width: 56px;
}

.countdown-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary);
  display: block;
  line-height: 1;
}

.countdown-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.countdown-sep {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* --- Artwork Detail --- */
.artwork-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid transparent;
  background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
              var(--gradient) border-box;
  position: relative;
}

.artwork-detail-image img {
  width: 100%;
  display: block;
}

.artwork-detail-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  box-shadow: 0 0 40px rgba(123, 47, 190, 0.2), 0 0 80px rgba(0, 212, 255, 0.1);
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.thumbnail-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.thumb-item {
  width: 70px;
  height: 55px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.thumb-item:hover,
.thumb-item.active {
  border-color: var(--secondary);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-tabs .nav-link {
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  padding: 10px 20px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  transition: var(--transition);
  border-radius: 0;
}

.detail-tabs .nav-link:hover {
  color: var(--text);
  border-bottom-color: var(--border);
}

.detail-tabs .nav-link.active {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
  background: transparent;
}

.detail-tabs {
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.property-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.property-item:last-child {
  border-bottom: none;
}

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

.property-value {
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.perk-item i {
  color: var(--secondary);
  font-size: 1rem;
  flex-shrink: 0;
}

/* --- Cart --- */
.cart-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  margin-bottom: 12px;
}

.cart-item:hover {
  border-color: rgba(0, 212, 255, 0.2);
}

.cart-item-image {
  width: 90px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.1rem;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 10px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--primary);
}

.qty-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 20px;
  text-align: center;
}

/* Order Summary */
.order-summary {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 90px;
}

.order-summary-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.summary-row .label {
  color: var(--text-muted);
}

.summary-row .value {
  color: var(--text);
  font-weight: 500;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  margin-top: 6px;
}

.summary-total .label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.summary-total .value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--secondary);
}

.payment-icons {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}

.payment-icon {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.guarantee-badge i {
  color: var(--secondary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* --- Checkout --- */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
}

.step-item.active .step-num {
  background: var(--gradient);
  border: none;
  color: #fff;
  box-shadow: 0 0 20px rgba(123, 47, 190, 0.4);
}

.step-item.completed .step-num {
  background: rgba(0, 212, 255, 0.15);
  border-color: var(--secondary);
  color: var(--secondary);
}

.step-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.step-item.active .step-text {
  color: var(--text);
}

.step-connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 10px;
  max-width: 60px;
}

.checkout-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.form-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
}

/* --- How It Works --- */
.how-step {
  text-align: center;
  position: relative;
}

.how-step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(123, 47, 190, 0.1);
  border: 2px solid rgba(123, 47, 190, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  position: relative;
  transition: var(--transition);
}

.how-step:hover .how-step-icon {
  background: rgba(123, 47, 190, 0.2);
  border-color: var(--primary);
  box-shadow: var(--glow-purple);
}

.how-step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.how-step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 200px;
  margin: 0 auto;
}

.how-connector {
  display: none;
}

@media (min-width: 768px) {
  .how-connector {
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    position: absolute;
    top: 40px;
    right: -40px;
    opacity: 0.5;
  }
}

/* --- Newsletter Section --- */
.newsletter-section {
  background: linear-gradient(135deg, rgba(123, 47, 190, 0.15), rgba(0, 212, 255, 0.08));
  border: 1px solid rgba(123, 47, 190, 0.2);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(123, 47, 190, 0.2), transparent 70%);
  pointer-events: none;
}

.newsletter-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 1;
}

/* --- Footer --- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
}

.footer-brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: block;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 240px;
}

.footer-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: rgba(123, 47, 190, 0.2);
  border-color: var(--primary);
  color: var(--secondary);
  box-shadow: var(--glow-purple);
}

.footer-newsletter-input {
  display: flex;
  gap: 8px;
}

.footer-gradient-line {
  height: 1px;
  background: var(--gradient);
  opacity: 0.3;
  margin: 40px 0 20px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

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

.footer-copy-links {
  display: flex;
  gap: 20px;
}

.footer-copy-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: var(--transition);
}

.footer-copy-links a:hover {
  color: var(--secondary);
}

/* --- Progress Bars --- */
.progress {
  background: var(--border);
  border-radius: 50px;
  height: 6px;
}

.progress-bar {
  background: var(--gradient);
  border-radius: 50px;
}

/* --- Star Rating --- */
.star-rating {
  color: #FFB800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 2px;
}

.star-rating .rating-value {
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  margin-left: 6px;
}

.star-rating .rating-count {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-left: 2px;
}

/* --- Section padding --- */
.section-padding {
  padding: 90px 0;
}

.section-padding-sm {
  padding: 60px 0;
}

/* --- Divider --- */
.gradient-divider {
  height: 1px;
  background: var(--gradient);
  opacity: 0.2;
  margin: 20px 0;
}

/* --- View All Link --- */
.view-all-link {
  color: var(--secondary);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  text-decoration: none;
}

.view-all-link:hover {
  color: var(--primary);
  gap: 10px;
}

/* --- Security Badges --- */
.security-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.security-badge i {
  color: var(--secondary);
}

/* --- AOS Overrides --- */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .sidebar-filter {
    position: static;
    margin-bottom: 2rem;
  }

  .navbar-collapse {
    background: rgba(10, 10, 15, 0.98);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 10px;
  }

  .featured-collection-content {
    padding: 30px;
  }

  .hero-stats {
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .section-title {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-stat-divider {
    display: none;
  }

  .step-indicator {
    flex-wrap: wrap;
    gap: 10px;
  }

  .countdown-timer {
    justify-content: center;
  }

  .featured-collection {
    min-height: 300px;
  }

  .featured-collection-content {
    padding: 24px;
  }

  .cart-item {
    flex-direction: column;
  }

  .cart-item-image {
    width: 100%;
    height: 160px;
  }
}

@media (max-width: 575px) {
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .page-header {
    padding: 110px 0 50px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .newsletter-section {
    padding: 40px 24px;
  }
}

/* --- Glow Featured --- */
.featured-glow {
  animation: pulse-glow 3s ease-in-out infinite;
  border-color: rgba(0, 212, 255, 0.4) !important;
}

/* --- AOS Dark Enhancements --- */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* --- Load More --- */
.load-more-wrap {
  text-align: center;
  padding: 40px 0 20px;
}

/* --- Badge pill --- */
.badge-pill {
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

/* --- Floating Orbs Background --- */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(123, 47, 190, 0.2);
  top: 10%;
  left: -5%;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(0, 212, 255, 0.15);
  bottom: 10%;
  right: 0%;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(255, 107, 53, 0.1);
  top: 50%;
  right: 20%;
}
