/* Modern sleek design for ilovepercs.net - Production Ready */
:root {
  --primary: #0a0a0a;
  --secondary: #121212;
  --accent: #d946ef;
  --accent-dark: #b800d4;
  --accent-light: #e066ff;
  --text: #ffffff;
  --text-muted: #888888;
  --border: #1a1a1a;
  --surface: rgba(18, 18, 18, 0.8);
  --surface-light: rgba(30, 30, 30, 0.6);
  
  /* Brand Colors - Muted */
  --balenciaga: #e63950;
  --chrome-hearts: #a0a0a0;
  --bape: #7a5c3e;
  --burberry: #c9a87c;
  --stussy: #4ade80;
  --acne: #60a5fa;
  --carhartt: #f59e0b;
}

/* ========================================
   ✨ SUBTLE ANIMATIONS 
   ======================================== */

/* Gentle glow pulse */
@keyframes subtleGlow {
  0%, 100% { box-shadow: 0 0 8px var(--glow-color, rgba(255,255,255,0.1)); }
  50% { box-shadow: 0 0 16px var(--glow-color, rgba(255,255,255,0.15)); }
}

/* Soft border fade */
@keyframes borderFade {
  0%, 100% { border-color: var(--brand-color); opacity: 0.8; }
  50% { border-color: var(--brand-color); opacity: 1; }
}

/* Gentle shimmer for badges */
@keyframes shimmer {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* ========================================
   🏷️ BRAND CARD STYLES - SLEEK & MINIMAL
   ======================================== */

/* Base brand card style */
.card[data-brand] {
  position: relative;
}

/* Brand icon badge - appears on hover */
.card[data-brand]::before {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.3s ease;
  z-index: 10;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.card[data-brand]:hover::before {
  opacity: 1;
  transform: translateY(0);
}

/* BALENCIAGA */
.card[data-brand*="balenciaga" i],
.card[data-brand*="Balenciaga"] {
  border-left: 3px solid var(--balenciaga);
}
.card[data-brand*="balenciaga" i]::before,
.card[data-brand*="Balenciaga"]::before {
  content: '𝐁';
  color: var(--balenciaga);
  border: 1px solid var(--balenciaga);
}
.card[data-brand*="balenciaga" i]:hover,
.card[data-brand*="Balenciaga"]:hover {
  box-shadow: 0 8px 30px rgba(230, 57, 80, 0.15);
}

/* CHROME HEARTS */
.card[data-brand*="chrome" i],
.card[data-brand*="Chrome Hearts"] {
  border-left: 3px solid var(--chrome-hearts);
}
.card[data-brand*="chrome" i]::before,
.card[data-brand*="Chrome Hearts"]::before {
  content: '✝';
  color: var(--chrome-hearts);
  border: 1px solid var(--chrome-hearts);
}
.card[data-brand*="chrome" i]:hover,
.card[data-brand*="Chrome Hearts"]:hover {
  box-shadow: 0 8px 30px rgba(160, 160, 160, 0.2);
}

/* BAPE */
.card[data-brand*="bape" i],
.card[data-brand*="Bape"] {
  border-left: 3px solid var(--bape);
}
.card[data-brand*="bape" i]::before,
.card[data-brand*="Bape"]::before {
  content: '🦍';
  border: 1px solid var(--bape);
}
.card[data-brand*="bape" i]:hover,
.card[data-brand*="Bape"]:hover {
  box-shadow: 0 8px 30px rgba(122, 92, 62, 0.2);
}

/* BURBERRY */
.card[data-brand*="burberry" i],
.card[data-brand*="Burberry"] {
  border-left: 3px solid var(--burberry);
}
.card[data-brand*="burberry" i]::before,
.card[data-brand*="Burberry"]::before {
  content: '🏇';
  border: 1px solid var(--burberry);
}
.card[data-brand*="burberry" i]:hover,
.card[data-brand*="Burberry"]:hover {
  box-shadow: 0 8px 30px rgba(201, 168, 124, 0.2);
}

/* STUSSY */
.card[data-brand*="stussy" i],
.card[data-brand*="Stussy"] {
  border-left: 3px solid var(--stussy);
}
.card[data-brand*="stussy" i]::before,
.card[data-brand*="Stussy"]::before {
  content: 'Ⓢ';
  color: var(--stussy);
  border: 1px solid var(--stussy);
}
.card[data-brand*="stussy" i]:hover,
.card[data-brand*="Stussy"]:hover {
  box-shadow: 0 8px 30px rgba(74, 222, 128, 0.15);
}

/* ACNE STUDIOS */
.card[data-brand*="acne" i],
.card[data-brand*="Acne Studios"] {
  border-left: 3px solid var(--acne);
}
.card[data-brand*="acne" i]::before,
.card[data-brand*="Acne Studios"]::before {
  content: '◯';
  color: var(--acne);
  border: 1px solid var(--acne);
}
.card[data-brand*="acne" i]:hover,
.card[data-brand*="Acne Studios"]:hover {
  box-shadow: 0 8px 30px rgba(96, 165, 250, 0.15);
}

/* CARHARTT */
.card[data-brand*="carhartt" i],
.card[data-brand*="Carhartt"] {
  border-left: 3px solid var(--carhartt);
}
.card[data-brand*="carhartt" i]::before,
.card[data-brand*="Carhartt"]::before {
  content: '⬡';
  color: var(--carhartt);
  border: 1px solid var(--carhartt);
}
.card[data-brand*="carhartt" i]:hover,
.card[data-brand*="Carhartt"]:hover {
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.15);
}

/* ========================================
   🏷️ CATEGORY BADGES - CLEAN & SUBTLE
   ======================================== */

/* Base category badge enhancements */
.meta-badge.category-badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Shoes/Sneakers */
.card[data-category="shoes"] .meta-badge.category-badge,
.card[data-category="sneakers"] .meta-badge.category-badge {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
}

/* Hoodies */
.card[data-category="hoodies"] .meta-badge.category-badge {
  background: linear-gradient(135deg, #9333ea, #c026d3);
  color: white;
}

/* Jackets */
.card[data-category="jackets"] .meta-badge.category-badge {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: white;
}

/* Pants */
.card[data-category="pants"] .meta-badge.category-badge {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
}

/* Belts */
.card[data-category="belts"] .meta-badge.category-badge {
  background: linear-gradient(135deg, #525252, #737373);
  color: white;
}

/* Hats */
.card[data-category="hats"] .meta-badge.category-badge {
  background: linear-gradient(135deg, #059669, #10b981);
  color: white;
}

/* Boots */
.card[data-category="boots"] .meta-badge.category-badge {
  background: linear-gradient(135deg, #78350f, #a16207);
  color: white;
}

/* ========================================
   ✨ SPECIAL INDICATORS - MINIMAL
   ======================================== */

/* Limited/Rare - subtle top border glow */
.card[data-name*="Limited" i],
.card[data-name*="Rare" i] {
  border-top: 2px solid #ef4444;
}
.card[data-name*="Limited" i]::after,
.card[data-name*="Rare" i]::after {
  content: 'LIMITED';
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 9px;
  padding: 2px 6px;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Performance optimization for reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #121212 50%, #0f0f1a 100%);
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes softGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(217, 70, 239, 0.4); }
  50% { box-shadow: 0 0 24px rgba(217, 70, 239, 0.6); }
}

@keyframes titlePulse {
  0%, 100% { text-shadow: 0 0 12px rgba(217, 70, 239, 0.5); }
  50% { text-shadow: 0 0 24px rgba(217, 70, 239, 0.8); }
}

@keyframes hoverLift {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

@keyframes subtleFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

@keyframes softPulse {
  0%, 100% {
    filter: drop-shadow(0 0 15px rgba(255, 100, 80, 0.6)) drop-shadow(0 0 8px rgba(255, 100, 80, 0.4));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 25px rgba(255, 100, 80, 0.9)) drop-shadow(0 0 12px rgba(255, 100, 80, 0.6));
    transform: scale(1.15);
  }
}

@keyframes softRotate {
  0% { transform: rotate(0deg) scale(1); filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 8px rgba(255, 215, 0, 0.4)); }
  50% { transform: rotate(180deg) scale(1.2); filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.9)) drop-shadow(0 0 12px rgba(255, 215, 0, 0.6)); }
  100% { transform: rotate(360deg) scale(1); filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 8px rgba(255, 215, 0, 0.4)); }
}

@keyframes softSway {
  0%, 100% {
    transform: translateX(0px) scale(1);
    filter: drop-shadow(0 0 15px rgba(100, 200, 255, 0.6)) drop-shadow(0 0 8px rgba(100, 200, 255, 0.4));
  }
  25% { transform: translateX(2px) scale(1.1); }
  75% { transform: translateX(-2px) scale(1.15); filter: drop-shadow(0 0 25px rgba(100, 200, 255, 0.9)) drop-shadow(0 0 12px rgba(100, 200, 255, 0.6)); }
}

@keyframes softTwinkle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 15px rgba(100, 255, 150, 0.6)) drop-shadow(0 0 8px rgba(100, 255, 150, 0.4));
  }
  50% {
    opacity: 0.8;
    transform: scale(1.2);
    filter: drop-shadow(0 0 25px rgba(100, 255, 150, 0.9)) drop-shadow(0 0 12px rgba(100, 255, 150, 0.6));
  }
}

.site-header {
  padding: 32px 20px;
  border-bottom: 1px solid rgba(217, 70, 239, 0.2);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.95) 0%, rgba(18, 18, 18, 0.8) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  position: sticky;
  top: 0;
  z-index: 100;
  animation: slideInDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.header-content {
  max-width: 1100px;
  margin: 0 auto;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.discord-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 70, 239, 0.12);
  border: 1.5px solid rgba(217, 70, 239, 0.4);
  border-radius: 10px;
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  flex-shrink: 0;
}

.discord-link:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(217, 70, 239, 0.5);
}

.discord-link svg {
  transition: all 0.3s ease;
}

.discord-link:hover svg {
  animation: float 0.6s ease-in-out;
}

.site-header h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(110deg, var(--text) 0%, var(--accent) 50%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeIn 0.6s ease-out 0.1s both;
  text-transform: lowercase;
  font-family: 'Monaco', 'Courier New', monospace;
  word-spacing: 4px;
}

@keyframes glitch {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 0 var(--text-muted);
  }
  50% {
    opacity: 0.8;
    text-shadow: 2px 2px 8px rgba(217, 70, 239, 0.3);
  }
}

.tagline {
  margin: 10px 0 0 0;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 1px;
  animation: fadeIn 0.6s ease-out 0.2s both;
  font-family: 'Monaco', 'Courier New', monospace;
  transition: all 0.15s ease;
  min-height: 20px;
  text-transform: uppercase;
  opacity: 0.9;
}

main#app {
  padding: 24px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.controls {
  margin-bottom: 24px;
  animation: fadeInUp 0.5s ease-out 0.25s both;
}

.search-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.search-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: none;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.search-input:focus {
  background: rgba(217, 70, 239, 0.08);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(217, 70, 239, 0.3);
}

.search-input::placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.controls-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sort-select {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sort-select:hover {
  background: rgba(217, 70, 239, 0.08);
  border-color: var(--accent);
}

.sort-select:focus {
  border-color: var(--accent);
  outline: none;
}

.btn {
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 70, 239, 0.4);
}

.btn:active {
  transform: translateY(0);
}

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

.btn.ghost:hover {
  background: rgba(217, 70, 239, 0.1);
  border-color: var(--accent);
  color: var(--text);
  box-shadow: none;
}

.filters-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
  animation: fadeInUp 0.5s ease-out 0.3s both;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.category-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.category-btn {
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.category-btn:hover {
  background: rgba(217, 70, 239, 0.12);
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

.category-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(217, 70, 239, 0.4);
}

.chip {
  padding: 8px 12px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text-muted);
  font-size: 13px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.chip:hover {
  background: rgba(217, 70, 239, 0.12);
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

.chip.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(217, 70, 239, 0.4);
}

.price-range {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-range input {
  width: 90px;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  transition: all 0.2s ease;
}

.price-range input:focus {
  background: rgba(26, 26, 26, 0.9);
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 12px rgba(217, 70, 239, 0.25);
}

.price-range input::placeholder {
  color: var(--text-muted);
}

.sep {
  color: var(--text-muted);
}

.results {
  margin-top: 28px;
  animation: fadeInUp 0.5s ease-out 0.35s both;
}

.seller-section {
  margin-bottom: 32px;
}

.category-section {
  margin-bottom: 40px;
}

.seller-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  animation: slideInDown 0.4s ease-out;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--accent);
  animation: slideInDown 0.4s ease-out;
}

.category-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.seller-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.section-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.table-head {
  display: grid;
  grid-template-columns: 80px 1fr 120px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(217, 70, 239, 0.04);
  border-radius: 6px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid rgba(217, 70, 239, 0.08);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.card {
  display: grid;
  grid-template-columns: 70px 1fr 90px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 12px;
  background: rgba(25, 25, 35, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0;
  transform: translateY(12px);
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: visible;
  z-index: 1;
  padding-top: 20px;
}

.card.hot {
  box-shadow: 0 0 30px rgba(255, 100, 80, 0.15), inset 0 0 20px rgba(255, 100, 80, 0.05);
}

.card.hot:hover {
  box-shadow: 0 0 40px rgba(255, 100, 80, 0.25), 0 16px 40px rgba(255, 100, 80, 0.15), 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 100, 80, 0.08);
}

.card.rare {
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.15), inset 0 0 20px rgba(255, 215, 0, 0.05);
}

.card.rare:hover {
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.25), 0 16px 40px rgba(255, 215, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 215, 0, 0.08);
}

.card.limited {
  box-shadow: 0 0 30px rgba(100, 200, 255, 0.15), inset 0 0 20px rgba(100, 200, 255, 0.05);
}

.card.limited:hover {
  box-shadow: 0 0 40px rgba(100, 200, 255, 0.25), 0 16px 40px rgba(100, 200, 255, 0.15), 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(100, 200, 255, 0.08);
}

.card.new {
  box-shadow: 0 0 30px rgba(100, 255, 150, 0.15), inset 0 0 20px rgba(100, 255, 150, 0.05);
}

.card.new:hover {
  box-shadow: 0 0 40px rgba(100, 255, 150, 0.25), 0 16px 40px rgba(100, 255, 150, 0.15), 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(100, 255, 150, 0.08);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  border-color: rgba(217, 70, 239, 0.25);
  background: rgba(30, 30, 45, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(217, 70, 239, 0.12), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.card .icon {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: rgba(217, 70, 239, 0.12);
  border: 1px solid rgba(217, 70, 239, 0.2);
  transition: all 0.3s ease;
  flex-shrink: 0;
  color: rgba(217, 70, 239, 0.5);
  font-weight: 600;
}

.card:hover .icon {
  transform: scale(1.1);
  background: rgba(217, 70, 239, 0.18);
  border-color: var(--accent);
}

.card .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.card .title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.card .meta {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.4;
}

.card .price {
  font-weight: 700;
  color: var(--accent);
  font-size: 16px;
  text-align: right;
  transition: all 0.2s ease;
}

.card:hover .price {
  color: var(--accent-light);
}

.price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.seller-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #e066ff 100%);
  border: none;
  border-radius: 6px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Special tag badges with glow effect */
.card.hot::after {
  content: "🔥";
  position: absolute;
  top: -8px;
  right: 6px;
  font-size: 20px;
  z-index: 20;
  filter: drop-shadow(0 0 15px rgba(255, 100, 80, 0.6)) drop-shadow(0 0 8px rgba(255, 100, 80, 0.4));
  animation: softPulse 2s ease-in-out infinite;
}

.card.rare::after {
  content: "⭐";
  position: absolute;
  top: -8px;
  right: 6px;
  font-size: 20px;
  z-index: 20;
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
  animation: softRotate 3s linear infinite;
}

.card.limited::after {
  content: "❄️";
  position: absolute;
  top: -8px;
  right: 6px;
  font-size: 20px;
  z-index: 20;
  filter: drop-shadow(0 0 15px rgba(100, 200, 255, 0.6)) drop-shadow(0 0 8px rgba(100, 200, 255, 0.4));
  animation: softSway 2.5s ease-in-out infinite;
}

.card.new::after {
  content: "✨";
  position: absolute;
  top: -8px;
  right: 6px;
  font-size: 20px;
  z-index: 20;
  filter: drop-shadow(0 0 15px rgba(100, 255, 150, 0.6)) drop-shadow(0 0 8px rgba(100, 255, 150, 0.4));
  animation: softTwinkle 1.5s ease-in-out infinite;
}
  font-size: 13px;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(217, 70, 239, 0.2);
}

.seller-link:hover {
  background: linear-gradient(135deg, #e066ff 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(217, 70, 239, 0.4);
}

.detail-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--accent) 0%, #e066ff 100%);
  border: none;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(217, 70, 239, 0.25);
}

.cta-button:hover {
  background: linear-gradient(135deg, #e066ff 0%, var(--accent) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(217, 70, 239, 0.4);
}

.empty-state {
  padding: 48px 24px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px dashed var(--border);
  text-align: center;
  color: var(--text-muted);
  animation: fadeInUp 0.5s ease-out;
}

.empty-state h3 {
  margin: 0 0 8px 0;
  color: var(--text);
  font-size: 16px;
}

.empty-state p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

/* Detail page */
.detail-wrap {
  max-width: 1000px;
  margin: 24px auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  animation: fadeInUp 0.5s ease-out;
  box-shadow: none;
}

.detail-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  animation: fadeInUp 0.5s ease-out 0.1s both;
  box-shadow: 0 12px 32px rgba(217, 70, 239, 0.12);
}

.detail-image-box {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(217, 70, 239, 0.08);
  border: 2px solid rgba(217, 70, 239, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s ease;
}

.detail-image-box:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(217, 70, 239, 0.2);
}

.detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-placeholder {
  font-size: 120px;
  opacity: 0.6;
  animation: subtleFloat 4s ease-in-out infinite;
}

.detail-info h1 {
  margin: 0 0 16px 0;
  font-size: 28px;
  color: var(--text);
  animation: fadeIn 0.5s ease-out 0.15s both;
  line-height: 1.3;
}

.price-large {
  color: var(--accent);
  font-size: 32px;
  font-weight: 700;
  margin: 16px 0;
  animation: fadeIn 0.5s ease-out 0.2s both;
}

.meta-row {
  display: flex;
  gap: 8px;
  margin: 16px 0;
  flex-wrap: wrap;
  animation: fadeIn 0.5s ease-out 0.25s both;
}

.meta-badge {
  display: inline-block;
  background: rgba(217, 70, 239, 0.2);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(217, 70, 239, 0.3);
}

.category-badge {
  background: rgba(217, 70, 239, 0.15);
  border-color: rgba(217, 70, 239, 0.2);
}

.detail-info .meta {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  animation: fadeIn 0.5s ease-out 0.25s both;
}

.detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  animation: fadeIn 0.5s ease-out 0.3s both;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: white;
  flex: 1;
  min-width: 180px;
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 70, 239, 0.3);
}

.cta-button.secondary {
  background: rgba(217, 70, 239, 0.1);
  color: var(--accent);
  border: 1px solid rgba(217, 70, 239, 0.3);
  flex: 1;
  min-width: 120px;
}

.cta-button.secondary:hover {
  background: rgba(217, 70, 239, 0.15);
  border-color: var(--accent);
}

.header-back {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s ease;
}

.back-link:hover {
  color: var(--accent-light);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 24px;
}

.detail-box {
  background: var(--surface);
  padding: 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
  animation: fadeInUp 0.5s ease-out 0.3s both;
  box-shadow: 0 8px 24px rgba(217, 70, 239, 0.08);
}

.detail-box:hover {
  border-color: rgba(217, 70, 239, 0.3);
  box-shadow: 0 12px 32px rgba(217, 70, 239, 0.12);
}

.detail-box h3 {
  margin: 0 0 16px 0;
  font-size: 16px;
  color: var(--text);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-box p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
}

.detail-box ul {
  margin: 0;
  padding-left: 20px;
  list-style: none;
}

.detail-box li {
  color: var(--text-muted);
  font-size: 13px;
  margin: 8px 0;
  position: relative;
  padding-left: 12px;
}

.detail-box li:before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--accent);
}
  background: rgba(217, 70, 239, 0.08);
  border-color: var(--accent);
  box-shadow: 0 6px 16px rgba(217, 70, 239, 0.15);
}

.detail-box h3 {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.detail-box p, .detail-box ul {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.detail-box ul {
  list-style: none;
  padding: 0;
}

.detail-box li {
  padding: 6px 0;
  transition: all 0.2s ease;
}

.detail-box li:hover {
  color: var(--text);
}

.site-footer {
  padding: 48px 20px 20px;
  border-top: 2px solid rgba(217, 70, 239, 0.2);
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.5) 0%, rgba(15, 15, 15, 0.9) 100%);
  margin-top: 64px;
  animation: fadeInUp 0.5s ease-out 0.4s both;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.footer-section {
  animation: fadeInUp 0.5s ease-out 0.5s both;
}

.footer-section h4 {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.25s ease;
  display: inline-block;
}

.footer-section a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-discord {
  display: inline-block;
  padding: 10px 16px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-discord:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 70, 239, 0.4);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(217, 70, 239, 0.1);
  text-align: center;
  animation: fadeIn 0.5s ease-out 0.6s both;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .detail-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .detail-grid {
    grid-template-columns: 1fr;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .filters-row {
    flex-direction: column;
  }
  
  .table-head {
    grid-template-columns: 60px 1fr 80px;
  }
  
  .card {
    grid-template-columns: 60px 1fr 70px;
  }
}

/* Accessibility */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
