/* ====================================
   COLLECTUM · Stylesheet
   Estética: editorial-museístico
   ==================================== */

:root {
  /* Paleta */
  --cream: #FAF7F2;
  --cream-deep: #F1EBDF;
  --paper: #FFFFFF;
  --ink: #1F2937;
  --ink-soft: #4A5568;
  --ink-mute: #6B7280;
  --ink-faint: #9CA3AF;
  --gold: #C8932B;
  --gold-soft: #E8B33D;
  --navy: #2D5F8A;
  --navy-deep: #1F4768;
  --green: #3D7A5C;
  --terracotta: #C97A3D;
  --rust: #C9302C;
  --peach: #E8C4A0;
  --rose: #D9A89C;
  --mustard: #D9A93D;
  --orange: #D9783D;
  --purple: #6D4D8A;

  --line: rgba(31, 41, 55, 0.12);
  --line-strong: rgba(31, 41, 55, 0.25);

  /* Tipografía */
  --serif: "Fraunces", "Times New Roman", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Espaciado */
  --container: 1240px;
  --gutter: 32px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Textura sutil de grano */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.6 0 0 0 0 0.55 0 0 0 0 0.45 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

.container--narrow {
  max-width: 820px;
}

/* ============ NAVEGACIÓN ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.nav__brand-mark {
  display: flex;
  align-items: center;
}

.nav__brand-text {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.nav__links {
  display: flex;
  gap: 36px;
}

.nav__links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  position: relative;
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav__links a:hover::after {
  width: 100%;
}

@media (max-width: 720px) {
  .nav__links {
    display: none;
  }
}

/* ============ HERO ============ */

.hero {
  position: relative;
  padding: 80px var(--gutter) 100px;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  z-index: 2;
  min-height: 80vh;
}

.hero__decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.float {
  position: absolute;
  font-family: var(--serif);
  font-size: 80px;
  color: var(--gold);
  opacity: 0.08;
  animation: float 8s ease-in-out infinite;
}

.float--1 { top: 10%; left: 8%; animation-delay: 0s; }
.float--2 { top: 65%; left: 42%; font-size: 120px; animation-delay: 1.5s; opacity: 0.05; }
.float--3 { top: 20%; right: 15%; font-size: 60px; animation-delay: 3s; }
.float--4 { top: 75%; right: 8%; animation-delay: 4.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero__content {
  position: relative;
  z-index: 3;
}

.hero__eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -3px;
  color: var(--ink);
  margin-bottom: 32px;
  font-variation-settings: "opsz" 144;
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.hero__subtitle {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 44px;
  font-weight: 300;
}

.hero__ctas {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============ BOTONES ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0;
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--primary span,
.btn--primary {
  position: relative;
}

.btn--primary:hover::before {
  transform: translateX(0);
}

.btn--primary:hover {
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 16px 4px;
}

.btn--ghost:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
  transform: translateX(4px);
}

.btn--soon {
  background: var(--cream-deep);
  color: var(--ink-mute);
  cursor: not-allowed;
  border: 1px solid var(--line);
  position: relative;
  padding-left: 40px;
}

.btn--soon::before {
  content: "●";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-soft);
  font-size: 10px;
  animation: pulse 2s ease-in-out infinite;
}

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

/* ============ HERO SHOWCASE ============ */

.hero__showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  z-index: 3;
  width: 100%;
}

.showcase-card {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(31, 41, 55, 0.25),
              0 10px 20px -8px rgba(31, 41, 55, 0.15);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: cardEnter 1s cubic-bezier(0.4, 0, 0.2, 1) backwards;
  overflow: hidden;
}

.showcase-card:nth-child(1) { animation-delay: 0.1s; }
.showcase-card:nth-child(2) { animation-delay: 0.25s; transform: translateY(40px); }
.showcase-card:nth-child(3) { animation-delay: 0.4s; transform: translateY(20px); }
.showcase-card:nth-child(4) { animation-delay: 0.55s; transform: translateY(-20px); }

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

.showcase-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
}

.showcase-card--vinyl { background: var(--ink); }
.showcase-card--funko { background: var(--peach); }
.showcase-card--card { background: var(--green); }
.showcase-card--coin { background: var(--navy); }

.showcase-card:nth-child(2) { transform: translateY(40px); }
.showcase-card:nth-child(3) { transform: translateY(20px); }
.showcase-card:nth-child(4) { transform: translateY(-20px); }

/* Vinilo showcase */
.vinyl {
  width: 65%;
  aspect-ratio: 1;
  position: relative;
  border-radius: 50%;
  background: radial-gradient(circle, #0A0F1A 0%, #1a1f28 60%, #0A0F1A 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.vinyl::before, .vinyl::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
  inset: 8%;
}

.vinyl::after { inset: 18%; }

.vinyl__disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    transparent 0,
    transparent 2px,
    rgba(255,255,255,0.025) 2px,
    rgba(255,255,255,0.025) 3px
  );
  animation: spin 16s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl__label {
  position: absolute;
  inset: 36%;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.2);
}

.vinyl__hole {
  position: absolute;
  inset: 47%;
  border-radius: 50%;
  background: #0A0F1A;
}

/* Funko showcase */
.funko {
  width: 60%;
  aspect-ratio: 3/4;
  background: var(--cream);
  border: 2px solid var(--ink-soft);
  border-radius: 4px;
  position: relative;
  padding: 14% 10%;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.funko__box {
  position: absolute;
  inset: 8%;
  background: var(--navy);
  border-radius: 2px;
}

.funko__head {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  aspect-ratio: 1;
  background: #F5DCC0;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.funko__eye {
  position: absolute;
  top: 30%;
  width: 5%;
  aspect-ratio: 1;
  background: var(--ink);
  border-radius: 50%;
}

.funko__eye--l { left: 38%; }
.funko__eye--r { right: 38%; }

.funko__body {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 30%;
  background: var(--rust);
  border-radius: 4px 4px 8px 8px;
}

/* Cromo deportivo showcase */
.card-sport {
  width: 60%;
  aspect-ratio: 3/4;
  background: var(--cream);
  border-radius: 4px;
  padding: 8%;
  position: relative;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card-sport__sky {
  position: absolute;
  top: 8%;
  left: 8%;
  right: 8%;
  height: 50%;
  background: linear-gradient(to bottom, #5A8FB8, #87B5D6);
}

.card-sport__field {
  position: absolute;
  top: 50%;
  left: 8%;
  right: 8%;
  height: 25%;
  background: linear-gradient(to bottom, #4A8A5C, #3D7A5C);
}

.card-sport__player {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 40%;
  background: var(--rust);
  border-radius: 50% 50% 30% 30%;
}

.card-sport__player::before {
  content: "";
  position: absolute;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  aspect-ratio: 1;
  background: #F5DCC0;
  border-radius: 50%;
}

.card-sport__name {
  position: absolute;
  bottom: 8%;
  left: 8%;
  right: 8%;
  height: 14%;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink);
}

/* Moneda showcase */
.coin {
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #F5D469 0%, #E8B33D 50%, #B8862A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 80px;
  font-weight: 500;
  color: #6B4F1A;
  position: relative;
  box-shadow: inset -4px -4px 12px rgba(107, 79, 26, 0.3),
              inset 4px 4px 12px rgba(255, 255, 255, 0.4),
              0 8px 24px rgba(184, 134, 42, 0.3);
}

.coin::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 2px dashed rgba(107, 79, 26, 0.3);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: auto;
  }
  .hero__eyebrow { justify-content: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__showcase {
    max-width: 100%;
    margin: 0 auto;
    gap: 16px;
    padding: 0 8px;
  }
  /* Reset escalonamiento en mobile - alineación limpia */
  .showcase-card,
  .showcase-card:nth-child(2),
  .showcase-card:nth-child(3),
  .showcase-card:nth-child(4) {
    transform: none;
  }
}

@media (max-width: 540px) {
  .hero__showcase {
    gap: 12px;
  }
}

/* ============ SECCIONES GENERALES ============ */

section {
  position: relative;
  z-index: 2;
}

.section-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 28px;
  font-variation-settings: "opsz" 144;
}

.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.section-lead {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 700px;
  margin-bottom: 60px;
  font-weight: 300;
}

/* ============ FILOSOFÍA ============ */

.philosophy {
  padding: 120px 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 40px;
}

.pillar {
  padding: 56px 40px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.3s;
}

.pillar:last-child { border-right: none; }
.pillar:hover { background: var(--cream-deep); }

.pillar__number {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 24px;
}

.pillar h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  color: var(--ink);
}

.pillar p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (max-width: 800px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); padding: 40px 24px; }
  .pillar:last-child { border-bottom: none; }
  .philosophy { padding: 80px 0; }
}

/* ============ COLECCIONES ============ */

.collections {
  padding: 120px 0;
  background: var(--cream-deep);
  position: relative;
}

.collections::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-strong), transparent);
}

/* TABS */

.tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 48px 0 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(31, 41, 55, 0.04);
}

.tab {
  background: transparent;
  border: none;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--ink-mute);
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  line-height: 1.25;
  position: relative;
}

.tab:nth-child(6n) { border-right: none; }
.tab:nth-last-child(-n+6) { border-bottom: none; }

.tab__icon {
  font-size: 22px;
  color: var(--ink-faint);
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.tab:hover {
  color: var(--ink);
  background: var(--cream);
}

.tab:hover .tab__icon {
  color: var(--gold);
  transform: scale(1.1);
}

.tab.is-active {
  color: var(--ink);
  background: var(--cream);
}

.tab.is-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.tab.is-active .tab__icon {
  color: var(--gold);
}

@media (max-width: 900px) {
  .tabs {
    grid-template-columns: repeat(4, 1fr);
  }
  .tab:nth-child(6n) { border-right: 1px solid var(--line); }
  .tab:nth-last-child(-n+6) { border-bottom: 1px solid var(--line); }
  .tab:nth-child(4n) { border-right: none; }
  .tab:nth-last-child(-n+4) { border-bottom: none; }
}

@media (max-width: 540px) {
  .tabs { grid-template-columns: repeat(3, 1fr); }
  .tab { padding: 16px 8px; font-size: 11px; }
  .tab:nth-child(4n) { border-right: 1px solid var(--line); }
  .tab:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .tab:nth-child(3n) { border-right: none; }
  .tab:nth-last-child(-n+3) { border-bottom: none; }
  .tab__icon { font-size: 18px; width: 28px; height: 28px; }
}

/* PANELS */

.panels {
  position: relative;
  margin-top: 48px;
}

.panel {
  display: none;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  background: var(--paper);
  padding: 64px;
  border: 1px solid var(--line);
  border-radius: 4px;
  align-items: center;
  animation: panelIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel.is-active { display: grid; }

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

.panel__visual {
  position: relative;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(31, 41, 55, 0.3),
              0 10px 30px -10px rgba(31, 41, 55, 0.15);
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.5;
  pointer-events: none;
}

.visual-card--green { background: linear-gradient(135deg, #4A8A5C 0%, #285740 100%); }
.visual-card--yellow { background: linear-gradient(135deg, #E8B33D 0%, #C8932B 100%); }
.visual-card--dark { background: linear-gradient(135deg, #2A3340 0%, #0A0F1A 100%); }
.visual-card--peach { background: linear-gradient(135deg, #F0CDA8 0%, #C99868 100%); }
.visual-card--cream { background: linear-gradient(135deg, #F5E8D4 0%, #D9B98A 100%); }
.visual-card--rose { background: linear-gradient(135deg, #E5BCB0 0%, #B88578 100%); }
.visual-card--terracotta { background: linear-gradient(135deg, #D9925A 0%, #A0552A 100%); }
.visual-card--blue { background: linear-gradient(135deg, #3D78AA 0%, #1F4768 100%); }
.visual-card--mustard { background: linear-gradient(135deg, #E8C353 0%, #B89028 100%); }
.visual-card--orange { background: linear-gradient(135deg, #E89358 0%, #B05A28 100%); }
.visual-card--red { background: linear-gradient(135deg, #DC4B47 0%, #911F1A 100%); }
.visual-card--purple { background: linear-gradient(135deg, #8567A8 0%, #4D3868 100%); }

.badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 2;
}

.badge--light {
  background: rgba(255, 255, 255, 0.95);
}

/* Visual elements within cards */

/* Mini card (cromos) */
.mini-card {
  width: 60%;
  aspect-ratio: 3/4;
  background: var(--cream);
  border-radius: 6px;
  padding: 8%;
  position: relative;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  transform: rotate(-3deg);
  transition: transform 0.4s;
}

.mini-card:hover { transform: rotate(0deg) scale(1.05); }

.mini-card__sky {
  position: absolute;
  top: 8%;
  left: 8%;
  right: 8%;
  height: 50%;
  background: linear-gradient(to bottom, #5A8FB8, #87B5D6);
}

.mini-card__field {
  position: absolute;
  top: 50%;
  left: 8%;
  right: 8%;
  height: 25%;
  background: linear-gradient(to bottom, #4A8A5C, #3D7A5C);
}

.mini-card__player {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 40%;
  background: var(--rust);
  border-radius: 50% 50% 30% 30%;
}

.mini-card__player::before {
  content: "";
  position: absolute;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  aspect-ratio: 1;
  background: #F5DCC0;
  border-radius: 50%;
}

.mini-card__strip {
  position: absolute;
  bottom: 8%;
  left: 8%;
  right: 8%;
  height: 12%;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--ink);
}

/* Pokémon card */
.poke-card {
  width: 58%;
  aspect-ratio: 5/7;
  background: var(--cream);
  border-radius: 6px;
  padding: 6%;
  position: relative;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  transform: rotate(2deg);
}

.poke-card__top {
  height: 12%;
  background: linear-gradient(90deg, #FFD93D, #F4B400);
  border-radius: 3px;
  margin-bottom: 4%;
}

.poke-card__art {
  height: 60%;
  background: radial-gradient(circle at 30% 30%, #FFE066, #F4B400 50%, #B8862A 100%);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.poke-card__art::before {
  content: "⚡";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 64px;
  color: rgba(255,255,255,0.8);
  text-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.poke-card__bottom {
  margin-top: 4%;
  height: 18%;
  background: var(--cream-deep);
  border-radius: 3px;
}

/* Big vinyl */
.big-vinyl {
  width: 75%;
  aspect-ratio: 1;
  position: relative;
  border-radius: 50%;
  background: radial-gradient(circle, #1a1f28 0%, #0A0F1A 60%);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4),
              inset 0 0 0 1px rgba(255,255,255,0.05);
  animation: spin 30s linear infinite;
}

.big-vinyl__disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    transparent 0,
    transparent 3px,
    rgba(255,255,255,0.04) 3px,
    rgba(255,255,255,0.04) 4px
  );
}

.big-vinyl__label {
  position: absolute;
  inset: 36%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #E84540, #C9302C);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.2);
}

.big-vinyl__label::after {
  content: "";
  position: absolute;
  inset: 42%;
  background: #0A0F1A;
  border-radius: 50%;
}

/* Big funko */
.big-funko {
  width: 60%;
  aspect-ratio: 3/4;
  background: var(--cream);
  border: 2px solid var(--ink-soft);
  border-radius: 6px;
  position: relative;
  padding: 12%;
  box-shadow: 0 16px 32px rgba(0,0,0,0.25);
}

.big-funko__box {
  position: absolute;
  inset: 8%;
  background: linear-gradient(135deg, #3D7A8A, #2D5F8A);
  border-radius: 3px;
}

.big-funko__head {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 30%, #FFE5C4, #F5DCC0);
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.big-funko__eyes {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20%;
  width: 30%;
}

.big-funko__eyes span {
  flex: 1;
  aspect-ratio: 1;
  background: var(--ink);
  border-radius: 50%;
}

.big-funko__body {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 32%;
  background: linear-gradient(180deg, #DC4B47, #C9302C);
  border-radius: 6px 6px 12px 12px;
}

/* Magazine */
.magazine {
  width: 65%;
  aspect-ratio: 3/4;
  background: var(--cream);
  position: relative;
  box-shadow: 0 16px 32px rgba(0,0,0,0.25),
              -8px 0 16px rgba(0,0,0,0.1);
  transform: rotate(-2deg);
}

.magazine__cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #C97A3D 0%, #9B5A28 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8%;
}

.magazine__title {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -1px;
  line-height: 1;
}

.magazine__num {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--cream-deep);
  letter-spacing: 2px;
  align-self: flex-end;
}

/* Bookmarks */
.bookmarks {
  display: flex;
  gap: 10px;
  align-items: center;
  height: 70%;
}

.bookmark {
  width: 14%;
  height: 100%;
  border-radius: 2px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.bookmark--1 {
  background: linear-gradient(180deg, #E5BCB0, #C99080);
  transform: rotate(-4deg);
}
.bookmark--1::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  border-style: solid;
  border-width: 12px 0 0 0;
  border-color: #C99080 transparent transparent transparent;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  height: 12px;
  background: #C99080;
}

.bookmark--2 {
  background: linear-gradient(180deg, var(--cream), var(--cream-deep));
  transform: rotate(0deg) translateY(-10px);
  width: 18%;
}

.bookmark--3 {
  background: linear-gradient(180deg, #6B4F3D, #4A3528);
  transform: rotate(4deg);
}

/* Stamp */
.stamp {
  width: 60%;
  aspect-ratio: 4/5;
  background: var(--cream);
  position: relative;
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
  --p: 6px;
  -webkit-mask:
    radial-gradient(var(--p) at var(--p) var(--p), #0000 98%, #000) -10px -10px;
  mask:
    radial-gradient(var(--p) at var(--p) var(--p), #0000 98%, #000) -10px -10px;
  -webkit-mask-size: 20px 20px;
  mask-size: 20px 20px;
  transform: rotate(-3deg);
}

.stamp__inner {
  position: absolute;
  inset: 14px;
  border: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
}

.stamp__art {
  flex: 1;
  width: 80%;
  background: linear-gradient(180deg, #87B5D6 0%, #87B5D6 60%, #4A8A5C 60%, #3D7A5C 100%);
  border-radius: 2px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}

.stamp__art::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  aspect-ratio: 1;
  background: var(--gold-soft);
  border-radius: 50%;
}

.stamp__value {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 1px;
}

/* Big coin */
.big-coin {
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FFE066 0%, #E8B33D 50%, #B8862A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 110px;
  font-weight: 500;
  color: #6B4F1A;
  position: relative;
  box-shadow: inset -6px -6px 16px rgba(107, 79, 26, 0.3),
              inset 6px 6px 16px rgba(255, 255, 255, 0.4),
              0 16px 40px rgba(0,0,0,0.3);
  animation: coinFloat 4s ease-in-out infinite;
}

.big-coin::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 2px dashed rgba(107, 79, 26, 0.4);
}

@keyframes coinFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

/* Calendar */
.calendar {
  width: 65%;
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  transform: rotate(-2deg);
}

.calendar__top {
  background: var(--ink);
  color: var(--cream);
  padding: 14px;
  text-align: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 2px;
}

.calendar__grid {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar__grid span {
  aspect-ratio: 1;
  background: var(--cream-deep);
  border-radius: 2px;
}

.calendar__grid span.hl {
  background: var(--gold-soft);
}

/* Action figure */
.figure {
  width: 60%;
  aspect-ratio: 1;
  position: relative;
}

.figure__head {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 30%, #F5DCC0, #C99080);
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.figure__body {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 35%;
  background: linear-gradient(135deg, #4A8A5C, #285740);
  border-radius: 8px;
}

.figure__arm {
  position: absolute;
  top: 35%;
  width: 12%;
  height: 28%;
  background: #F5DCC0;
  border-radius: 4px;
}

.figure__arm--l { left: 20%; transform: rotate(-15deg); }
.figure__arm--r { right: 20%; transform: rotate(15deg); }

.figure__leg {
  position: absolute;
  top: 65%;
  width: 14%;
  height: 30%;
  background: var(--ink);
  border-radius: 4px;
}

.figure__leg--l { left: 35%; }
.figure__leg--r { right: 35%; }

/* Comic */
.comic {
  width: 60%;
  aspect-ratio: 3/4;
  background: var(--cream);
  border-radius: 2px;
  padding: 6%;
  position: relative;
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
  transform: rotate(-2deg);
}

.comic__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6%;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4%;
}

.comic__logo {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 800;
  color: var(--rust);
  letter-spacing: -1px;
}

.comic__num {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink);
  font-weight: 700;
}

.comic__art {
  flex: 1;
  height: 78%;
  background: linear-gradient(135deg, #FFD93D 0%, #F4B400 50%, #DC4B47 100%);
  position: relative;
  overflow: hidden;
}

.comic__hero {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 70%;
  background: linear-gradient(180deg, #2D5F8A 0%, #1F4768 100%);
  clip-path: polygon(50% 0%, 80% 30%, 100% 100%, 0% 100%, 20% 30%);
}

/* Cartridge (videojuegos) */
.cartridge {
  width: 65%;
  aspect-ratio: 4/5;
  background: linear-gradient(180deg, #4D3868 0%, #2A1D3D 100%);
  border-radius: 8px 8px 4px 4px;
  position: relative;
  padding: 12%;
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
}

.cartridge::before {
  content: "";
  position: absolute;
  top: 4%;
  left: 25%;
  right: 25%;
  height: 12%;
  background: var(--ink);
  border-radius: 2px;
}

.cartridge__label {
  position: absolute;
  top: 22%;
  left: 8%;
  right: 8%;
  height: 50%;
  background: linear-gradient(135deg, #FFD93D 0%, #DC4B47 100%);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cartridge__label::before {
  content: "▶";
  color: var(--cream);
  font-size: 36px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cartridge__pins {
  position: absolute;
  bottom: 8%;
  left: 15%;
  right: 15%;
  height: 8%;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0,
    var(--ink) 4px,
    transparent 4px,
    transparent 7px
  );
}

/* PANEL BODY */

.panel__body {
  padding: 0 8px;
}

.panel__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.panel__title {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 8px;
  font-variation-settings: "opsz" 144;
}

.panel__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 400;
}

.panel__desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.features {
  list-style: none;
  margin-bottom: 36px;
  border-top: 1px solid var(--line);
}

.features li {
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  position: relative;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 12px;
  color: var(--gold);
  font-weight: 700;
}

.panel__buy {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
}

.price {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -1px;
}

@media (max-width: 900px) {
  .panel {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 32px;
  }
  .panel__visual {
    aspect-ratio: 16/12;
  }
  .collections {
    padding: 80px 0;
  }
}

@media (max-width: 540px) {
  .panel { padding: 24px; }
  .panel__buy { flex-direction: column; align-items: flex-start; gap: 16px; }
  .panel__buy .btn--soon { width: 100%; }
}

/* ============ COMPRA ============ */

.buy {
  padding: 120px 0;
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.buy::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(232, 179, 61, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.buy .section-title {
  color: var(--cream);
}

.buy .section-lead {
  color: rgba(250, 247, 242, 0.7);
}

.buy .section-eyebrow {
  color: var(--gold-soft);
}

.buy .section-eyebrow::before {
  background: var(--gold-soft);
}

.buy-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid rgba(250, 247, 242, 0.15);
}

.buy-point {
  padding: 48px 32px;
  border-right: 1px solid rgba(250, 247, 242, 0.15);
}

.buy-point:last-child { border-right: none; }

.buy-point__icon {
  display: inline-block;
  font-family: var(--serif);
  font-size: 56px;
  color: var(--gold-soft);
  margin-bottom: 24px;
  line-height: 1;
}

.buy-point h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
  color: var(--cream);
}

.buy-point p {
  font-size: 15px;
  color: rgba(250, 247, 242, 0.65);
  line-height: 1.6;
}

@media (max-width: 800px) {
  .buy { padding: 80px 0; }
  .buy-points { grid-template-columns: 1fr; }
  .buy-point { border-right: none; border-bottom: 1px solid rgba(250, 247, 242, 0.15); padding: 36px 24px; }
  .buy-point:last-child { border-bottom: none; }
}

/* ============ FAQ ============ */

.faq {
  padding: 120px 0;
  background: var(--cream);
}

.faq-list {
  margin-top: 48px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 0;
  transition: all 0.3s;
}

.faq-list details[open] {
  background: var(--cream-deep);
  margin: 0 -32px;
  padding: 0 32px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.5px;
  padding: 28px 60px 28px 0;
  position: relative;
  color: var(--ink);
  transition: color 0.2s;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s;
  line-height: 1;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list summary:hover {
  color: var(--gold);
}

.faq-list details p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  padding-bottom: 28px;
  padding-right: 60px;
  max-width: 700px;
}

@media (max-width: 600px) {
  .faq { padding: 80px 0; }
  .faq-list summary { font-size: 18px; padding: 22px 50px 22px 0; }
  .faq-list details[open] { margin: 0 -16px; padding: 0 16px; }
}

/* ============ FOOTER ============ */

.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 40px;
  position: relative;
  z-index: 2;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(250, 247, 242, 0.15);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--cream);
}

.footer__brand p {
  font-size: 14px;
  color: rgba(250, 247, 242, 0.6);
  line-height: 1.65;
}

.footer__col h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 20px;
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__col a {
  color: rgba(250, 247, 242, 0.7);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 0;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--gold-soft);
}

.footer__bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(250, 247, 242, 0.5);
  font-family: var(--sans);
}

.footer__tag {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-soft);
}

@media (max-width: 800px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ============ ACCESIBILIDAD / MOTION ============ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

button:focus-visible,
.tab:focus-visible {
  outline-offset: -2px;
}
