:root {
  --bg: #0a0a0a;
  --panel: rgba(255, 255, 255, 0.02);
  --panel-strong: rgba(8, 12, 18, 0.9);
  --border: rgba(255, 255, 255, 0.08);
  --accent: #00d4ff;
  --text: #ffffff;
  --muted: #9aa4b2;
  --muted-2: #6e7885;
  --hero-gradient: linear-gradient(90deg, #a7a38f 0%, #24cfb5 26%, #2fc0ff 52%, #5d7dff 72%, #8b37ff 100%);
  --shadow-lg: 0 28px 90px rgba(0, 0, 0, 0.42);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.24);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --max-width: 1200px;
  --font-main: "Inter", sans-serif;
}

@font-face {
  font-family: "Basique";
  src: url("../fonts/Basique.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-main);
  color: #ffffff;
  position: relative;
  background: #020409;
  overflow-x: hidden;
  isolation: isolate;
}

body::before {
  content: none;
}

body::after {
  content: none;
}

#cursor-light {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.25), transparent 60%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  z-index: -1;
}

a,
button,
input {
  font: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 70px;
  background: rgba(5, 7, 11, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  width: min(calc(100% - 48px), var(--max-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  text-decoration: none;
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.22);
}

.nav-brand-mark {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.35);
}

.nav-brand-mark::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid currentColor;
  border-radius: 999px;
  opacity: 0.55;
}

.nav-brand-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-item {
  position: relative;
}

.nav-link,
.nav-link-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link-button:hover,
.nav-item:hover > .nav-link-button,
.nav-item.open > .nav-link-button {
  color: #ffffff;
}

.nav-caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 180ms ease;
}

.nav-item.open .nav-caret {
  transform: rotate(225deg) translateY(-1px);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 190px;
  padding: 10px;
  display: grid;
  gap: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 12, 18, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.5);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.market-page .wrapper,
.tag-page .page {
  position: relative;
  z-index: 1;
}

.market-page .wrapper {
  width: 100%;
  margin: 0 0 80px;
}

.logo-tag,
.designer-tag,
.filter-label,
.result-info,
.section-count,
.hiw-label,
.hiw-faq-link,
.trust-value,
footer,
.tag-length,
.rarity-badge,
.info-label,
.rule-pill,
.tier-name,
.current-marker,
.back-btn,
#copy-toast,
#contact-fab,
.loader-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.logo-tag,
.designer-tag,
.filter-label,
.result-info,
.section-count,
.hiw-label,
.info-label,
.trust-value,
.tag-length,
.tier-name,
.back-btn {
  font-size: 12px;
  color: var(--muted);
}

.logo-tag,
.hiw-label,
.rarity-badge,
.current-marker {
  color: var(--accent);
}

.market-page header {
  position: relative;
  padding: 170px 24px 150px;
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px;
  overflow: visible;
  background:
    radial-gradient(1200px 800px at 20% 30%, rgba(0, 150, 255, 0.12), transparent 60%),
    radial-gradient(900px 700px at 80% 20%, rgba(120, 0, 255, 0.12), transparent 60%),
    radial-gradient(1000px 800px at 50% 90%, rgba(255, 120, 0, 0.10), transparent 60%),
    #020409;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 280px;
  background: linear-gradient(
    to bottom,
    rgba(2, 4, 9, 0) 0%,
    rgba(2, 4, 9, 0.35) 30%,
    rgba(2, 4, 9, 0.75) 60%,
    #020409 100%
  );
  pointer-events: none;
}

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

.hero-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  overflow: visible;
}

.logo-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.08);
}

.hero-badge {
  margin-bottom: 32px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #22d3ee;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.market-page h1:not(.hero-title),
.tag-title,
.big-text,
.not-found .big {
  margin: 0;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 0.92;
}

.market-page h1:not(.hero-title) {
  max-width: 9ch;
  margin: 28px auto 18px;
  font-size: clamp(4.5rem, 9vw, 72px);
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-badge {
  margin-bottom: 30px;
}

.hero-title {
  font-family: "Basique", sans-serif;
  font-weight: 900;
  font-size: clamp(70px, 8vw, 140px);
  line-height: 1.25;
  padding-bottom: 0.08em;
  letter-spacing: -0.03em;
  white-space: nowrap;
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 20px;
  background: linear-gradient(
    90deg,
    #7C5CFF 0%,
    #5B8CFF 20%,
    #32C5FF 40%,
    #00D1C7 60%,
    #FFD23C 80%,
    #FF8A00 100%
  );
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}





.subtitle,
.hiw-desc,
.hiw-step-text,
.faq-answer,
.trust-label,
footer,
.info-card-desc,
.tier-rule,
.not-found,
.no-results {
  color: var(--muted);
}

.subtitle {
  max-width: 34ch;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
}

.hero-description {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.6;
  max-width: 900px;
  margin: 30px auto 0;
  text-align: center;
}

.designer-tag {
  margin-top: 20px;
  color: var(--muted-2);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  margin-bottom: 20px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 34px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.hero-cta-primary {
  background: linear-gradient(135deg, #10d7ee, #19c7f4 35%, #33a6ff 100%);
  color: #031018;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.32), 0 14px 34px rgba(0, 0, 0, 0.2);
}

.primary-btn {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  padding: 18px 36px;
  border-radius: 16px;
  font-weight: 600;
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.35);
}

.hero-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(0, 212, 255, 0.52);
}

#listing-start {
  scroll-margin-top: 98px;
}

.designer-tag span {
  color: #ffffff;
}

.stats-bar,
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.stats-bar {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 56px;
}

.stat,
.stat-card,
.trust-item,
.hiw-inner,
.faq-item,
.tag-card,
.info-card,
.tier-row,
.controls {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
}

.stat,
.stat-card,
.trust-item {
  border-radius: var(--radius-md);
}

.stat::before,
.hiw-inner::before,
.faq-item::before,
.tag-card::before,
.info-card::before,
.tier-row::before,
.trust-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.38), transparent);
}

.stat,
.stat-card {
  padding: 20px;
  text-align: center;
}

.stat-num,
.stat-val {
  display: block;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
}

.stat-label,
.stat-lbl {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.controls {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 120px auto 0;
  padding: 40px;
  border-radius: var(--radius-md);
}

.search-wrap {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 18px;
  pointer-events: none;
}

#searchInput {
  width: 100%;
  height: 54px;
  padding: 0 18px 0 48px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

#searchInput::placeholder {
  color: var(--muted-2);
}

#searchInput:focus {
  border-color: rgba(0, 212, 255, 0.42);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08), 0 0 26px rgba(0, 212, 255, 0.08);
}

.filter-label {
  display: none;
}

.letter-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 16px auto 0;
}

.letter-btn,
.clear-btn,
.copy-btn,
.back-btn,
#scroll-top,
#contact-fab {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.letter-btn,
.clear-btn,
.back-btn,
#scroll-top {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.letter-btn {
  min-width: 40px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.clear-btn {
  height: 54px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.35);
}

.letter-btn:hover,
.letter-btn.active,
.clear-btn:hover,
.copy-btn:hover,
.back-btn:hover,
#scroll-top:hover,
#contact-fab:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.42);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.letter-btn.active,
.clear-btn:hover {
  background: rgba(0, 212, 255, 0.08);
  color: #ffffff;
}

.result-info {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px auto 0;
}

.secret-hint {
  margin: 12px auto 0;
  text-align: center;
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.result-count {
  color: var(--accent);
  font-weight: 700;
}

.market-switcher-section,
.how-it-works,
.tag-category,
.faq-section,
.trust-block {
  width: 100%;
  padding: 120px 24px;
}

.market-switcher-intro {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto 28px;
  text-align: center;
}

.market-switcher-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.market-switcher-title {
  margin: 18px 0 10px;
  font-size: clamp(2.6rem, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.market-switcher-desc {
  max-width: 52ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.market-category-grid {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.market-category-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 24px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.market-category-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
}

.market-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.24);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.market-category-name {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.market-category-copy {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 34px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(135deg, #10d7ee, #19c7f4 35%, #33a6ff 100%);
  color: #031018;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.32), 0 14px 34px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(0, 212, 255, 0.52);
}

.tag-category {
  position: relative;
}

.tag-category-primary {
  padding-top: 80px;
}

.tag-category-head {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto 34px;
  text-align: center;
}

.tag-category-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tag-category-title {
  margin: 22px 0 10px;
  font-size: clamp(2.5rem, 4vw, 40px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.tag-category-subtitle {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tag-category-desc {
  max-width: 54ch;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.grid-container {
  width: min(var(--max-width), calc(100% - 48px));
  display: grid;
  gap: 26px;
  margin: 30px auto 0;
}

.inventory-grid {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tag-secret {
  color: inherit;
  text-decoration: none;
}

.tag-secret:hover {
  color: var(--accent);
}

.hiw-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  padding: 28px;
  border-radius: var(--radius-md);
}

.hiw-title,
.faq-heading h2 {
  margin: 14px 0 12px;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hiw-desc,
.hiw-step-text,
.faq-answer p,
.faq-answer ul,
.info-card-desc,
footer,
.not-found p,
.no-results p {
  font-size: 16px;
  line-height: 1.75;
}

.hiw-faq-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #ffffff;
  text-decoration: none;
}

.hiw-faq-link:hover,
footer span {
  color: var(--accent);
}

.hiw-steps {
  display: grid;
  gap: 12px;
}

.hiw-step {
  display: flex;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.015);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.hiw-step:hover,
.trust-item:hover,
.faq-item:hover,
.stat:hover,
.stat-card:hover,
.tag-item:hover {
  transform: translateY(-4px);
}

.hiw-step:hover {
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.hiw-step-num {
  width: 44px;
  flex: 0 0 auto;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  color: var(--accent);
}

.hiw-step-title {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}

.hiw-connector {
  display: none;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.section-count {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.05);
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tag-item {
  position: relative;
  padding: 20px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  text-align: center;
  color: #f8fbff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  animation: card-in 320ms ease both;
}

.tag-item:hover,
.tag-item.copied {
  border-color: rgba(0, 212, 255, 0.38);
}

.tag-item mark {
  color: var(--accent);
  background: transparent;
}

.category-feature {
  position: relative;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto 24px;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.category-feature::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
}

.category-feature-title {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.category-feature-subtitle {
  margin-top: 10px;
  color: var(--card-accent);
  font-size: 16px;
  font-weight: 600;
}

.category-feature-text {
  max-width: 70ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.price-note {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto 18px;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
  letter-spacing: 0.04em;
}

.inventory-item {
  position: relative;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  animation: card-in 320ms ease both;
}

.inventory-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.34);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.inventory-name {
  color: #f8fbff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.inventory-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.inventory-price,
.inventory-category {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inventory-price {
  color: #ffffff;
  font-weight: 700;
}

.inventory-category {
  color: var(--muted);
}

.accent-cyan {
  --card-accent: #11dcff;
}

.accent-blue {
  --card-accent: #4f7cff;
}

.accent-purple {
  --card-accent: #8a5cff;
}

.accent-amber {
  --card-accent: #ff9e1b;
}

.private-inventory-page {
  min-height: 100vh;
}

.private-inventory-section {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 140px 0 120px;
  text-align: center;
}

.private-inventory-card {
  position: relative;
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
}

.private-inventory-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ff9e1b, transparent);
}

.private-inventory-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(255, 158, 27, 0.22);
  border-radius: 999px;
  background: rgba(255, 158, 27, 0.08);
  color: #ffbe5c;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.private-inventory-title {
  margin: 20px 0 14px;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.private-inventory-text {
  max-width: 34ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.private-inventory-actions {
  margin-top: 32px;
}

.private-summary-grid {
  width: min(720px, 100%);
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.private-summary-card {
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  text-align: left;
}

.private-summary-label {
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.private-summary-value {
  margin-top: 10px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.accent-pink {
  --card-accent: #ff4d7e;
}

.accent-red {
  --card-accent: #ff5454;
}

.faq-heading {
  width: min(var(--max-width), 100%);
  margin: 0 auto 16px;
  text-align: center;
}

.faq-grid,
.trust-inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: var(--radius-lg);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.faq-icon {
  flex: 0 0 auto;
  font-size: 22px;
  color: var(--accent);
  transition: transform 220ms ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease;
}

.faq-answer p,
.faq-answer ul {
  margin: 0;
  padding: 0 24px 22px;
}

.faq-answer ul {
  padding-left: 42px;
}

.faq-item.open .faq-answer {
  max-height: 420px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.trust-icon {
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent);
  font-size: 22px;
}

.trust-text {
  display: grid;
  gap: 6px;
}

footer {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 38px auto 0;
  text-align: center;
}

footer span {
  color: #ffffff;
}

#copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 40;
  padding: 14px 22px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 12, 18, 0.94);
  color: #ffffff;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  transition: opacity 180ms ease, transform 180ms ease;
}

#copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#contact-fab {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 212, 255, 0.22);
  background: var(--panel-strong);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

#contact-fab svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

#scroll-top {
  position: fixed;
  right: 28px;
  bottom: 88px;
  z-index: 30;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  backdrop-filter: blur(16px);
}

#scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#alpha-slider {
  display: none;
  position: fixed;
  right: 10px;
  top: 50%;
  z-index: 30;
  transform: translateY(-50%);
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  flex-direction: column;
  gap: 4px;
}

.alpha-char {
  width: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.alpha-char.active {
  color: var(--accent);
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at center, rgba(0, 212, 255, 0.08), transparent 28%),
    #040507;
  transition: opacity 280ms ease, visibility 280ms ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-title {
  font-size: clamp(3rem, 8vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.loader-bar-wrap {
  width: min(320px, 70vw);
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.loader-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0), rgba(0, 212, 255, 0.9), rgba(255, 255, 255, 0.7));
  transform-origin: left;
  animation: loader-progress 1s ease forwards;
}

.tag-page .page {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 32px auto 80px;
  display: grid;
  gap: 18px;
  padding-top: 28px;
}

.discount-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 120px 0 80px;
}

.discount-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.discount-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.discount-title {
  margin: 0 0 18px;
  font-size: clamp(2.8rem, 7vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  background: linear-gradient(90deg, #00d4ff, #4f7cff, #8a5cff, #00e1ff, #00d4ff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
}

.discount-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.discount-code {
  margin: 22px 0;
  font-size: 42px;
  font-weight: 800;
  color: #00d4ff;
  letter-spacing: 0.08em;
  text-shadow:
    0 0 20px rgba(0, 212, 255, 0.5),
    0 0 40px rgba(0, 212, 255, 0.25);
}

.discount-back {
  margin-top: 10px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.back-btn::before {
  content: "\2190";
  font-size: 16px;
}

.tag-card,
.info-card,
.tier-row,
.not-found {
  border-radius: var(--radius-lg);
}

.tag-card {
  padding: 34px;
  text-align: center;
}

.rarity-badge,
.rule-pill,
.current-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--rarity-color, var(--accent));
  background: var(--rarity-glow, rgba(0, 212, 255, 0.12));
  color: var(--rarity-color, var(--accent));
}

.tag-title {
  margin-top: 18px;
  font-size: clamp(4.5rem, 13vw, 72px);
  color: var(--rarity-color, var(--accent));
  text-shadow: 0 0 40px var(--rarity-glow, rgba(0, 212, 255, 0.18));
}

.tag-length {
  margin-top: 12px;
}

.copy-btn {
  margin-top: 24px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--rarity-color, var(--accent));
  background: var(--accent);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.35);
  color: #041018;
  cursor: pointer;
}

.copy-btn.done,
.copy-btn:hover {
  background: var(--accent);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.info-section,
.tiers-section {
  display: grid;
  gap: 12px;
}

.info-card {
  padding: 26px;
}

.info-card-title {
  margin-bottom: 10px;
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  color: var(--rarity-color, var(--accent));
}

.rules-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tiers-grid {
  display: grid;
  gap: 12px;
}

.tier-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}

.tier-row.current {
  border-color: var(--rarity-color, var(--accent));
}

.tier-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tier-rule {
  font-size: 14px;
}

.not-found,
.no-results {
  padding: 42px 24px;
  text-align: center;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.big-text,
.not-found .big {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(4rem, 10vw, 72px);
  color: rgba(255, 255, 255, 0.16);
}

@keyframes loader-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 1100px) {
  .market-category-grid {
    grid-template-columns: 1fr;
  }

  .inventory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tag-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hiw-inner,
  .trust-inner {
    grid-template-columns: 1fr;
  }

  .controls {
    grid-template-columns: 1fr;
  }

  .clear-btn {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .nav-inner {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    left: 0;
    display: none;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 10, 15, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nav-menu.open {
    display: grid;
  }

  .nav-link,
  .nav-link-button,
  .nav-cta {
    width: 100%;
    justify-content: space-between;
  }

  .nav-item {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    margin-top: 8px;
    padding: 8px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
  }

  .nav-item:hover .nav-dropdown,
  .nav-item:focus-within .nav-dropdown {
    transform: none;
  }

  .nav-item.open .nav-dropdown {
    display: grid;
  }

  .market-page header {
    min-height: 78vh;
    padding: 138px 20px 110px;
  }

  .hero {
    padding: 120px 20px 100px;
  }

  .market-switcher-section,
  .tag-category {
    padding: 100px 20px;
  }

  .stats-bar,
  .stats-row,
  .trust-inner {
    grid-template-columns: 1fr;
  }

  .hiw-inner,
  .tag-card,
  .info-card,
  .trust-item,
  .faq-question,
  .controls {
    padding: 22px;
  }

  .tag-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tier-row {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .tier-rule,
  .current-marker {
    grid-column: 2;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 120px 20px 100px;
  }
}

@media (max-width: 900px) {
  .hero-title {
    white-space: normal;
    text-align: center;
    width: auto;
  }
}

@media (max-width: 640px) {
  .market-page h1,
  .tag-title {
    font-size: clamp(3.4rem, 16vw, 72px);
  }

  .subtitle,
  .hiw-desc,
  .hiw-step-text,
  .faq-answer p,
  .faq-answer ul,
  .info-card-desc,
  footer {
    font-size: 15px;
  }

  .letter-filters {
    display: none;
  }

  #alpha-slider {
    display: flex;
  }

  .tag-grid {
    grid-template-columns: 1fr;
  }

  .tag-category-head,
  .market-switcher-intro,
  .market-category-grid,
  .category-feature,
  .price-note,
  .inventory-grid,
  .private-inventory-section {
    width: calc(100% - 24px);
  }

  .inventory-grid {
    grid-template-columns: 1fr;
  }

  .private-summary-grid {
    grid-template-columns: 1fr;
  }

  .tag-category-title {
    font-size: 34px;
  }

  .controls,
  .grid-container,
  .tag-page .page,
  footer {
    width: calc(100% - 24px);
  }

  #contact-fab {
    right: 16px;
    bottom: 18px;
  }

  #scroll-top {
    right: 18px;
    bottom: 82px;
  }
}

/* ── Tag page: action buttons ── */
.tag-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

#orderNowBtn {
  min-width: 200px;
  cursor: pointer;
  border: none;
}
