/* ==========================================================================
   Скинопедия CS2 - Многостраничный справочник скинов
   Static HTML/CSS/JS - Dark Theme with Purple & Gold Accents
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Background Colors */
  --bg-primary: #0f0a1e;
  --bg-secondary: #1e1b4b;
  --bg-card: #1a1333;
  --bg-overlay: rgba(15, 10, 30, 0.9);
  
  /* Accent Colors */
  --purple-deep: #6b21a8;
  --purple-light: #a855f7;
  --purple-muted: #a78bfa;
  --gold: #fbbf24;
  --gold-dark: #f59e0b;
  --cyan: #00d4ff;
  
  /* Rarity Colors */
  --rarity-consumer: #9ca3af;
  --rarity-industrial: #60a5fa;
  --rarity-milspec: #3b82f6;
  --rarity-restricted: #a855f7;
  --rarity-classified: #ec4899;
  --rarity-covert: #ef4444;
  --rarity-gold: #fbbf24;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #a78bfa;
  --text-muted: #7c3aed;
  
  /* Border Colors */
  --border-purple: rgba(168, 85, 247, 0.2);
  --border-gold: rgba(251, 191, 36, 0.3);
  
  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Spacing */
  --container-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

code {
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color var(--transition-base), backdrop-filter var(--transition-base);
}

.header--scrolled {
  background-color: rgba(15, 10, 30, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-purple);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo__icon {
  width: 48px;
  height: 48px;
}

.logo__svg {
  width: 100%;
  height: 100%;
}

.logo__diamond {
  color: var(--cyan);
  font-size: 0.75rem;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.logo__text span {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav__link:hover {
  background-color: rgba(107, 33, 168, 0.3);
  color: var(--text-primary);
}

.nav__link--active {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-light));
  color: var(--text-primary);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav__dropdown-toggle:hover {
  background-color: rgba(107, 33, 168, 0.3);
  color: var(--text-primary);
}

.nav__dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav__dropdown:hover .nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 0.5rem 0;
  background: rgba(26, 19, 51, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(5px);
}

.nav__dropdown-link {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.nav__dropdown-link:hover {
  background-color: rgba(107, 33, 168, 0.3);
  color: var(--text-primary);
  padding-left: 1.25rem;
}

/* Header Actions */
.actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Search */
.search {
  position: relative;
  width: 256px;
}

.search__icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
}

.search__input {
  width: 100%;
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  background-color: rgba(30, 27, 75, 0.6);
  border: 1px solid rgba(107, 33, 168, 0.3);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.8125rem;
  transition: all var(--transition-base);
}

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

.search__input:focus {
  outline: none;
  border-color: var(--purple-light);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

/* Action Buttons */
.actions__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.actions__btn:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

.actions__count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background-color: #ef4444;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Toggle */
.header__toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.header__toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   Mobile Navigation
   -------------------------------------------------------------------------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 10, 30, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-nav--open {
  display: block;
}

.mobile-nav__link {
  display: block;
  padding: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-purple);
  transition: all var(--transition-fast);
}

.mobile-nav__link:hover {
  color: var(--text-primary);
  background-color: rgba(107, 33, 168, 0.2);
}

.mobile-nav__link--active {
  color: var(--purple-light);
}

.mobile-nav__title {
  padding: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero--small {
  min-height: 50vh;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  mix-blend-mode: lighten;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 10, 30, 0.9) 0%,
    rgba(15, 10, 30, 0.7) 50%,
    rgba(15, 10, 30, 1) 100%
  );
}

.hero__container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 1.25rem;
}

.hero__content {
  max-width: 600px;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(30, 27, 75, 0.8);
  border: 1px solid rgba(107, 33, 168, 0.5);
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  margin-bottom: 1.5rem;
}

.badge__dot {
  width: 8px;
  height: 8px;
  background-color: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

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

.badge__text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Hero Title */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero__title--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
}

/* CTA Buttons */
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta__primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
  transition: all var(--transition-base);
}

.cta__primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(251, 191, 36, 0.5);
}

.cta__secondary {
  padding: 1rem 2rem;
  border: 2px solid var(--purple-deep);
  background-color: rgba(26, 19, 51, 0.5);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(4px);
  transition: all var(--transition-base);
}

.cta__secondary:hover {
  background-color: rgba(107, 33, 168, 0.2);
}

/* Trust Elements */
.trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-purple);
}

.trust__item {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.trust__divider {
  color: var(--purple-deep);
}

/* Featured Card */
.featured {
  background: rgba(26, 19, 51, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  max-width: 400px;
  margin-left: auto;
  box-shadow: 0 0 40px -10px rgba(168, 85, 247, 0.3);
  animation: float 6s ease-in-out infinite;
}

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

.featured__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.featured__rarity {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.featured__rarity--covert {
  background-color: rgba(239, 68, 68, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(239, 68, 68, 0.5);
}

.featured__rarity--gold {
  background-color: rgba(251, 191, 36, 0.2);
  color: var(--gold);
  border: 1px solid rgba(251, 191, 36, 0.5);
}

.featured__heart {
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.featured__heart:hover {
  color: #ef4444;
  transform: scale(1.2);
}

.featured__heart--active {
  color: #ef4444;
}

.featured__heart--active svg {
  fill: currentColor;
}

.featured__image {
  width: 100%;
  height: 220px;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.2);
}

.featured__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.8));
}

.featured__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.featured__wear {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.featured__price {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.featured__float {
  margin-bottom: 1.25rem;
}

.featured__actions {
  display: flex;
  gap: 0.75rem;
}

.featured__link {
  flex: 1;
  padding: 0.625rem;
  text-align: center;
  background-color: rgba(107, 33, 168, 0.2);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  border: 1px solid transparent;
  transition: all var(--transition-base);
}

.featured__link:hover {
  background-color: rgba(107, 33, 168, 0.4);
  color: var(--text-primary);
}

/* Float Bar */
.float-bar__track {
  width: 100%;
  height: 6px;
  background-color: var(--bg-secondary);
  border-radius: 3px;
  overflow: hidden;
}

.float-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #eab308, #f97316, #ef4444);
  border-radius: 3px;
}

.float-bar--mini .float-bar__track {
  height: 4px;
}

/* --------------------------------------------------------------------------
   Page Header (for inner pages)
   -------------------------------------------------------------------------- */
.page-header {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 3rem;
  background: linear-gradient(135deg, #1e1b4b, #0f0a1e);
  border-bottom: 1px solid var(--border-purple);
}

.page-header__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.page-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.page-header__breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.page-header__breadcrumb a:hover {
  color: var(--purple-light);
}

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-header__desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Sections Base
   -------------------------------------------------------------------------- */
.section {
  padding: 5rem 0;
}

.section--rarity {
  background: linear-gradient(135deg, #1e1b4b, #0f0a1e);
  border-bottom: 1px solid var(--border-purple);
}

.section--popular {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-purple);
}

.section--float {
  background: linear-gradient(135deg, #2d2447, #1e1b4b);
  border-bottom: 1px solid var(--border-purple);
}

.section--pattern {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-purple);
}

.section--tracker {
  background: linear-gradient(135deg, #6b21a8, #1e1b4b);
}

.section--dark {
  background-color: var(--bg-primary);
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.section__line--left {
  margin-left: 0;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
}

.section__title--left {
  text-align: left;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Rarity Section
   -------------------------------------------------------------------------- */
.rarity {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 1.25rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.rarity::-webkit-scrollbar {
  display: none;
}

.rarity__card {
  flex: 0 0 200px;
  background: rgba(26, 19, 51, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  scroll-snap-align: start;
  transition: all var(--transition-base);
}

.rarity__card:hover {
  background: rgba(26, 19, 51, 0.9);
  border-color: var(--purple-light);
  transform: translateY(-4px);
}

.rarity__bar {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.rarity__name {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.rarity__count {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.rarity__percent {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Catalog Section
   -------------------------------------------------------------------------- */
.catalog__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.catalog__title-wrap {
  min-width: 300px;
}

.catalog__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filters__btn {
  padding: 0.5rem 1rem;
  background-color: rgba(30, 27, 75, 0.6);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition-base);
}

.filters__btn:hover,
.filters__btn--active {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-light));
  border-color: var(--purple-light);
  color: var(--text-primary);
}

/* Sort */
.sort {
  position: relative;
}

.sort__select {
  appearance: none;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  background-color: rgba(30, 27, 75, 0.6);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.sort__select:hover,
.sort__select:focus {
  outline: none;
  border-color: var(--purple-light);
}

.sort__icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
}

/* Skins Grid */
.skins {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Skin Card */
.skin-card {
  background: rgba(26, 19, 51, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.skin-card:hover {
  border-color: var(--purple-light);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
  transform: translateY(-4px);
}

.skin-card__image {
  position: relative;
  height: 200px;
  background-color: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.skin-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.skin-card:hover .skin-card__image img {
  transform: scale(1.05);
}

.skin-card__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(107, 33, 168, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition-base);
}

.skin-card:hover .skin-card__overlay {
  background-color: rgba(107, 33, 168, 0.3);
  opacity: 1;
}

.skin-card__btn {
  padding: 0.5rem 1rem;
  background-color: var(--purple-light);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.skin-card__content {
  padding: 1rem;
  position: relative;
  border-left: 4px solid transparent;
}

.skin-card__name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.skin-card__type {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.skin-card__price {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.skin-card__float {
  margin-bottom: 0.75rem;
}

.skin-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skin-card__cases {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.skin-card__cases--legendary {
  color: var(--gold);
}

.skin-card__heart {
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.skin-card__heart:hover {
  color: #ef4444;
}

.skin-card__heart--active {
  color: #ef4444;
}

.skin-card__heart--active svg {
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   Content Cards (for inner pages)
   -------------------------------------------------------------------------- */
.content-card {
  background: rgba(26, 19, 51, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.content-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.content-card__icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.content-card__text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-card__text:last-child {
  margin-bottom: 0;
}

.content-card__list {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.content-card__list li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  position: relative;
}

.content-card__list li::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background-color: var(--gold);
  border-radius: 50%;
}

/* Info Box */
.info-box {
  background: rgba(107, 33, 168, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-left: 4px solid var(--purple-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.info-box__title {
  font-weight: 600;
  color: var(--purple-light);
  margin-bottom: 0.5rem;
}

.info-box__text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Warning Box */
.warning-box {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.warning-box__title {
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.warning-box__text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Two Column Layout
   -------------------------------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.two-col--left-wide {
  grid-template-columns: 2fr 1fr;
}

/* --------------------------------------------------------------------------
   Float Explainer Section
   -------------------------------------------------------------------------- */
.float-explainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.float-explainer__subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.float-explainer__text {
  margin-bottom: 1.5rem;
}

.float-explainer__text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.float-explainer__list {
  margin-top: 1.5rem;
}

.float-explainer__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.float-explainer__bullet {
  width: 8px;
  height: 8px;
  background-color: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.float-explainer__code {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.float-explainer__name {
  color: var(--text-primary);
}

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

/* Float Slider */
.float-slider {
  background: rgba(26, 19, 51, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.float-slider__gradient {
  width: 100%;
  height: 20px;
  background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 15%, #eab308 38%, #f97316 45%, #ef4444 100%);
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.float-slider__labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.float-slider__label strong {
  color: var(--text-primary);
}

.float-slider__wrap {
  padding: 1rem 0;
}

.float-slider__input {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: transparent;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.float-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  border: 2px solid var(--bg-secondary);
}

.float-slider__input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  border: 2px solid var(--bg-secondary);
}

.float-slider__display {
  text-align: center;
  margin-top: 1rem;
}

.float-slider__value {
  font-family: var(--font-mono);
  font-size: 1.125rem;
}

.float-slider__number {
  font-size: 1.375rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.float-slider__wear {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Pattern Section
   -------------------------------------------------------------------------- */
.patterns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.pattern-card {
  background: rgba(26, 19, 51, 0.6);
  backdrop-filter: blur(10px);
  border: 2px solid var(--border-purple);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.pattern-card:hover {
  border-color: var(--purple-light);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
}

.pattern-card__image {
  height: 200px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.2);
}

.pattern-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.pattern-card:hover .pattern-card__image img {
  transform: scale(1.05);
}

.pattern-card__content {
  padding: 1.25rem;
}

.pattern-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pattern-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.pattern-card__value {
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.pattern-card__details {
  padding-top: 1rem;
  border-top: 1px solid var(--border-purple);
}

.pattern-card__info {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.pattern-card__info strong {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Price Tracker Section
   -------------------------------------------------------------------------- */
.tracker {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(26, 19, 51, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.tracker__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.tracker__search {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tracker__input {
  flex: 1;
  padding: 0.75rem 1rem;
  background-color: rgba(30, 27, 75, 0.6);
  border: 1px solid rgba(107, 33, 168, 0.3);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all var(--transition-base);
}

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

.tracker__input:focus {
  outline: none;
  border-color: var(--purple-light);
}

.tracker__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--gold);
  color: var(--bg-primary);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.tracker__btn:hover {
  background-color: var(--gold-dark);
}

.tracker__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tracker__label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.tracker__tag {
  padding: 0.5rem 0.75rem;
  background-color: rgba(107, 33, 168, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.75rem;
  transition: all var(--transition-base);
}

.tracker__tag:hover {
  background-color: rgba(168, 85, 247, 0.3);
  color: var(--text-primary);
}

.tracker__chart {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.tracker__bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 100px;
  margin-bottom: 0.75rem;
}

.tracker__bar {
  flex: 1;
  background: linear-gradient(180deg, var(--purple-light), var(--purple-deep));
  border-radius: 4px 4px 0 0;
  transition: all var(--transition-base);
}

.tracker__bar:hover {
  background: linear-gradient(180deg, #c084fc, #7c3aed);
}

.tracker__updated {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.tracker__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1.25rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
  transition: all var(--transition-base);
}

.tracker__cta:hover {
  box-shadow: 0 0 40px rgba(251, 191, 36, 0.5);
}

/* --------------------------------------------------------------------------
   StatTrak Badge
   -------------------------------------------------------------------------- */
.stattrak-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 0.25rem;
  letter-spacing: 0.05em;
}

.stattrak-badge svg {
  width: 12px;
  height: 12px;
}

/* --------------------------------------------------------------------------
   Table
   -------------------------------------------------------------------------- */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.table th,
.table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-purple);
}

.table th {
  font-weight: 600;
  color: var(--text-secondary);
  background-color: rgba(107, 33, 168, 0.1);
}

.table tr:hover td {
  background-color: rgba(107, 33, 168, 0.1);
}

.table__name {
  font-weight: 600;
  color: var(--text-primary);
}

.table__price {
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Features Grid
   -------------------------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature {
  background: rgba(26, 19, 51, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition-base);
}

.feature:hover {
  border-color: var(--purple-light);
  transform: translateY(-4px);
}

.feature__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--gold);
}

.feature__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Quick Links
   -------------------------------------------------------------------------- */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(26, 19, 51, 0.6);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 500;
  transition: all var(--transition-base);
}

.quick-link:hover {
  background: rgba(107, 33, 168, 0.3);
  border-color: var(--purple-light);
  transform: translateX(4px);
}

.quick-link__icon {
  width: 24px;
  height: 24px;
  color: var(--purple-light);
}

.quick-link__arrow {
  margin-left: auto;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.quick-link:hover .quick-link__arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: #0a0614;
  border-top: 1px solid var(--border-purple);
  padding: 5rem 0 2.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.footer__socials {
  display: flex;
  gap: 1rem;
}

.footer__social {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer__social:hover {
  color: var(--purple-light);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer__link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  transition: all var(--transition-fast);
}

.footer__link:hover {
  color: var(--purple-light);
  padding-left: 0.5rem;
}

.footer__bottom {
  border-top: 1px solid var(--border-purple);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  gap: 1.25rem;
}

.footer__legal .footer__link {
  padding: 0;
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.5);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .featured {
    margin: 0 auto;
  }

  .float-explainer,
  .two-col,
  .two-col--left-wide {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nav {
    display: none;
  }

  .search {
    display: none;
  }

  .header__toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: 2.25rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .cta {
    flex-direction: column;
  }

  .cta__primary,
  .cta__secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .trust__divider {
    display: none;
  }

  .catalog__header {
    flex-direction: column;
  }

  .catalog__controls {
    width: 100%;
  }

  .filters {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
  }

  .skins {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

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

  .footer__legal {
    justify-content: center;
  }

  .table th,
  .table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .logo__text {
    font-size: 1.125rem;
  }

  .logo__diamond {
    display: none;
  }

  .featured {
    padding: 1rem;
  }

  .tracker {
    padding: 1.5rem;
  }

  .tracker__search {
    flex-direction: column;
  }

  .tracker__btn {
    width: 100%;
    justify-content: center;
  }

  .content-card {
    padding: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.text-gold {
  color: var(--gold);
}

.text-purple {
  color: var(--purple-light);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
