/* ============================================
   NFT Marketplace
   Neon-Cyberpunk Dark Aesthetic
   Purple #8B5CF6 + Pink #EC4899
   Glassmorphism + Neon Glow
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Work+Sans:wght@300;400;500;600;700&display=swap');

/* === CSS VARIABLES === */
:root {
  --bg-deep: #0A0A1A;
  --bg-surface: #111128;
  --bg-card: rgba(20, 20, 50, 0.6);
  --bg-card-solid: #14143280;
  --bg-elevated: #1A1A3E;
  --bg-input: #16162E;
  --border: rgba(139, 92, 246, 0.15);
  --border-strong: rgba(139, 92, 246, 0.3);
  --text-primary: #F0F0FF;
  --text-secondary: #A0A0C0;
  --text-dim: #6060A0;
  --text-muted: #404070;
  --purple: #8B5CF6;
  --purple-light: #A78BFA;
  --purple-dark: #6D28D9;
  --pink: #EC4899;
  --pink-light: #F472B6;
  --pink-dark: #DB2777;
  --blue: #3B82F6;
  --cyan: #06B6D4;
  --green: #10B981;
  --red: #EF4444;
  --yellow: #F59E0B;
  --orange: #F97316;
  --gradient-primary: linear-gradient(135deg, #8B5CF6, #EC4899);
  --gradient-bg: linear-gradient(135deg, #8B5CF6 0%, #EC4899 50%, #3B82F6 100%);
  --gradient-card: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(236,72,153,0.05));
  --glass-bg: rgba(17, 17, 40, 0.7);
  --glass-border: rgba(139, 92, 246, 0.2);
  --glass-blur: 20px;
  --neon-purple: 0 0 20px rgba(139, 92, 246, 0.4), 0 0 40px rgba(139, 92, 246, 0.1);
  --neon-pink: 0 0 20px rgba(236, 72, 153, 0.4), 0 0 40px rgba(236, 72, 153, 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 30px rgba(139,92,246,0.15);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Work Sans', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
a { color: var(--purple-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--pink); }
ul { list-style: none; }
button, input, select, textarea {
  font-family: 'Work Sans', sans-serif;
  border: none;
  outline: none;
  font-size: inherit;
  background: none;
  color: var(--text-primary);
}
img { max-width: 100%; display: block; }

/* === DEMO BANNER === */
.demo-banner {
  background: var(--gradient-primary);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 200;
}
.demo-banner a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}

/* === CONTAINER === */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === HEADER / NAVIGATION === */
.nft-header {
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}
.nft-header.scrolled {
  background: rgba(10, 10, 26, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo i {
  font-size: 24px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo:hover { color: var(--text-primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.1);
}
.nav-links a.active {
  color: var(--purple-light);
  background: rgba(139, 92, 246, 0.12);
}
.nav-search {
  flex: 1;
  max-width: 400px;
  position: relative;
}
.nav-search input {
  width: 100%;
  height: 42px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0 16px 0 42px;
  font-size: 14px;
  color: var(--text-primary);
  transition: var(--transition);
}
.nav-search input::placeholder { color: var(--text-dim); }
.nav-search input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}
.nav-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 18px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}
.btn-wallet {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-wallet:hover {
  transform: translateY(-1px);
  box-shadow: var(--neon-purple);
}
.btn-wallet i { font-size: 18px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10,10,26,0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--purple-light);
  background: rgba(139,92,246,0.1);
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--neon-purple);
  color: #fff;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--purple-light);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid var(--purple);
  white-space: nowrap;
}
.btn-outline:hover {
  background: rgba(139,92,246,0.1);
  transform: translateY(-2px);
  box-shadow: var(--neon-purple);
  color: var(--purple-light);
}
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-size: 18px;
}
.btn-icon:hover {
  color: var(--purple-light);
  border-color: var(--purple);
  background: rgba(139,92,246,0.1);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(139,92,246,0.15) 0%,
    rgba(236,72,153,0.1) 30%,
    rgba(59,130,246,0.08) 60%,
    rgba(10,10,26,0.9) 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(139,92,246,0.08) 0deg,
    rgba(236,72,153,0.06) 120deg,
    rgba(59,130,246,0.04) 240deg,
    rgba(139,92,246,0.08) 360deg
  );
  animation: heroRotate 20s linear infinite;
}
@keyframes heroRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(139,92,246,0.2) 0%, transparent 60%),
              radial-gradient(ellipse at 30% 80%, rgba(236,72,153,0.15) 0%, transparent 50%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero-content h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}
.hero-featured {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-nft-card {
  width: 380px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 16px;
  animation: heroFloat 6s ease-in-out infinite;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(1deg); }
  66% { transform: translateY(-8px) rotate(-0.5deg); }
}
.hero-nft-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.hero-nft-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-nft-info .nft-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.hero-nft-info .nft-price {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--purple-light);
  font-weight: 600;
}
.hero-nft-creator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.hero-nft-creator img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

/* Floating orbs decoration */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.hero-orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(139,92,246,0.2);
  top: 10%;
  right: 10%;
  animation: orbPulse 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(236,72,153,0.15);
  bottom: 10%;
  left: 5%;
  animation: orbPulse 10s ease-in-out infinite reverse;
}
@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 0.8; }
}

/* === STATS STRIP === */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 0;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.stat-item:hover {
  border-color: var(--purple);
  box-shadow: var(--neon-purple);
  transform: translateY(-4px);
}
.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* === SECTION STYLES === */
.section {
  padding: 80px 0;
  position: relative;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
}
.section-title span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--purple-light);
  font-weight: 600;
  font-size: 14px;
}
.section-link:hover {
  color: var(--pink);
  gap: 10px;
}

/* === TRENDING COLLECTIONS CAROUSEL === */
.trending-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.trending-card:hover {
  border-color: var(--purple);
  box-shadow: var(--neon-purple);
  transform: translateY(-4px);
}
.trending-banner {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: var(--transition);
}
.trending-card:hover .trending-banner {
  transform: scale(1.05);
}
.trending-banner-wrap {
  overflow: hidden;
  position: relative;
}
.trending-info {
  padding: 16px;
}
.trending-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}
.trending-stats {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.trending-stats .label {
  color: var(--text-dim);
  display: block;
  margin-bottom: 2px;
}
.trending-stats .value {
  color: var(--text-primary);
  font-weight: 600;
}

/* === TOP SELLERS === */
.top-sellers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.seller-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}
.seller-card:hover {
  border-color: var(--purple);
  box-shadow: var(--neon-purple);
  transform: translateY(-4px);
}
.seller-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--purple);
  padding: 2px;
  margin-bottom: 12px;
  position: relative;
}
.seller-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.seller-rank {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.seller-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}
.seller-volume {
  font-size: 13px;
  color: var(--purple-light);
  font-weight: 500;
}

/* === CATEGORIES === */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}
.category-card:hover {
  border-color: var(--purple);
  box-shadow: var(--neon-purple);
  transform: translateY(-6px);
}
.category-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--purple-light);
  margin-bottom: 14px;
  transition: var(--transition);
}
.category-card:hover .category-icon {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--neon-purple);
}
.category-name {
  font-weight: 600;
  font-size: 15px;
}

/* === HOW IT WORKS === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  transition: var(--transition);
  position: relative;
}
.step-card:hover {
  border-color: var(--purple);
  box-shadow: var(--neon-purple);
  transform: translateY(-6px);
}
.step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}
.step-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--purple-light);
  margin: 0 auto 20px;
  transition: var(--transition);
}
.step-card:hover .step-icon {
  background: var(--gradient-primary);
  color: #fff;
}
.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === CTA SECTION === */
.cta-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.1;
  border-radius: var(--radius-xl);
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
}
.cta-content h2 {
  font-size: 36px;
  margin-bottom: 16px;
}
.cta-content p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 16px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* === FOOTER === */
.nft-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  background: var(--bg-surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.footer-brand i {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 24px;
}
.footer-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 320px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 18px;
  transition: var(--transition);
}
.footer-socials a:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}
.footer-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--purple-light);
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--purple-light); }

/* === NFT CARD === */
.nft-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.nft-card:hover {
  border-color: var(--purple);
  box-shadow: var(--neon-purple);
  transform: translateY(-6px);
}
.nft-card-img {
  position: relative;
  overflow: hidden;
}
.nft-card-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.nft-card:hover .nft-card-img img {
  transform: scale(1.08);
}
.nft-card-like {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(10,10,26,0.7);
  backdrop-filter: blur(10px);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.nft-card-like:hover,
.nft-card-like.liked {
  color: var(--pink);
}
.nft-card-like.liked i {
  animation: heartBeat 0.4s ease;
}
@keyframes heartBeat {
  0% { transform: scale(1); }
  30% { transform: scale(1.3); }
  60% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.nft-card-timer {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10,10,26,0.8);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--pink-light);
}
.nft-card-timer i { font-size: 14px; }
.nft-card-body {
  padding: 16px;
}
.nft-card-collection {
  font-size: 12px;
  color: var(--purple-light);
  font-weight: 500;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nft-card-collection i {
  font-size: 12px;
  color: var(--blue);
}
.nft-card-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.nft-card-creator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.nft-card-creator img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--purple);
}
.nft-card-creator span {
  font-size: 13px;
  color: var(--text-secondary);
}
.nft-card-creator .creator-name {
  color: var(--text-primary);
  font-weight: 500;
}
.nft-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.nft-card-price {
  display: flex;
  flex-direction: column;
}
.nft-card-price .label {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 2px;
}
.nft-card-price .eth {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}
.nft-card-price .usd {
  font-size: 12px;
  color: var(--text-secondary);
}
.nft-card-buy {
  padding: 8px 18px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.nft-card-buy:hover {
  box-shadow: var(--neon-purple);
  transform: translateY(-1px);
}

/* === NFT GRID === */
.nft-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.nft-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* === EXPLORE PAGE === */
.explore-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 40px 0;
}
.filter-sidebar {
  position: sticky;
  top: 100px;
  align-self: flex-start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.filter-group {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
}
.filter-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.filter-title i {
  transition: var(--transition);
  font-size: 16px;
  color: var(--text-dim);
}
.filter-title.collapsed i { transform: rotate(180deg); }
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}
.filter-check:hover { color: var(--text-primary); }
.filter-check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-strong);
  border-radius: 4px;
  background: var(--bg-input);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  flex-shrink: 0;
}
.filter-check input[type="checkbox"]:checked {
  background: var(--purple);
  border-color: var(--purple);
}
.filter-check input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.filter-price-inputs {
  display: flex;
  gap: 10px;
  align-items: center;
}
.filter-price-inputs input {
  flex: 1;
  height: 38px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  font-size: 13px;
  color: var(--text-primary);
  transition: var(--transition);
}
.filter-price-inputs input:focus {
  border-color: var(--purple);
}
.filter-price-inputs span {
  color: var(--text-dim);
  font-size: 13px;
}
.chain-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  color: var(--text-secondary);
}
.chain-option:hover { background: rgba(139,92,246,0.1); color: var(--text-primary); }
.chain-option.active { background: rgba(139,92,246,0.15); color: var(--purple-light); }
.chain-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Explore toolbar */
.explore-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.explore-count {
  font-size: 14px;
  color: var(--text-secondary);
}
.explore-count strong {
  color: var(--text-primary);
}
.explore-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sort-select {
  height: 40px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 36px 0 12px;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23A0A0C0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.sort-select:focus { border-color: var(--purple); }
.view-toggle {
  display: flex;
  gap: 0;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.view-toggle button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition);
  font-size: 18px;
}
.view-toggle button.active {
  background: rgba(139,92,246,0.2);
  color: var(--purple-light);
}

.load-more {
  text-align: center;
  margin-top: 40px;
}

/* === NFT DETAIL PAGE === */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 40px 0;
  align-items: start;
}
.detail-image-wrap {
  position: sticky;
  top: 100px;
}
.detail-image {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 16px;
  overflow: hidden;
}
.detail-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  transition: transform 0.5s ease;
  cursor: zoom-in;
}
.detail-image:hover img {
  transform: scale(1.05);
}
.detail-collection-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--purple-light);
  font-weight: 500;
  margin-bottom: 8px;
}
.detail-collection-link i { font-size: 14px; color: var(--blue); }
.detail-nft-name {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}
.detail-users {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
}
.detail-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.detail-user img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--purple);
}
.detail-user-info .role {
  font-size: 12px;
  color: var(--text-dim);
}
.detail-user-info .name {
  font-size: 14px;
  font-weight: 600;
}
.detail-price-box {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.detail-price-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.detail-price-value {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
}
.detail-price-usd {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.detail-price-actions {
  display: flex;
  gap: 12px;
}
.detail-price-actions .btn-primary,
.detail-price-actions .btn-outline { flex: 1; }

/* Auction box */
.auction-box {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.auction-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.auction-bid {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}
.auction-timer {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.auction-timer-unit {
  text-align: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  min-width: 64px;
}
.auction-timer-unit .num {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--purple-light);
  display: block;
}
.auction-timer-unit .lbl {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
}
.bid-input-row {
  display: flex;
  gap: 12px;
}
.bid-input-row input {
  flex: 1;
  height: 44px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 14px;
  font-size: 15px;
  color: var(--text-primary);
}
.bid-input-row input:focus { border-color: var(--purple); }

/* Detail Tabs */
.detail-tabs {
  margin-top: 32px;
}
.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  overflow-x: auto;
}
.tabs-nav button {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.tabs-nav button:hover { color: var(--text-secondary); }
.tabs-nav button.active {
  color: var(--purple-light);
  border-bottom-color: var(--purple);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Traits */
.traits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.trait-card {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  transition: var(--transition);
}
.trait-card:hover {
  border-color: var(--purple);
}
.trait-type {
  font-size: 11px;
  color: var(--purple-light);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.trait-value {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.trait-rarity {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.trait-bar {
  width: 100%;
  height: 4px;
  background: var(--bg-card);
  border-radius: 2px;
  overflow: hidden;
}
.trait-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 1s ease;
}

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.data-table th {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}
.data-table td { color: var(--text-secondary); }
.data-table tr:hover td { background: rgba(139,92,246,0.05); }
.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}
.event-badge.sale { background: rgba(16,185,129,0.15); color: var(--green); }
.event-badge.list { background: rgba(139,92,246,0.15); color: var(--purple-light); }
.event-badge.transfer { background: rgba(59,130,246,0.15); color: var(--blue); }
.event-badge.bid { background: rgba(236,72,153,0.15); color: var(--pink); }
.event-badge.mint { background: rgba(245,158,11,0.15); color: var(--yellow); }
.address-link {
  color: var(--purple-light);
  font-family: 'Work Sans', monospace;
  font-size: 13px;
}

/* Price chart area */
.price-chart-wrap {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: 300px;
}
.price-chart-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

/* === COLLECTION PAGE === */
.collection-banner {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.collection-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collection-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, var(--bg-deep));
}
.collection-header {
  position: relative;
  margin-top: -60px;
  z-index: 2;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.collection-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-xl);
  border: 4px solid var(--bg-deep);
  overflow: hidden;
  margin-bottom: 16px;
}
.collection-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collection-name {
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.collection-name .verified {
  width: 24px;
  height: 24px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
}
.collection-creator {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.collection-creator a { color: var(--purple-light); font-weight: 600; }
.collection-stats-bar {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.collection-stat {
  text-align: center;
}
.collection-stat .val {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
}
.collection-stat .lbl {
  font-size: 13px;
  color: var(--text-dim);
}
.collection-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
  margin-top: 12px;
}

/* === CREATE PAGE === */
.create-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  padding: 40px 0;
  align-items: start;
}
.upload-zone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-input);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--purple);
  background: rgba(139,92,246,0.05);
  box-shadow: var(--neon-purple);
}
.upload-zone i {
  font-size: 48px;
  color: var(--purple-light);
  margin-bottom: 16px;
}
.upload-zone h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.upload-zone p {
  font-size: 13px;
  color: var(--text-dim);
}
.upload-zone .upload-preview {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.form-label .optional {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 12px;
}
.form-input {
  width: 100%;
  height: 44px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 14px;
  font-size: 14px;
  color: var(--text-primary);
  transition: var(--transition);
}
.form-input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
}
.form-textarea {
  width: 100%;
  min-height: 120px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-primary);
  resize: vertical;
  transition: var(--transition);
  font-family: 'Work Sans', sans-serif;
}
.form-textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
}
.form-select {
  width: 100%;
  height: 44px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 14px;
  font-size: 14px;
  color: var(--text-primary);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23A0A0C0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.form-select:focus { border-color: var(--purple); }

/* Royalty slider */
.royalty-slider {
  display: flex;
  align-items: center;
  gap: 16px;
}
.royalty-slider input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--bg-card);
  border-radius: 3px;
  outline: none;
}
.royalty-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--neon-purple);
}
.royalty-value {
  font-weight: 700;
  font-size: 16px;
  color: var(--purple-light);
  min-width: 40px;
  text-align: center;
}

/* Properties */
.properties-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.property-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.property-row input {
  flex: 1;
  height: 40px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  font-size: 13px;
  color: var(--text-primary);
}
.property-row input:focus { border-color: var(--purple); }
.property-remove {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius-sm);
  color: var(--red);
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;
}
.property-remove:hover { background: rgba(239,68,68,0.2); }
.add-property {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(139,92,246,0.1);
  border: 1px dashed var(--purple);
  border-radius: var(--radius-sm);
  color: var(--purple-light);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}
.add-property:hover { background: rgba(139,92,246,0.2); }

/* Blockchain selector */
.chain-selector {
  display: flex;
  gap: 12px;
}
.chain-radio {
  flex: 1;
  position: relative;
}
.chain-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.chain-radio label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: var(--bg-input);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.chain-radio input:checked + label {
  border-color: var(--purple);
  background: rgba(139,92,246,0.1);
  box-shadow: var(--neon-purple);
}
.chain-radio label .chain-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
.chain-radio label .chain-label {
  font-size: 13px;
  font-weight: 600;
}

/* Live preview card */
.preview-card-wrap {
  position: sticky;
  top: 100px;
}
.preview-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

/* === PROFILE PAGE === */
.profile-cover {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.profile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-cover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, var(--bg-deep));
}
.profile-header {
  position: relative;
  margin-top: -60px;
  z-index: 2;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--bg-deep);
  overflow: hidden;
  margin-bottom: 16px;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-name {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}
.profile-bio {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 12px;
  line-height: 1.6;
}
.profile-wallet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-family: 'Work Sans', monospace;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.profile-wallet button {
  background: none;
  border: none;
  color: var(--purple-light);
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}
.profile-wallet button:hover { color: var(--pink); }
.profile-stats {
  display: flex;
  gap: 24px;
}
.profile-stat {
  text-align: center;
}
.profile-stat .val {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
}
.profile-stat .lbl {
  font-size: 12px;
  color: var(--text-dim);
}

/* === RANKINGS PAGE === */
.rankings-header {
  padding: 40px 0 24px;
}
.rankings-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}
.rankings-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
}
.rankings-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.time-filters {
  display: flex;
  gap: 8px;
}
.time-filter-btn {
  padding: 8px 20px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}
.time-filter-btn:hover { color: var(--text-primary); border-color: var(--purple); }
.time-filter-btn.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
}
.chain-filters {
  display: flex;
  gap: 8px;
}
.chain-filter-btn {
  padding: 8px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.chain-filter-btn:hover { border-color: var(--purple); color: var(--text-primary); }
.chain-filter-btn.active { border-color: var(--purple); color: var(--purple-light); background: rgba(139,92,246,0.1); }

.rankings-table-wrap {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.rankings-table {
  width: 100%;
  border-collapse: collapse;
}
.rankings-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.rankings-table th:hover { color: var(--text-secondary); }
.rankings-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.rankings-table tr:last-child td { border-bottom: none; }
.rankings-table tr:hover td { background: rgba(139,92,246,0.05); }
.rank-num {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  width: 32px;
  display: inline-block;
  text-align: center;
}
.rank-gold { color: #FFD700 !important; }
.rank-silver { color: #C0C0C0 !important; }
.rank-bronze { color: #CD7F32 !important; }
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
}
.rank-badge.gold { background: rgba(255,215,0,0.15); color: #FFD700; }
.rank-badge.silver { background: rgba(192,192,192,0.15); color: #C0C0C0; }
.rank-badge.bronze { background: rgba(205,127,50,0.15); color: #CD7F32; }
.collection-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.collection-cell img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.collection-cell .cname {
  font-weight: 600;
  color: var(--text-primary);
}
.change-positive { color: var(--green) !important; }
.change-negative { color: var(--red) !important; }

/* === PAGE HEADER === */
.page-header {
  padding: 40px 0 0;
}
.page-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}
.page-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
}

/* === SCROLL ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* === SWIPER OVERRIDES === */
.swiper {
  padding-bottom: 48px !important;
}
.swiper-pagination-bullet {
  background: var(--text-dim) !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  background: var(--purple) !important;
  width: 24px !important;
  border-radius: 4px !important;
}
.swiper-button-next,
.swiper-button-prev {
  color: var(--purple-light) !important;
  background: var(--glass-bg) !important;
  backdrop-filter: blur(10px) !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1px solid var(--glass-border) !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px !important;
  font-weight: 700 !important;
}

/* === WALLET MODAL === */
.wallet-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.wallet-modal-overlay.open { display: flex; }
.wallet-modal {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 420px;
  width: 90%;
  position: relative;
}
.wallet-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-size: 18px;
}
.wallet-modal-close:hover { color: var(--text-primary); }
.wallet-modal h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.wallet-modal p {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.wallet-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wallet-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.wallet-option:hover {
  border-color: var(--purple);
  background: rgba(139,92,246,0.08);
}
.wallet-option i {
  font-size: 24px;
  color: var(--purple-light);
}
.wallet-option .popular {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  color: var(--pink);
  background: rgba(236,72,153,0.12);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* === DESCRIPTION === */
.detail-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .nft-grid { grid-template-columns: repeat(3, 1fr); }
  .top-sellers-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-featured { margin-top: 40px; }
  .hero-nft-card { width: 320px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-image-wrap { position: static; }
  .create-layout { grid-template-columns: 1fr; }
  .preview-card-wrap { position: static; }
  .explore-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; max-height: none; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nft-header { padding: 0 16px; height: 64px; }
  .nav-links, .nav-search { display: none; }
  .hamburger { display: flex; }
  .hero-content h1 { font-size: 36px; }
  .hero { min-height: auto; padding: 60px 0 40px; }
  .nft-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .nft-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .top-sellers-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
  .traits-grid { grid-template-columns: repeat(2, 1fr); }
  .auction-timer { flex-wrap: wrap; }
  .detail-price-actions { flex-direction: column; }
  .collection-banner { height: 180px; }
  .profile-cover { height: 160px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .rankings-table-wrap { overflow-x: auto; }
  .rankings-filters { flex-direction: column; align-items: flex-start; }
  .cta-buttons { flex-direction: column; }
  .detail-nft-name { font-size: 28px; }
  .stat-value { font-size: 28px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 480px) {
  .nft-grid { grid-template-columns: 1fr; }
  .nft-grid-3 { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 28px; }
  .hero-nft-card { width: 100%; }
  .stats-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
  .chain-selector { flex-direction: column; }
  .container { padding: 0 16px; }
  .container-wide { padding: 0 16px; }
  .top-sellers-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* === MISC === */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.verified-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: var(--blue);
  border-radius: 50%;
  font-size: 10px;
  color: #fff;
}
.eth-icon { color: var(--purple-light); }
.divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

/* Background grid pattern */
.bg-grid {
  background-image:
    linear-gradient(rgba(139,92,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Profile tabs content section padding */
.profile-content {
  padding: 40px 0 80px;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast.success { border-left: 3px solid var(--green); }
.toast.error { border-left: 3px solid var(--red); }
.toast i { font-size: 18px; }
.toast.success i { color: var(--green); }
.toast.error i { color: var(--red); }

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, var(--bg-input) 25%, var(--bg-elevated) 50%, var(--bg-input) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
