:root {
  --bg: #050507;
  --surface: #0c0d12;
  --surface-elevated: #12141c;
  --border: rgba(255, 255, 255, 0.085);
  --border-hover: rgba(255, 255, 255, 0.24);

  --red: #e61e3a;
  --red-bright: #ff2e4c;
  --red-soft: rgba(230, 30, 58, 0.13);
  --red-border: rgba(255, 46, 76, 0.45);

  --text: #f6f6f8;
  --text-dim: #9095a2;
  --text-muted: #585d6b;
  --white: #ffffff;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

.hidden {
  display: none !important;
}

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

.muted {
  color: var(--text-muted);
  font-weight: 400;
}

/* Luz cenital minimalista con matiz carmesí sutil */
.bg-aura {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 68% 42% at 50% -10%, rgba(230, 30, 58, 0.11), transparent 70%),
    linear-gradient(to right, rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.017) 1px, transparent 1px);
  background-size: 100% 100%, 72px 72px, 72px 72px;
}

.container {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 5, 7, 0.84);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 14px var(--red-bright);
}

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

.nav-item {
  font-size: 0.86rem;
  color: var(--text-dim);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-item:hover {
  color: var(--white);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Dropdowns Glassmorphic Personalizados */
.custom-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.dropdown-trigger:hover,
.custom-dropdown.open .dropdown-trigger {
  border-color: var(--red-border);
  background: rgba(230, 30, 58, 0.08);
}

.sort-trigger {
  font-family: var(--font-sans);
  font-size: 0.83rem;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  min-width: 196px;
  justify-content: space-between;
}

.dropdown-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 8px var(--red-bright);
}

.dropdown-chevron {
  color: var(--text-dim);
  transition: transform 0.22s var(--ease);
}

.custom-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--white);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 90;
  min-width: 165px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(12, 13, 19, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--red-border);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.78);
  display: grid;
  gap: 3px;
  animation: menuFadeIn 0.18s var(--ease);
}

.dropdown-menu-wide {
  min-width: 210px;
}

@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dropdown-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.81rem;
  color: var(--text-dim);
  text-align: left;
  transition: all 0.16s;
}

.dropdown-option small {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.dropdown-option:hover {
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
}

.dropdown-option.active {
  background: var(--red-soft);
  color: var(--white);
  font-weight: 500;
}

.dropdown-option.active small {
  color: #ff6b81;
}

.mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-toggle span {
  width: 16px;
  height: 1.6px;
  background: var(--text);
  transition: transform 0.22s var(--ease);
}

.mobile-toggle.open span:first-child {
  transform: translateY(3.3px) rotate(45deg);
}

.mobile-toggle.open span:last-child {
  transform: translateY(-3.3px) rotate(-45deg);
}

/* ================= BOTONES ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

.btn-full {
  width: 100%;
  padding: 14px 26px;
}

/* Botón principal con acento rojito elegante */
.btn-white {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 26px rgba(230, 30, 58, 0.28);
}

.btn-white:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 46, 76, 0.4);
}

.btn-white:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--red-border);
  background: rgba(230, 30, 58, 0.07);
}

.btn-red-outline {
  background: var(--red-soft);
  border: 1px solid var(--red-border);
  color: #ff6b81;
}

.btn-red-outline:hover {
  background: var(--red);
  color: var(--white);
}

.text-link {
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: color 0.2s;
  text-align: center;
}

.text-link:hover {
  color: var(--red-bright);
}

/* ================= HERO CON FOTOS FLOTANTES 3D ================= */
.hero {
  padding: 72px 0 84px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 52px;
  align-items: center;
}

.hero-split.hero-centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 680px;
}

.hero-split.hero-centered .hero-subtitle {
  margin-inline: auto;
}

.hero-split.hero-centered .hero-actions,
.hero-split.hero-centered .hero-roadmap {
  justify-content: center;
}

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 30px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-roadmap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.73rem;
}

.roadmap-active {
  color: var(--white);
}

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

.roadmap-sep {
  color: rgba(255, 255, 255, 0.14);
}

/* Escenario 3D de Fotos Flotantes */
.floating-showcase-wrap {
  position: relative;
  width: 100%;
}

.floating-stage {
  position: relative;
  height: 410px;
  perspective: 1300px;
  transform-style: preserve-3d;
  touch-action: pan-y;
}

.float-card {
  position: absolute;
  width: 72%;
  left: 14%;
  top: 26px;
  background: #0c0d13;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.84);
  transition:
    transform 0.78s var(--ease),
    opacity 0.65s var(--ease),
    border-color 0.3s,
    filter 0.5s;
}

.float-card[data-slot="0"] {
  z-index: 5;
  opacity: 1;
  filter: brightness(1);
  border-color: var(--red-border);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.85), 0 0 32px rgba(230, 30, 58, 0.16);
  transform:
    translate3d(var(--px, 0px), var(--py, 0px), 0)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));
  animation: levitateMain 5.4s ease-in-out infinite;
}

.float-card[data-slot="1"] {
  z-index: 3;
  opacity: 0.8;
  filter: brightness(0.82);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translate3d(82px, -30px, -65px) rotateZ(6deg) scale(0.88);
  animation: levitateSatA 6.4s ease-in-out infinite;
}

.float-card[data-slot="2"] {
  z-index: 2;
  opacity: 0.62;
  filter: brightness(0.72);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translate3d(-78px, 32px, -105px) rotateZ(-6deg) scale(0.84);
  animation: levitateSatB 7s ease-in-out infinite;
}

.float-card[data-slot="3"],
.float-card[data-slot="4"],
.float-card[data-slot="5"] {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, -240px) scale(0.78);
}

@keyframes levitateMain {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes levitateSatA {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 8px; }
}

@keyframes levitateSatB {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

.float-card-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #07080b;
}

.float-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowDrift 11s ease-in-out infinite alternate;
}

@keyframes slowDrift {
  from { transform: scale(1.02) translateX(-1%); }
  to { transform: scale(1.09) translateX(1.5%); }
}

.float-card-views {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(6, 7, 10, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 46, 76, 0.35);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text);
}

.float-card-bar {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #0c0d13;
  border-top: 1px solid var(--border);
}

.float-card-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.float-card-price {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #ff6b81;
  font-weight: 500;
  white-space: nowrap;
}

.floating-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}

.stage-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  color: var(--text-dim);
  transition: all 0.2s;
}

.stage-btn:hover {
  border-color: var(--red-bright);
  color: var(--white);
}

.stage-index {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ================= SECCIONES ================= */
.section {
  padding: 76px 0;
  border-top: 1px solid var(--border);
}

.section-header {
  margin-bottom: 34px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.section-hint {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.catalog-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ================= RANKING: CUENTAS MÁS VISTAS ================= */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trend-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  min-width: 0;
}

.trend-card:first-child {
  border-color: rgba(230, 30, 58, 0.34);
  background: linear-gradient(165deg, rgba(230, 30, 58, 0.07), var(--surface) 55%);
}

.trend-card:hover {
  border-color: var(--red-border);
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.58);
}

.trend-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
}

.trend-rank {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.trend-card:first-child .trend-rank {
  color: var(--red-bright);
}

.trend-views {
  color: var(--text-dim);
}

.trend-img-frame {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #07080b;
}

.trend-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.trend-card:hover .trend-img-frame img {
  transform: scale(1.07);
}

.trend-name {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trend-meter {
  width: 100%;
  height: 3px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
}

.trend-meter::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.07);
}

.trend-meter::-webkit-progress-value {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), var(--red-bright));
}

.trend-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.84rem;
}

.trend-price {
  font-family: var(--font-display);
  font-weight: 600;
}

.trend-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #ff6b81;
}

/* Barra de Filtros y Etiquetas Minimalistas */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s var(--ease);
}

.filter-pill:hover {
  color: var(--white);
  border-color: var(--border-hover);
}

.filter-pill.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(230, 30, 58, 0.25);
}

.card-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 7, 10, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--red-border);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff6b81;
}

.card-badge-tag.reserved {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.card-badge-tag.sold-tag {
  background: rgba(230, 30, 58, 0.9);
  border-color: var(--red-bright);
  color: var(--white);
  font-weight: 600;
}

.sold-overlay-stamp {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(5, 5, 8, 0.48);
  display: grid;
  place-items: center;
  pointer-events: none;
}

.sold-overlay-stamp span {
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(12, 13, 18, 0.9);
  border: 1px solid var(--red-bright);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.acc-tag {
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: var(--text-dim);
}

/* ================= CATÁLOGO CON TARJETAS FLOTANTES 3D ================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: 24px;
  perspective: 1200px;
}

.holo-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.16s ease-out, border-color 0.28s, box-shadow 0.3s;
  animation: subtleFloat 5.8s ease-in-out infinite;
}

.holo-card:nth-child(2n) {
  animation-delay: -2.4s;
}

.holo-card:nth-child(3n) {
  animation-delay: -4.1s;
}

@keyframes subtleFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

.holo-card:hover {
  animation-play-state: paused;
  border-color: var(--red-border);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.65), 0 0 26px rgba(230, 30, 58, 0.13);
}

.holo-card.sold {
  opacity: 0.78;
}

.float-card-img-wrap video,
.trend-img-frame video,
.modal-thumb-btn video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-main-stage {
  width: 100%;
}

.modal-main-stage video.modal-main-img {
  background: #000;
}

.card-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.25s;
  background: radial-gradient(
    340px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 60, 88, 0.13),
    rgba(255, 255, 255, 0.06) 35%,
    transparent 68%
  );
}

.holo-card:hover .card-glare {
  opacity: 1;
}

.card-gallery {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #07080b;
  overflow: hidden;
  cursor: pointer;
}

.card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 0.48s var(--ease), transform 3.4s ease-out;
}

.card-photo.active {
  opacity: 1;
}

.holo-card:hover .card-photo.active {
  transform: scale(1.08);
}

.card-views-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(5, 6, 8, 0.76);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text);
}

.card-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 5px;
}

.card-dot {
  width: 14px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: all 0.2s;
}

.card-dot.active {
  width: 22px;
  background: var(--red-bright);
}

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}

.card-title:hover {
  color: #ff6b81;
}

.card-details {
  font-size: 0.84rem;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-bottom {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.card-price {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
}

.card-btns {
  display: flex;
  gap: 8px;
}

/* ================= PRÓXIMAMENTE OPCIONAL ================= */
.soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
}

.soon-box {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.soon-box h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 6px 0 8px;
}

.soon-box p {
  font-size: 0.86rem;
  color: var(--text-dim);
}

/* ================= VENDER MI CUENTA ================= */
.sell-panel {
  max-width: 680px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.sell-header {
  margin-bottom: 28px;
}

.sell-desc {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-top: 8px;
}

.sell-form {
  display: grid;
  gap: 18px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Selectores Desplegables Glassmorphic en Formularios */
.custom-dropdown.open {
  z-index: 70;
}

.form-dropdown {
  width: 100%;
}

.form-dropdown-trigger {
  width: 100%;
  padding: 11px 15px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.87rem;
  justify-content: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.028);
}

.form-dropdown-trigger .form-dropdown-text {
  flex: 1;
  text-align: left;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-dropdown.has-value .form-dropdown-text {
  color: var(--text);
  font-weight: 500;
}

.dropdown-dot.idle-dot {
  background: rgba(255, 255, 255, 0.22);
  box-shadow: none;
  transition: all 0.2s;
}

.form-dropdown.has-value .dropdown-dot.idle-dot {
  background: var(--red-bright);
  box-shadow: 0 0 10px var(--red-bright);
}

.form-dropdown.missing-choice .form-dropdown-trigger {
  border-color: var(--red-bright);
  box-shadow: 0 0 0 1px rgba(255, 46, 76, 0.3);
  background: rgba(230, 30, 58, 0.05);
}

.form-dropdown-menu {
  left: 0;
  right: 0;
  min-width: 100%;
}

.req-dot {
  color: var(--red-bright);
  font-style: normal;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.input {
  width: 100%;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.input:focus {
  border-color: var(--red-border);
}

.input-compact {
  width: auto;
  min-width: 190px;
  padding: 9px 13px;
  font-size: 0.83rem;
}

.input option {
  background: #0c0d12;
}

.textarea {
  min-height: 92px;
  resize: vertical;
}

.dropzone {
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.015);
  cursor: pointer;
  transition: all 0.2s;
  display: grid;
  gap: 4px;
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--red-bright);
  background: rgba(230, 30, 58, 0.05);
}

.dropzone-title {
  font-size: 0.88rem;
  font-weight: 500;
}

.dropzone-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.media-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.preview-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #07080a;
}

.preview-tile img,
.preview-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-badge {
  position: absolute;
  bottom: 5px;
  left: 5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.78);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
}

.preview-remove {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.82);
  color: var(--white);
  font-size: 0.72rem;
  display: grid;
  place-items: center;
}

.upload-progress-wrap {
  display: grid;
  gap: 8px;
}

.progress-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.cyber-progress {
  width: 100%;
  height: 5px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.cyber-progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.08);
}

.cyber-progress::-webkit-progress-value {
  background: var(--red-bright);
  transition: width 0.2s;
}

.sell-actions {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-top: 4px;
}

/* ================= FOOTER ================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-admin-link {
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-admin-link:hover {
  color: var(--red-bright);
}

/* ================= MODAL ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(4, 4, 6, 0.86);
  backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal-box {
  position: relative;
  width: min(840px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(12, 13, 18, 0.88);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.modal-close:hover {
  border-color: var(--red-bright);
  color: var(--red-bright);
}

.modal-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.modal-main-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.modal-thumb-strip {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.modal-thumb-btn {
  width: 64px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  opacity: 0.55;
  flex-shrink: 0;
}

.modal-thumb-btn.active {
  opacity: 1;
  border-color: var(--red-bright);
}

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

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 28px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.38rem;
  line-height: 1.22;
}

.modal-price {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: #ff6b81;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  white-space: pre-line;
}

/* ================= TOAST ================= */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  max-width: calc(100vw - 32px);
  text-align: center;
  background: #14151d;
  border: 1px solid var(--red-border);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
}

/* ================= RESPONSIVE TABLET & CELULAR ================= */
@media (max-width: 1020px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-roadmap {
    justify-content: center;
  }

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

  .floating-stage {
    max-width: 500px;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 32px);
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: rgba(12, 13, 18, 0.98);
    border: 1px solid var(--border-hover);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.75);
  }

  .nav.open {
    display: flex;
  }

  .nav-item {
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 0.92rem;
  }

  .nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .section {
    padding: 56px 0;
  }

  .section-header-row {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-controls {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .sort-dropdown,
  .sort-trigger {
    width: 100%;
  }

  .dropdown-menu-wide {
    left: 0;
    right: 0;
  }

  .input-compact {
    width: 100%;
    min-width: 0;
  }

  .modal-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .modal-box {
    padding: 20px 18px;
  }

  .modal-info {
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 28px);
  }

  .header-inner {
    height: 62px;
    gap: 8px;
  }

  .logo {
    font-size: 0.86rem;
    gap: 7px;
  }

  .currency-trigger {
    padding: 6px 10px;
    font-size: 0.71rem;
    gap: 5px;
  }

  .header-cta .btn-sm {
    padding: 7px 12px;
    font-size: 0.76rem;
  }

  .hero {
    padding: 36px 0 48px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    margin-bottom: 22px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    margin-bottom: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-roadmap {
    font-size: 0.67rem;
    gap: 7px;
  }

  /* Calibración exacta de las fotos flotantes 3D en pantalla de celular */
  .floating-stage {
    height: 295px;
    max-width: 100%;
  }

  .float-card {
    width: 82%;
    left: 9%;
    top: 16px;
  }

  .float-card-img-wrap {
    height: 175px;
  }

  .float-card-bar {
    padding: 12px 14px;
  }

  .float-card-title {
    font-size: 0.86rem;
  }

  .float-card-price {
    font-size: 0.8rem;
  }

  .float-card[data-slot="1"] {
    transform: translate3d(24px, -14px, -55px) rotateZ(4deg) scale(0.91);
  }

  .float-card[data-slot="2"] {
    transform: translate3d(-24px, 18px, -90px) rotateZ(-4deg) scale(0.87);
  }

  .trending-grid,
  .cards-grid,
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .holo-card {
    animation: none;
  }

  .card-content {
    padding: 16px;
  }

  .sell-panel {
    padding: 22px 16px;
  }

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