:root {
  --ocean: #062832;
  --ocean-2: #041A22;
  --ocean-3: #032029;
  --turq: #16D6C4;
  --turq-soft: rgba(22, 214, 196, 0.14);
  --coral: #FF6B4A;
  --gold: #F4C95D;
  --text: #eaf6f5;
  --muted: #86aeb1;
  --ink: #0d3a46;
  --line: rgba(255, 255, 255, 0.07);
  --panel: rgba(7, 34, 43, 0.72);
  --panel-2: rgba(6, 40, 50, 0.82);
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-display: 'Baloo 2', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(1100px 620px at 82% -12%, rgba(22, 214, 196, 0.14), transparent 58%),
    radial-gradient(900px 700px at -5% 8%, rgba(58, 140, 220, 0.16), transparent 55%),
    linear-gradient(180deg, #0d7fa3 0%, #0a5f85 42%, #074263 78%, #062d40 100%);
  position: relative;
}

body.theme-halloween {
  --ocean: #120913;
  --ocean-2: #08040c;
  --ocean-3: #1b0d18;
  --turq: #ff8a1f;
  --turq-soft: rgba(255, 138, 31, 0.14);
  --coral: #ff6a2a;
  --gold: #ffd166;
  --text: #fff3e8;
  --muted: #d1a9bc;
  --ink: #2a1026;
  --line: rgba(255, 181, 71, 0.12);
  --panel: rgba(27, 13, 24, 0.76);
  --panel-2: rgba(18, 9, 19, 0.88);
  background:
    radial-gradient(1000px 580px at 90% -10%, rgba(255, 122, 24, 0.2), transparent 56%),
    radial-gradient(850px 650px at 8% 8%, rgba(124, 58, 237, 0.2), transparent 58%),
    radial-gradient(130% 120% at 50% 50%, transparent 52%, rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(180deg, #140714 0%, #06030a 58%, #020104 100%);
}

/* Niebla y ambiente tenebroso de Halloween */
body.theme-halloween::before,
body.theme-halloween::after {
  content: '';
  position: fixed;
  inset: -30%;
  z-index: 1;
  pointer-events: none;
  filter: blur(30px);
  will-change: transform, opacity;
}
body.theme-halloween::before {
  background:
    radial-gradient(ellipse 42% 30% at 22% 38%, rgba(214, 196, 235, 0.16), transparent 70%),
    radial-gradient(ellipse 48% 32% at 62% 58%, rgba(190, 168, 220, 0.14), transparent 72%),
    radial-gradient(ellipse 55% 34% at 42% 82%, rgba(168, 150, 205, 0.12), transparent 72%),
    radial-gradient(ellipse 40% 28% at 80% 18%, rgba(220, 205, 235, 0.12), transparent 70%);
  animation: halloweenFogA 34s ease-in-out infinite alternate;
}
body.theme-halloween::after {
  background:
    radial-gradient(ellipse 46% 30% at 74% 44%, rgba(220, 205, 235, 0.12), transparent 70%),
    radial-gradient(ellipse 50% 32% at 30% 70%, rgba(200, 180, 222, 0.11), transparent 72%);
  animation: halloweenFogB 46s ease-in-out infinite alternate;
}
@keyframes halloweenFogA {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.5; }
  50%  { transform: translate3d(-5%, -4%, 0) scale(1.08); opacity: 0.75; }
  100% { transform: translate3d(4%, 3%, 0) scale(1.04); opacity: 0.55; }
}
@keyframes halloweenFogB {
  0%   { transform: translate3d(0, 0, 0) scale(1.05); opacity: 0.55; }
  50%  { transform: translate3d(5%, 4%, 0) scale(1); opacity: 0.4; }
  100% { transform: translate3d(-4%, -3%, 0) scale(1.07); opacity: 0.6; }
}

body.theme-halloween.drop-theme {
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,0.9), transparent 60%),
    radial-gradient(1px 1px at 28% 42%, rgba(255,190,107,0.9), transparent 60%),
    radial-gradient(1.5px 1.5px at 45% 12%, rgba(255,255,255,0.95), transparent 60%),
    radial-gradient(1px 1px at 62% 35%, rgba(181,108,255,0.9), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 20%, rgba(255,181,71,0.95), transparent 60%),
    linear-gradient(180deg, #160914 0%, #09040d 55%, #020103 100%);
}

body.theme-halloween .shop-header {
  background: linear-gradient(180deg, rgba(18, 9, 19, 0.72), rgba(8, 4, 12, 0.2));
  border-bottom-color: rgba(255, 181, 71, 0.14);
}

body.theme-halloween .shop-btn-turq {
  background: linear-gradient(135deg, #ff8a1f, #a44cff);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.28);
  color: #240d00;
}

body.theme-halloween .account-indicator:hover,
body.theme-halloween .cart-indicator:hover {
  border-color: rgba(255, 138, 31, 0.35);
}

body.theme-halloween .modal-card,
body.theme-halloween .shop-card,
body.theme-halloween .section-card,
body.theme-halloween .product-card {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.52);
}

/* Fondo especial de la categoría DROP (más oscuro y con estrellas) */
body.drop-theme {
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, #ffffff, transparent 60%),
    radial-gradient(1px 1px at 28% 42%, #cfe9ff, transparent 60%),
    radial-gradient(1.5px 1.5px at 45% 12%, #ffffff, transparent 60%),
    radial-gradient(1px 1px at 62% 35%, #e6f4ff, transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 20%, #ffffff, transparent 60%),
    radial-gradient(1px 1px at 88% 48%, #cfe9ff, transparent 60%),
    radial-gradient(1.5px 1.5px at 34% 62%, #ffffff, transparent 60%),
    radial-gradient(1px 1px at 52% 78%, #e6f4ff, transparent 60%),
    radial-gradient(1.5px 1.5px at 70% 64%, #ffffff, transparent 60%),
    radial-gradient(1px 1px at 15% 82%, #cfe9ff, transparent 60%),
    radial-gradient(1.5px 1.5px at 92% 76%, #ffffff, transparent 60%),
    radial-gradient(1px 1px at 40% 90%, #e6f4ff, transparent 60%),
    linear-gradient(180deg, #0a2a38 0%, #04141d 55%, #01060b 100%);
}

/* Burbujas oceánicas sutiles */
.ocean-bubbles { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bubble {
  position: absolute;
  bottom: -40px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.5), rgba(22,214,196,0.12) 60%, transparent 75%);
  animation: bubbleRise linear infinite;
}
@keyframes bubbleRise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: 0.7; }
  100% { transform: translateY(-110vh) translateX(18px); opacity: 0; }
}

/* Fantasmas flotantes (solo modo Halloween) */
.ghost {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 10px rgba(190, 130, 255, 0.4));
  animation: ghostFloat ease-in-out infinite;
  will-change: transform;
}
.ghost svg {
  display: block;
  width: 100%;
  height: 100%;
}
@keyframes ghostFloat {
  0%   { transform: translate(0, 0) rotate(-8deg) scale(1); }
  25%  { transform: translate(26px, -46px) rotate(6deg) scale(1.05); }
  50%  { transform: translate(-18px, -94px) rotate(-5deg) scale(0.96); }
  75%  { transform: translate(30px, -44px) rotate(7deg) scale(1.04); }
  100% { transform: translate(0, 0) rotate(-8deg) scale(1); }
}

/* Arañas ocasionales (solo modo Halloween): bajan por su hilo y desaparecen */
.halloween-spiders {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.spider-drop {
  position: absolute;
  top: 0;
  width: 22px;
  height: 22px;
  pointer-events: none;
  animation: spiderDescend var(--spider-dur, 9s) cubic-bezier(0.5, 0, 0.85, 0.4) forwards;
  will-change: transform, opacity;
}
.spider-drop::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 100vh;
  margin-left: -0.5px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 55%, rgba(255, 255, 255, 0.8) 100%);
  opacity: 0.55;
}
.spider-drop svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55));
}
@keyframes spiderDescend {
  0%   { transform: translateY(-40px); opacity: 0; }
  10%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateY(calc(100vh + 40px)); opacity: 0; }
}

/* ---------- Header ---------- */
.shop-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(6, 40, 50, 0.55), rgba(4, 26, 34, 0.15));
  backdrop-filter: blur(10px);
}
.shop-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.shop-side { display: flex; align-items: center; }
.shop-side-left { justify-content: flex-start; }
.shop-side-right { justify-content: flex-end; }

.account-indicator,
.cart-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 16px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.account-indicator:hover,
.cart-indicator:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(22, 214, 196, 0.35); transform: translateY(-1px); }
.account-avatar {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: none;
  border: none;
  overflow: visible;
}
.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}
.account-text { display: flex; flex-direction: column; gap: 2px; }
.account-text strong { font-weight: 800; font-size: 13px; letter-spacing: 0.5px; }
.account-text small { color: var(--muted); font-size: 11.5px; }
.account-logout {
  background: none; border: none; color: var(--turq); cursor: pointer;
  font-size: 11.5px; padding: 0; text-align: left; font-family: var(--font-body);
}
.account-logout:hover { text-decoration: underline; }
.account-logged { cursor: default; }

.shop-logo { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.shop-logo img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(22, 214, 196, 0.4));
  animation: logoFloat 3.2s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.cart-icon {
  position: relative;
  color: var(--turq);
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-icon svg { width: 48px; height: 48px; }
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), #ff3d2e);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

/* ---------- Main ---------- */
.shop-main { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 26px 28px 80px; min-height: 70vh; }

/* Estado de carga inicial */
.page-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 60vh;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}
.page-loading-spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--turq);
  animation: pageSpin 0.8s linear infinite;
}
@keyframes pageSpin { to { transform: rotate(360deg); } }

/* Transición entre páginas (SPA) */
#appView.page-enter > * { animation: childRise 0.55s cubic-bezier(0.22, 0.9, 0.3, 1) both; }
#appView.page-enter > *:nth-child(1) { animation-delay: 0.03s; }
#appView.page-enter > *:nth-child(2) { animation-delay: 0.11s; }
#appView.page-enter > *:nth-child(3) { animation-delay: 0.19s; }
#appView.page-enter > *:nth-child(4) { animation-delay: 0.27s; }
#appView.page-enter > *:nth-child(5) { animation-delay: 0.35s; }
@keyframes childRise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: stretch;
}

/* Featured carousel */
.featured {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 360px;
  background: var(--ocean-3);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.featured-track { position: absolute; inset: 0; }
.featured-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 30px 34px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
}
.featured-slide.is-active { opacity: 1; visibility: visible; }
.featured-slide.is-active .featured-bg { animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}
.featured-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(700px 340px at 78% 10%, var(--accent, rgba(22,214,196,0.32)), transparent 62%),
    linear-gradient(180deg, rgba(4, 26, 34, 0.42), rgba(3, 20, 29, 0.9)),
    url('/img/summer.png') center/cover no-repeat;
}
.featured-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(244, 201, 93, 0.10) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 65%, rgba(244, 201, 93, 0.08) 0 2px, transparent 3px);
  opacity: 0.5;
}
.featured-content { position: relative; z-index: 1; }
.featured-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--coral), #ff3d2e);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  box-shadow: 0 8px 22px rgba(255, 107, 74, 0.4);
}
.featured-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 10px;
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
.featured-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.featured-price { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--gold); text-shadow: 0 0 26px rgba(244, 201, 93, 0.4); }
.featured-old { color: var(--muted); font-size: 18px; text-decoration: line-through; }
.featured-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.featured-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(3, 20, 29, 0.6);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.featured-arrow:hover { background: rgba(22, 214, 196, 0.18); border-color: rgba(22, 214, 196, 0.4); }
.featured-prev { left: 14px; }
.featured-next { right: 14px; }
.featured-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.featured-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.28); border: none; cursor: pointer; padding: 0; transition: background 0.2s ease, width 0.2s ease; }
.featured-dot.is-active { background: var(--turq); width: 22px; }

/* Status cards */
.hero-side { display: flex; flex-direction: column; gap: 16px; }
.status-card {
  position: relative;
  flex: 1;
  min-height: 150px;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.status-card:hover { transform: translateY(-3px); }
a.status-card { color: inherit; text-decoration: none; }
.status-card[role="button"] { cursor: pointer; }
.status-server { background: linear-gradient(135deg, #0a4a56, #062832 60%, #041a22); }
.status-discord { background: linear-gradient(135deg, #6a3a8f, #062832 60%, #041a22); }
.status-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(300px 140px at 85% 0%, rgba(22, 214, 196, 0.16), transparent 60%);
}
.status-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--turq);
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}
.status-discord .status-icon { color: #b58ce0; }
.status-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.status-text small { color: var(--muted); font-size: 11px; letter-spacing: 1px; font-weight: 700; }
.status-text strong { font-family: var(--font-display); font-size: 26px; color: var(--text); }
.status-text em { color: var(--muted); font-style: normal; font-size: 12.5px; }
.status-dot {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2fe0a0;
  box-shadow: 0 0 0 0 rgba(47, 224, 160, 0.6);
  animation: statusPulse 2s infinite;
}
@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 224, 160, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(47, 224, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 224, 160, 0); }
}

/* ---------- Botones ---------- */
.shop-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  padding: 13px 22px;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  color: #fff;
  text-decoration: none;
}
.shop-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.shop-btn:hover::after { left: 140%; }
.shop-btn:hover { transform: translateY(-2px); }
.shop-btn-full { width: 100%; }
.shop-btn-turq { background: linear-gradient(135deg, #19e0cd, #0fa89c); box-shadow: 0 12px 30px rgba(22, 214, 196, 0.28); color: #03202a; font-weight: 800; }
.shop-btn-turq:hover { filter: brightness(1.05); }
.shop-btn-coral { background: linear-gradient(135deg, #ff7a5a, #ff4a2e); box-shadow: 0 12px 30px rgba(255, 107, 74, 0.32); }
.shop-btn-coral:hover { filter: brightness(1.05); }
.shop-btn-ghost { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--text); }
.shop-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.shop-btn-added {
  background: rgba(47, 224, 160, 0.14);
  border: 1px solid rgba(47, 224, 160, 0.35);
  color: #b7f0dc;
  cursor: default;
  opacity: 0.9;
}
.shop-btn-added:hover { transform: none; filter: none; }

/* ---------- Info grid (categorías + bienvenida) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 26px;
}

.categories-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 18px;
  box-shadow: var(--shadow);
}
.panel-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1px;
  margin: 0 0 12px;
  color: var(--text);
}
.section-sidebar .panel-title {
  font-size: 24px;
  margin: 0 0 16px;
  text-align: center;
}
.category-list { display: flex; flex-direction: column; gap: 12px; }
.category-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 16px;
  background: linear-gradient(180deg, rgba(8, 40, 50, 0.82), rgba(5, 28, 36, 0.92));
  border: 2px solid rgba(22, 214, 196, 0.22);
  border-radius: 16px;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.25), 0 8px 20px rgba(0, 0, 0, 0.18);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.category-row:hover { transform: translateY(-3px); border-color: rgba(22, 214, 196, 0.5); background: linear-gradient(180deg, rgba(10, 48, 60, 0.9), rgba(6, 34, 43, 0.95)); }
.category-row-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(22, 214, 196, 0.22), rgba(22, 214, 196, 0.08));
  border: 2px solid rgba(22, 214, 196, 0.3);
  color: var(--turq);
  font-size: 25px;
  flex: 0 0 auto;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.category-icon-dirt svg { width: 100%; height: 100%; }
.category-icon-wheel { background: rgba(3, 20, 29, 0.55); }
.wheel-disc {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(#16D6C4, #FF6B4A, #F4C95D, #a855f7, #16D6C4);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  animation: wheelSpin 3s linear infinite;
}
.wheel-disc::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: #041A22;
}
@keyframes wheelSpin { to { transform: rotate(360deg); } }
.category-row-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.5px;
}
.category-row-arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(22, 214, 196, 0.22), rgba(22, 214, 196, 0.06));
  border: 2px solid rgba(22, 214, 196, 0.35);
  color: var(--turq);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: arrowNudge 2.4s ease-in-out infinite;
}
.category-row:hover .category-row-arrow {
  transform: translateX(4px);
  background: rgba(22, 214, 196, 0.3);
  border-color: rgba(22, 214, 196, 0.6);
  box-shadow: 0 0 0 6px rgba(22, 214, 196, 0.12);
  animation: none;
}
@keyframes arrowNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* Acordeón de categorías */
.category-acc { display: flex; flex-direction: column; }
.category-acc.is-open .category-row-arrow { animation: none; transform: rotate(90deg); }
.category-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}
.category-acc.is-open .category-sub { grid-template-rows: 1fr; }
.category-sub-inner {
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 6px;
}
.category-sub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: rgba(3, 20, 29, 0.5);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.category-sub-link:hover { background: rgba(22, 214, 196, 0.12); border-color: rgba(22, 214, 196, 0.35); transform: translateX(3px); }
.category-sub-link.is-active {
  background: rgba(22, 214, 196, 0.18);
  border-color: rgba(22, 214, 196, 0.55);
  color: #fff;
}
.category-row.is-active {
  border-color: rgba(22, 214, 196, 0.7);
  background: linear-gradient(180deg, rgba(10, 52, 64, 0.95), rgba(6, 36, 45, 0.98));
}
.category-sub-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--turq);
  box-shadow: 0 0 8px rgba(22, 214, 196, 0.7);
  flex: 0 0 auto;
}
.category-sub-empty { color: var(--muted); font-size: 13px; padding: 6px 14px; }
.category-icon-img { background: rgba(3, 20, 29, 0.4); }
.category-icon-img img { width: 100%; height: 100%; object-fit: cover; }

/* Modal de categorías */
.categories-modal-card { width: min(520px, 96vw); }
.categories-modal-list { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.cat-modal-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(8, 40, 50, 0.82), rgba(5, 28, 36, 0.92));
  border: 2px solid rgba(22, 214, 196, 0.22);
  border-radius: 16px;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.cat-modal-item:hover { transform: translateY(-3px); border-color: rgba(22, 214, 196, 0.5); background: linear-gradient(180deg, rgba(10, 48, 60, 0.9), rgba(6, 34, 43, 0.95)); }
.cat-modal-item .category-row-icon { width: 56px; height: 56px; }
.cat-modal-name { flex: 1; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: 0.5px; }
.cat-modal-arrow { color: var(--turq); font-size: 26px; font-weight: 800; }

.welcome-stack { display: flex; flex-direction: column; gap: 16px; }
.categories-hint {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.categories-hint:hover { border-color: rgba(22, 214, 196, 0.35); transform: translateY(-2px); }
.categories-hint-title { font-family: var(--font-display); font-size: 17px; letter-spacing: 1px; }
.categories-hint-sub { flex: 1; color: var(--muted); font-size: 13px; }
.categories-hint-arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(22, 214, 196, 0.16);
  border: 2px solid rgba(22, 214, 196, 0.3);
  color: var(--turq);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  animation: arrowNudge 2.4s ease-in-out infinite;
}
.categories-hint:hover .categories-hint-arrow {
  transform: translateX(4px);
  background: rgba(22, 214, 196, 0.3);
  border-color: rgba(22, 214, 196, 0.6);
  animation: none;
}

.welcome-card {
  flex: 1;
  background: linear-gradient(135deg, rgba(22, 214, 196, 0.10), rgba(6, 40, 50, 0.7) 55%, rgba(255, 107, 74, 0.08));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.welcome-eyebrow { color: var(--turq); font-weight: 800; font-size: 12px; letter-spacing: 1.5px; margin: 0 0 8px; }
.welcome-card h2 { font-family: var(--font-display); font-size: 34px; line-height: 1; margin: 0 0 12px; }
.welcome-card h2 span { color: var(--turq); }
.welcome-desc { color: var(--muted); margin: 0; line-height: 1.6; font-size: 14px; }
.welcome-uptime { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); font-size: 13px; }
.welcome-uptime-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: 0 0 auto; }
.welcome-uptime-dot.is-online { background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.9); }
.welcome-uptime-dot.is-offline { background: #ff4d4d; box-shadow: 0 0 8px rgba(255, 77, 77, 0.8); }
.welcome-uptime-label { color: var(--muted); }
.welcome-uptime-value { font-family: var(--font-display); color: var(--gold); font-size: 15px; }
.welcome-live { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 18px; }
.welcome-live-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ff4d4d, #d92626);
  box-shadow: 0 10px 24px rgba(217, 38, 38, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.welcome-live-btn:hover { transform: translateY(-2px) scale(1.04); filter: brightness(1.06); }
.welcome-live-hint { color: var(--coral); font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- DROP ---------- */
.drop-section { margin-top: 60px; }
.drop-head { text-align: center; margin-bottom: 30px; }
.drop-kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 107, 74, 0.14);
  border: 1px solid rgba(255, 107, 74, 0.32);
  color: var(--coral);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.drop-head h2 { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 5vw, 42px); line-height: 1; }
.drop-head h2 span { color: var(--coral); }
.drop-head p { color: var(--muted); margin: 10px 0 0; }

.drop-stage { text-align: center; }
.drop-box {
  position: relative;
  width: min(320px, 80vw);
  height: 252px;
  margin: 10px auto 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  perspective: 1100px;
  -webkit-tap-highlight-color: transparent;
}
.drop-box:focus-visible { outline: 3px solid var(--turq); outline-offset: 10px; border-radius: 14px; }
.drop-glow {
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 214, 196, 0.26), rgba(255, 107, 74, 0.1) 55%, transparent 72%);
  filter: blur(18px);
  animation: dropGlow 2.8s ease-in-out infinite;
  z-index: 0;
}
@keyframes dropGlow {
  0%, 100% { opacity: 0.55; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.07); }
}

/* Cuerpo de madera de la caja */
.drop-body {
  position: absolute;
  left: 14px; right: 14px; bottom: 0; height: 162px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 3px, rgba(255, 255, 255, 0.04) 3px 6px, transparent 6px 46px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0 2px, transparent 2px 22px),
    linear-gradient(180deg, #d99c5f 0%, #b97b3e 45%, #8a5a28 100%);
  border-radius: 8px 8px 12px 12px;
  box-shadow:
    inset 0 -18px 0 rgba(0, 0, 0, 0.30),
    inset 0 3px 0 rgba(255, 255, 255, 0.14),
    0 24px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 1;
}
/* Esquinas metálicas del cuerpo */
.drop-body::before,
.drop-body::after {
  content: '';
  position: absolute;
  top: -6px;
  width: 26px;
  height: 48px;
  background: linear-gradient(180deg, #74828e, #3a454e);
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.drop-body::before { left: -4px; }
.drop-body::after { right: -4px; }

/* Luz que sale al abrir la caja */
.drop-light {
  position: absolute;
  left: 50%; top: 50%;
  width: 200px; height: 200px;
  margin: -100px 0 0 -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 170, 0.95), rgba(255, 196, 70, 0.45) 45%, transparent 72%);
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.4s ease 0.3s, transform 0.5s ease 0.3s;
  pointer-events: none;
  z-index: 2;
}

.drop-emblem {
  position: relative;
  z-index: 3;
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 22px rgba(22, 214, 196, 0.95), 0 3px 6px rgba(0, 0, 0, 0.5);
  animation: emblemPulse 2.2s ease-in-out infinite;
  transition: opacity 0.3s ease, transform 0.5s ease;
}
@keyframes emblemPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.14); opacity: 1; }
}

/* Tapa de la caja */
.drop-lid {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  height: 92px;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.14) 0 3px, rgba(255, 255, 255, 0.05) 3px 6px, transparent 6px 46px),
    linear-gradient(180deg, #e7b578 0%, #c98f4b 55%, #9a6630 100%);
  border-radius: 16px 16px 8px 8px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), inset 0 -4px 0 rgba(0, 0, 0, 0.12), 0 14px 28px rgba(0, 0, 0, 0.45);
  transform-origin: top center;
  transition: transform 0.7s cubic-bezier(0.4, 1.1, 0.5, 1);
  z-index: 4;
}
/* Asa de la tapa */
.drop-lid::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  width: 92px;
  height: 20px;
  border-radius: 10px;
  border: 4px solid #6b4a22;
  background: linear-gradient(180deg, #8a5a28, #5f3c16);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
/* Borde inferior de la tapa */
.drop-lid::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 14px;
  background: linear-gradient(180deg, #7a4a20, #4c2d10);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}
/* La tapa se abre hacia atrás (bisagra en la parte superior) */
.drop-box.open .drop-lid { transform: rotateX(-118deg) translateY(-8px); }

/* Precintos (cinta adhesiva) */
.drop-seal {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, #f5c518 0 16px, #e02b2b 16px 32px);
  border-radius: 6px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.45), inset 0 0 0 2px rgba(0, 0, 0, 0.16);
  z-index: 5;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.drop-seal-main { top: 86px; }
.drop-seal-2 { top: 130px; height: 16px; opacity: 0.92; }
.drop-seal-label {
  background: rgba(3, 20, 29, 0.82);
  color: #fff;
  padding: 5px 16px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 1.5px;
  font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
/* Al abrir: se rompe el precinto, sale la luz y la caja tiembla */
.drop-box.open .drop-seal { opacity: 0; transform: scaleX(0.4); }
.drop-box.open .drop-light { opacity: 1; transform: scale(1.5); }
.drop-box.open .drop-emblem { animation: none; opacity: 0; transform: scale(1.6); }
.drop-box.open { animation: boxShake 0.6s ease; }
@keyframes boxShake {
  0% { transform: translateY(0) rotate(0); }
  30% { transform: translateY(-6px) rotate(-1.5deg); }
  55% { transform: translateY(2px) rotate(1.2deg); }
  80% { transform: translateY(-2px) rotate(-0.5deg); }
  100% { transform: translateY(0) rotate(0); }
}
.drop-hint { color: var(--muted); font-weight: 600; font-size: 14px; margin: 20px 0 0; }

/* ---------- Promo rangos permanentes ---------- */
.perm-promo {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 2px 0 18px; padding: 14px 16px;
  background: linear-gradient(160deg, rgba(255, 197, 60, 0.16), rgba(255, 107, 74, 0.06));
  border: 1px solid rgba(255, 197, 60, 0.4);
  border-radius: 14px;
}
.perm-promo-badge {
  background: linear-gradient(135deg, var(--gold), var(--coral));
  color: #3a2400; font-weight: 800; font-size: 12px;
  padding: 5px 10px; border-radius: 999px; letter-spacing: 0.5px;
}
.perm-promo-text { color: var(--muted); font-size: 13px; }
.perm-promo-count { font-family: var(--font-display); font-size: 15px; color: var(--gold); }

/* ---------- Cuenta atrás del drop ---------- */
.drop-locked .drop-head p { color: #ffb3b3; }
.drop-countdown {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin: 10px auto 0; padding: 18px 22px;
  border: 1px solid rgba(255, 80, 80, 0.5);
  border-radius: 16px;
  background: rgba(255, 40, 40, 0.08);
  max-width: 440px;
}
.drop-countdown-label {
  color: #ffb3b3; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
}
.drop-countdown-value {
  color: #ff4d4d; font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 30px); font-weight: 800; line-height: 1;
}

.modal.drop-modal { z-index: 60; }
.modal-card.drop-reveal {
  width: min(700px, 96vw);
  max-height: 94vh;
  padding: 52px 44px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(560px 320px at 50% -8%, rgba(22, 214, 196, 0.2), transparent 62%),
    radial-gradient(420px 320px at 50% 112%, rgba(255, 107, 74, 0.16), transparent 60%),
    linear-gradient(180deg, #0a3b46, #05232e);
  animation: dropRevealIn 0.65s cubic-bezier(0.2, 0.9, 0.3, 1.12) both;
}
.drop-reveal-burst {
  position: absolute;
  inset: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(22, 214, 196, 0.12) 35%, transparent 62%);
  pointer-events: none;
  animation: dropBurst 0.7s ease-out both;
}
@keyframes dropRevealIn {
  0% { opacity: 0; transform: translateY(70px) scale(0.8); }
  60% { opacity: 1; transform: translateY(-8px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes dropBurst {
  0% { opacity: 0; transform: scale(0.4); }
  100% { opacity: 1; transform: scale(1.15); }
}
.drop-reveal-title { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 7vw, 48px); }
.drop-ribbon {
  display: inline-block; margin: 0 0 10px; padding: 6px 16px; border-radius: 999px;
  background: rgba(255, 107, 74, 0.14); border: 1px solid rgba(255, 107, 74, 0.35);
  color: var(--coral); font-weight: 800; font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
}
.drop-popup-items { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 16px 0; }
.drop-popup-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 170px;
  padding: 16px 20px;
  background: rgba(3, 20, 29, 0.66);
  border: 1px solid rgba(22, 214, 196, 0.22);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  opacity: 0;
  animation: dropItemPop 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.3) forwards;
}
.drop-item-emoji { font-size: 36px; line-height: 1; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4)); }
.drop-item-name { font-size: 16px; font-weight: 700; text-align: left; }
@keyframes dropItemPop {
  0% { opacity: 0; transform: translateY(26px) scale(0.4); }
  70% { opacity: 1; transform: translateY(-4px) scale(1.08); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.drop-desc { color: var(--muted); margin: 8px 0 14px; }
.drop-price-row { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 6px 0 16px; flex-wrap: wrap; }
.drop-price { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--gold); text-shadow: 0 0 24px rgba(244, 201, 93, 0.5); }
.drop-price-old { font-family: var(--font-display); font-size: 20px; color: var(--muted); text-decoration: line-through; }
.drop-badge { background: linear-gradient(135deg, var(--coral), #ff3d2e); color: #fff; font-weight: 800; font-size: 14px; padding: 4px 10px; border-radius: 999px; }
.drop-note { color: var(--muted); font-size: 12px; margin: 12px 0 0; }

/* ---------- Productos ---------- */
.products-section { margin-top: 60px; }
.products-head { text-align: center; margin-bottom: 30px; }
.products-head h2 { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 5vw, 42px); line-height: 1; }
.products-head h2 span { color: var(--turq); }

.store-category { margin-bottom: 40px; }
.store-category-title {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 16px; font-family: var(--font-display); font-size: 24px;
}
.store-category-title .cat-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--turq); box-shadow: 0 0 12px rgba(22, 214, 196, 0.7); }
.store-section-title {
  margin: 24px 0 14px; font-family: var(--font-display); font-size: 19px; color: #fff;
  scroll-margin-top: 20px;
}
.store-section-title .sec-note { color: var(--muted); font-weight: 500; font-size: 13px; margin-left: 8px; }

.products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.section-group-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  margin: 0 0 18px;
  background: rgba(3, 20, 29, 0.55);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.section-group-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.4px;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.section-group-tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.section-group-tab.is-active {
  color: #041A22;
  font-weight: 800;
  background: linear-gradient(135deg, var(--turq), #0fc9b8);
  box-shadow: 0 8px 22px rgba(22, 214, 196, 0.35);
}
.section-group-note {
  margin: -6px 0 20px;
  padding: 14px 18px;
  border: 1px solid rgba(244, 201, 93, 0.5);
  background: linear-gradient(180deg, rgba(244, 201, 93, 0.14), rgba(244, 201, 93, 0.05));
  border-radius: 14px;
  color: #ffe6a6;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.pick-acquired {
  margin: -6px 0 20px;
  padding: 16px 20px;
  border: 1px solid rgba(34, 197, 94, 0.5);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.16), rgba(34, 197, 94, 0.05));
  border-radius: 14px;
  color: #b9f5cf;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
.pick-acquired strong { color: #eafff1; }
.product-card {
  position: relative;
  padding: 30px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-5px); border-color: rgba(22, 214, 196, 0.35); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5); }
.product-card:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; }
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(280px 110px at 50% 0%, var(--card-glow, rgba(22,214,196,0.14)), transparent 70%);
  pointer-events: none;
}
.product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  font-size: 48px;
  margin-bottom: 8px;
}
.product-icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}
.icon-hadal { transform: scale(1.14); }
.product-card h3 { margin: 0; font-family: var(--font-display); font-size: 22px; }
.product-desc { color: var(--muted); margin: 4px 0 14px; font-size: 13px; }
.product-badge {
  position: absolute; top: 16px; right: -30px; width: 110px; padding: 4px 0;
  transform: rotate(38deg);
  background: linear-gradient(90deg, var(--coral), #ff3d2e);
  color: #fff; font-weight: 800; font-size: 12px; text-align: center;
}
.product-old { color: var(--muted); font-size: 14px; text-decoration: line-through; margin-bottom: 2px; }
.product-price { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--gold); text-shadow: 0 0 18px rgba(244, 201, 93, 0.4); margin-bottom: 14px; }
.product-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  width: 100%;
}
.product-actions .shop-btn { flex: 1; padding-left: 12px; padding-right: 12px; }
.product-card .kit-pick-add { margin-top: 12px; width: 100%; }
.pm-pick-note { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; }

.ruleta-link-card {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 26px 28px; text-decoration: none; color: var(--text);
  background: linear-gradient(135deg, rgba(22, 214, 196, 0.12), rgba(6, 40, 50, 0.6));
  border: 1px solid rgba(22, 214, 196, 0.28);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.ruleta-link-card:hover { transform: translateY(-4px); border-color: rgba(22, 214, 196, 0.5); }
.ruleta-link-card .rl-text h3 { margin: 0; font-family: var(--font-display); font-size: 24px; }
.ruleta-link-card .rl-text p { color: var(--muted); margin: 4px 0 0; }
.ruleta-link-card .rl-arrow { font-size: 30px; color: var(--turq); }

/* ---------- Pago seguro ---------- */
.secure-section { margin-top: 60px; }
.secure-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.secure-mini {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.secure-mini span { font-size: 28px; }
.secure-mini img { width: 64px; height: 64px; object-fit: contain; flex: 0 0 auto; }
.secure-mini strong { display: block; font-size: 14px; }
.secure-mini small { color: var(--muted); font-size: 12px; }
.secure-mini em { font-style: normal; color: var(--turq); font-weight: 700; }
.secure-mini a { color: var(--turq); text-decoration: none; }
.secure-mini a:hover { text-decoration: underline; }

/* ---------- Directo de Twitch en portada ---------- */
.stream-section { margin-top: 60px; }
.stream-head { text-align: center; margin-bottom: 24px; }
.stream-head-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.stream-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.stream-live-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.stream-live-link > span:not(.live-dot) { color: var(--coral); }
.stream-live-link:hover > span:not(.live-dot) { text-decoration: underline; text-underline-offset: 7px; }
.live-dot {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #ff3b3b;
  animation: liveBlink 1.4s ease-in-out infinite;
}
@keyframes liveBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7); }
  50% { opacity: 0.2; box-shadow: 0 0 0 9px rgba(255, 59, 59, 0); }
}
.stream-head-creators {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  color: #041A22;
  background: linear-gradient(135deg, #ffffff, #eaf6f5);
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(22, 214, 196, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.stream-head-creators:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(22, 214, 196, 0.35); }
.stream-head p { color: var(--muted); margin: 10px 0 0; }
.stream-live-creator { display: inline-block; margin-left: 6px; color: var(--turq); font-weight: 700; }
.stream-code {
  font-family: 'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;
  color: var(--turq);
  background: var(--turq-soft);
  padding: 2px 9px;
  border-radius: 7px;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.stream-frame {
  position: relative;
  width: min(960px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: var(--shadow);
}
.stream-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.stream-creators-corner {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.4px;
  background: rgba(4, 26, 34, 0.55);
  backdrop-filter: blur(4px);
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}
.stream-creators-corner:hover { background: rgba(4, 26, 34, 0.8); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.shop-footer {
  position: relative; z-index: 2; margin-top: 70px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(4, 26, 34, 0.7), rgba(3, 16, 22, 0.95));
}
.shop-footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 40px 28px 30px;
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
}
.shop-footer-brand { display: flex; align-items: center; gap: 14px; }
.shop-footer-brand img { width: 52px; height: 52px; object-fit: contain; }
.shop-footer-brand strong { display: block; font-family: var(--font-display); font-size: 19px; color: #fff; }
.shop-footer-brand span { color: var(--muted); font-size: 13px; }
.shop-footer-links { display: flex; gap: 8px; flex-wrap: wrap; }
.shop-footer-links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 13px; border-radius: 10px; transition: background 0.18s ease; }
.shop-footer-links a:hover { background: rgba(22, 214, 196, 0.1); }
.shop-footer-bottom { border-top: 1px solid var(--line); padding: 16px 28px; text-align: center; }
.shop-footer-bottom p { margin: 0; color: var(--muted); font-size: 13px; }
.shop-footer-creator { max-width: 1280px; margin: 0 auto; padding: 0 28px 30px; }
.shop-footer-creator-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 20px 24px;
  background: linear-gradient(120deg, rgba(22, 214, 196, 0.14), rgba(22, 214, 196, 0.04));
  border: 1px solid rgba(22, 214, 196, 0.35);
  border-radius: 16px;
}
.shop-footer-creator-card strong { display: block; font-family: var(--font-display); font-size: 18px; color: #fff; }
.shop-footer-creator-card span { color: var(--muted); font-size: 14px; }
.shop-footer-creator-card .shop-btn { flex: 0 0 auto; }

/* ---------- Modales ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2, 10, 14, 0.72); backdrop-filter: blur(4px); }
.modal-card {
  position: relative;
  width: min(430px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 32px;
  text-align: center;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  animation: modalIn 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  scrollbar-width: thin;
  scrollbar-color: rgba(22, 214, 196, 0.4) transparent;
}
.modal-card::-webkit-scrollbar { width: 8px; }
.modal-card::-webkit-scrollbar-track { background: transparent; }
.modal-card::-webkit-scrollbar-thumb { background: rgba(22, 214, 196, 0.35); border-radius: 999px; }
.modal-card::-webkit-scrollbar-thumb:hover { background: rgba(22, 214, 196, 0.6); }
.modal-card-wide { width: min(480px, 100%); }
@keyframes modalIn { from { opacity: 0; transform: scale(0.85) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-card h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: 28px; }
.modal-sub { color: var(--text); margin: 0 0 20px; white-space: pre-line; line-height: 1.65; font-size: 15px; opacity: 0.86; }
.modal-sub .pm-strike { color: #ff6b81; text-decoration: line-through; font-weight: 700; opacity: 1; }
.modal-sub .pm-big { display: block; font-family: var(--font-display); font-size: 24px; line-height: 1.15; color: var(--gold); margin-top: 10px; opacity: 1; }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line); color: #fff;
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease;
}
.modal-close:hover { background: rgba(255, 107, 74, 0.85); transform: rotate(90deg); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack .input { width: 100%; }
.input {
  flex: 1; min-width: 0;
  background: rgba(3, 20, 29, 0.6);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-body); font-size: 15px; padding: 14px 16px; border-radius: 13px; outline: none;
}
.input:focus { border-color: var(--turq); box-shadow: 0 0 0 3px rgba(22, 214, 196, 0.15); }
.hint { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- Modal de regalo (ruleta) ---------- */
.gift-card { width: min(680px, 96vw); }
.gift-card h2 { margin: 6px 0 8px; }
.gift-card h2 span { color: var(--gold); }
.gift-ribbon {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  color: #3a2400;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.gift-wheels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 4px 0 18px; }
.gift-wheel {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px 16px;
  background: linear-gradient(180deg, rgba(8, 40, 50, 0.9), rgba(5, 28, 36, 0.95));
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.gift-wheel:hover { transform: translateY(-3px); border-color: rgba(22, 214, 196, 0.5); }
.gift-wheel-head { display: flex; align-items: center; gap: 10px; }
.gift-wheel-disc {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  background: var(--wheel, #16D6C4);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.gift-wheel-name { min-width: 0; display: flex; flex-direction: column; }
.gift-wheel-name strong { font-family: var(--font-display); font-size: 15px; line-height: 1.15; }
.gift-wheel-name small { color: var(--muted); font-size: 11.5px; }
.gift-wheel-price { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--gold); line-height: 1; }
.gift-wheel-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
  font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 999px; align-self: flex-start;
}
@media (max-width: 700px) {
  .gift-wheels { grid-template-columns: 1fr; }
}

/* ---------- Modal de upsell de keys ---------- */
.key-upsell-card { width: min(480px, 96vw); }
.key-upsell-card h2 { margin: 4px 0 8px; }
.key-upsell-card h2 span { color: var(--gold); }
.ku-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  color: #3a2400;
  font-weight: 800; font-size: 12px; letter-spacing: 1px;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 6px;
}
.ku-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
  margin: 6px 0 18px;
}
.ku-option {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px;
  border-radius: 14px;
  text-align: center;
}
.ku-single { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.ku-pack { background: linear-gradient(160deg, rgba(22, 214, 196, 0.16), rgba(22, 214, 196, 0.05)); border: 1px solid rgba(22, 214, 196, 0.4); }
.ku-option-label { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; }
.ku-option strong { font-family: var(--font-display); font-size: 16px; line-height: 1.2; }
.ku-option-price { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: #fff; }
.ku-pack .ku-option-price { color: var(--gold); }
.ku-option-save {
  display: inline-block;
  margin-top: 2px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
  font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 999px;
}
.ku-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--turq); font-size: 24px; font-weight: 800;
}

/* ---------- Modal de bienvenida: nueva ruleta de la suerte ---------- */
.welcome-wheel-card { width: min(460px, 96vw); }
.welcome-wheel-card h2 { margin: 10px 0 8px; font-size: 26px; }
.welcome-wheel-card h2 span { color: var(--gold); }
.ww-ribbon {
  display: inline-block;
  background: linear-gradient(135deg, var(--turq), var(--gold));
  color: #03202a;
  font-weight: 800; font-size: 12px; letter-spacing: 1px;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 6px;
}
.ww-wheel {
  width: 128px; height: 128px; margin: 4px auto 2px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 40px rgba(22, 214, 196, 0.4), inset 0 0 0 6px rgba(0, 0, 0, 0.15);
  display: flex; align-items: center; justify-content: center;
  animation: wwSpin 18s linear infinite;
}
.ww-wheel-face {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(3, 20, 29, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  animation: wwSpinRev 18s linear infinite;
}
@keyframes wwSpin { to { transform: rotate(360deg); } }
@keyframes wwSpinRev { to { transform: rotate(-360deg); } }
.ww-pack {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin: 6px 0 18px; padding: 14px 16px;
  background: linear-gradient(160deg, rgba(22, 214, 196, 0.14), rgba(22, 214, 196, 0.04));
  border: 1px solid rgba(22, 214, 196, 0.4);
  border-radius: 14px; text-align: left;
}
.ww-pack-info { display: flex; flex-direction: column; min-width: 0; }
.ww-pack-info strong { font-family: var(--font-display); font-size: 16px; }
.ww-pack-info small { color: var(--muted); font-size: 12px; }
.ww-pack-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ww-pack-old { color: var(--muted); text-decoration: line-through; font-size: 14px; }
.ww-pack-price strong { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--gold); }
.ww-pack-save {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
  font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
}

.login-logo { width: 74px; height: 74px; margin: 0 auto 12px; }
.login-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(22, 214, 196, 0.35)); }
.account-field { text-align: left; }
.account-label { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin: 0 0 8px; }
.account-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.account-option {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: rgba(3, 20, 29, 0.6); border: 1px solid var(--line); border-radius: 13px;
  color: var(--text); cursor: pointer; font-family: var(--font-body); text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.account-option:hover { background: rgba(255, 255, 255, 0.06); }
.account-option.is-active { border-color: var(--turq); background: rgba(22, 214, 196, 0.12); box-shadow: 0 0 0 3px rgba(22, 214, 196, 0.12); }
.account-option-wide { grid-column: 1 / -1; }
.account-option-icon { width: 30px; height: 30px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: rgba(22, 214, 196, 0.12); color: var(--turq); font-size: 17px; }
.account-option-text strong { display: block; font-size: 14px; }
.account-option-text small { color: var(--muted); font-size: 11.5px; }

/* Carrito */
.cart-items { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.cart-empty { color: var(--muted); text-align: center; margin: 8px 0; }
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center; gap: 12px; padding: 12px;
  background: rgba(3, 20, 29, 0.5); border: 1px solid var(--line); border-radius: 13px;
}
.cart-item-info strong { display: block; font-size: 14px; }
.cart-item-info small { color: var(--muted); font-size: 12px; }
.cart-old { color: var(--muted); text-decoration: line-through; opacity: 0.75; }
.cart-item-ctrl { display: flex; align-items: center; gap: 6px; }
.qty-btn { width: 28px; height: 28px; border: 1px solid var(--line); background: rgba(255,255,255,0.06); color: #fff; border-radius: 8px; cursor: pointer; font-size: 15px; line-height: 1; }
.qty-btn:hover { background: rgba(255,255,255,0.14); }
.qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.qty-btn:disabled:hover { background: rgba(255,255,255,0.06); }
.qty-val { min-width: 22px; text-align: center; font-weight: 700; }
.cart-item-sub { font-weight: 700; color: var(--gold); white-space: nowrap; }
.cart-remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 15px; padding: 4px 6px; border-radius: 6px; }
.cart-remove:hover { color: #ff6b81; background: rgba(255, 107, 74, 0.12); }
.cart-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 6px; margin-bottom: 14px; border-top: 1px solid var(--line); }
.cart-total span { color: var(--muted); }
.cart-total strong { font-size: 24px; font-family: var(--font-display); color: var(--gold); }

.cart-gift-note {
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(22, 214, 196, 0.14), rgba(255, 122, 60, 0.14));
  border: 1px solid rgba(22, 214, 196, 0.3);
}
.cart-gift-note strong { color: var(--gold); }

.creator-code-row { display: flex; gap: 8px; margin-bottom: 10px; }
.creator-code-row .input { flex: 1; }
.creator-code-status { font-size: 13px; min-height: 18px; margin-bottom: 12px; color: var(--muted); }
.creator-code-status.ok { color: var(--turq); }
.creator-code-status.err { color: #fda4af; }

/* Producto modal */
.pm-icon { font-size: 64px; margin-bottom: 8px; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4)); }
.pm-icon img { width: 120px; height: 120px; object-fit: contain; }
.pm-price-row { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 6px 0 16px; flex-wrap: wrap; }
.pm-price { font-family: var(--font-display); font-size: 38px; font-weight: 800; color: var(--gold); }
.pm-old { font-family: var(--font-display); font-size: 20px; color: var(--muted); text-decoration: line-through; }
.pm-badge { background: linear-gradient(135deg, var(--coral), #ff3d2e); color: #fff; font-weight: 800; font-size: 14px; padding: 4px 10px; border-radius: 999px; }
.pm-features-wrap { text-align: left; margin: 6px 0 18px; }
.pm-features-title { margin: 0 0 10px; color: var(--turq); font-weight: 800; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.pm-features { display: flex; flex-direction: column; gap: 8px; }
.pm-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  background: rgba(3, 20, 29, 0.5);
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.pm-feature-check {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 214, 196, 0.16);
  color: var(--turq);
  font-size: 12px;
}
.pm-feature-group-title {
  margin: 12px 0 0;
  color: var(--gold);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
}
.pm-feature-group-title:first-child { margin-top: 0; }
.pm-kit-wrap { text-align: left; margin: 0 0 18px; }
.pm-kit { display: flex; flex-direction: column; gap: 12px; }
.pm-kit-block { display: flex; flex-direction: column; gap: 6px; }
.pm-kit-block-title {
  margin: 0 0 2px;
  color: var(--turq);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pm-kit-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(3, 20, 29, 0.5);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.pm-kit-name { color: var(--text); font-weight: 700; font-size: 14px; white-space: nowrap; }
.pm-kit-enchants { color: var(--muted); font-size: 13px; text-align: right; white-space: pre-line; line-height: 1.5; }
.pm-kit-totems .pm-kit-enchants { color: var(--gold); font-weight: 800; }
.pm-commands-wrap { text-align: left; margin: 0 0 18px; }
.pm-commands { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-command {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(244, 201, 93, 0.12);
  border: 1px solid rgba(244, 201, 93, 0.35);
  color: var(--gold);
  border-radius: 999px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Comparador de rangos ---------- */
.rank-compare {
  margin-top: 46px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.rank-compare-head { margin-bottom: 22px; }
.rank-compare-head h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: 24px; }
.rank-compare-head p { color: var(--muted); margin: 0; font-size: 14px; }

.rc-scroll { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); }
.rc-table { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 0; }
.rc-table th, .rc-table td { padding: 13px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.rc-corner, .rc-label {
  position: sticky; left: 0; z-index: 1;
  background: var(--ocean);
  text-align: left;
  min-width: 190px;
  font-weight: 600;
}
.rc-corner { z-index: 2; font-family: var(--font-display); font-size: 14px; letter-spacing: 0.5px; }

.rc-rank { vertical-align: top; }
.rc-rank-icon { display: block; font-size: 30px; line-height: 1; margin-bottom: 6px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3)); }
.rc-rank-icon img { width: 60px; height: 60px; object-fit: contain; margin: 0 auto; }
.rc-rank-name { display: block; font-family: var(--font-display); font-size: 17px; color: var(--text); }
.rc-rank-price { display: block; font-size: 13px; color: var(--gold); font-weight: 700; margin-top: 2px; }
.rc-rank-best {
  display: inline-block; margin-top: 8px;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  color: #3a2400; font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(244, 201, 93, 0.35);
}
.rc-rank.is-highlight {
  background: linear-gradient(180deg, rgba(244, 201, 93, 0.18), rgba(244, 201, 93, 0.04));
  box-shadow: inset 0 2px 0 var(--gold);
}
.rc-table tbody tr:not(.rc-cat) td:last-child {
  background: rgba(244, 201, 93, 0.1);
  box-shadow: inset 2px 0 0 rgba(244, 201, 93, 0.35);
}
.rc-cat th {
  background: rgba(3, 20, 29, 0.55);
  color: var(--turq);
  font-family: var(--font-display); font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  text-align: left; padding: 12px 14px;
}
.rc-yes { color: var(--turq); font-weight: 800; font-size: 17px; }
.rc-no { color: var(--muted); font-weight: 600; opacity: 0.7; }
.rc-val { color: var(--gold); font-weight: 800; font-size: 15px; }
.rc-val-strike { text-decoration: line-through; color: var(--muted); opacity: 0.75; font-weight: 700; }

.rank-compare-cta { margin-top: 22px; text-align: center; }
.rank-compare-cta .shop-btn { min-width: 280px; }

.kit-chollo {
  margin-top: 18px;
  padding: 20px 18px;
  text-align: center;
  border-radius: 14px;
  border: 1px solid rgba(22, 214, 196, 0.35);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(244, 201, 93, 0.18), transparent 60%),
    rgba(3, 20, 29, 0.5);
}
.kit-chollo-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  color: #2a1200;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(244, 201, 93, 0.35);
}
.kit-chollo-prices {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 14px 0 6px;
}
.kit-chollo-old {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--muted);
  text-decoration: line-through;
  opacity: 0.8;
}
.kit-chollo-arrow { font-size: 24px; color: var(--turq); }
.kit-chollo-new {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 0 0 24px rgba(244, 201, 93, 0.35);
}
.kit-chollo-sub { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.kit-chollo-sub s { color: var(--muted); }
.kit-chollo-sub strong { color: var(--gold); }
.kit-chollo-save { margin: 0; font-size: 16px; color: var(--text); }
.kit-chollo-save strong { color: var(--gold); font-family: var(--font-display); font-size: 22px; }

/* Modal comparador */
.rc-modal { width: min(920px, 96vw); }
.rc-modal-guide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 4px 0 20px; }
.rc-guide-card {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px;
  background: rgba(3, 20, 29, 0.5);
  border: 1px solid var(--line);
  border-radius: 13px;
  text-align: left;
}
.rc-guide-icon { font-size: 30px; line-height: 1; }
.rc-guide-icon img { width: 44px; height: 44px; object-fit: contain; display: block; }
.rc-guide-body { display: flex; flex-direction: column; gap: 3px; }
.rc-guide-body strong { font-family: var(--font-display); font-size: 17px; }
.rc-guide-price { color: var(--gold); font-weight: 700; font-size: 13px; }
.rc-guide-best { color: var(--turq); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.rc-guide-body p { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.rc-guide-card.is-recommended {
  border-color: rgba(244, 201, 93, 0.55);
  background: rgba(244, 201, 93, 0.08);
  box-shadow: 0 0 0 1px rgba(244, 201, 93, 0.2) inset, 0 14px 34px rgba(0, 0, 0, 0.35);
}
.rc-guide-card.is-recommended .rc-guide-best { color: var(--gold); }

@media (max-width: 700px) {
  .rank-compare { padding: 18px 14px; }
  .rc-corner, .rc-label { min-width: 150px; }
  .rc-modal-guide { grid-template-columns: 1fr; }
}

/* ---------- Mejora de Rango ---------- */
.mejora-intro { color: var(--muted); margin: -8px 0 22px; font-size: 14px; line-height: 1.6; }
.mejora-rank { margin-bottom: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.mejora-rank-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; width: 100%; }
.mejora-rank-head::-webkit-details-marker { display: none; }
.mejora-rank-icon { font-size: 40px; line-height: 1; flex: 0 0 auto; }
.mejora-rank-icon img { width: 56px; height: 56px; object-fit: contain; }
.mejora-rank-title { flex: 1; min-width: 0; }
.mejora-rank-title h3 { margin: 0; font-family: var(--font-display); font-size: 22px; }
.mejora-rank-price { color: var(--gold); font-weight: 700; font-size: 13px; }
.mejora-rank-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.mejora-from { color: var(--turq); font-size: 12px; font-weight: 800; }
.mejora-rank-arrow { color: var(--turq); font-size: 20px; transition: transform 0.2s ease; }
.mejora-rank[open] .mejora-rank-arrow { transform: rotate(180deg); }
.mejora-rank-max .mejora-rank-head { cursor: default; }
.mejora-max-badge { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

.mejora-rank-body {
  display: grid;
  grid-template-rows: 0fr;
  border-top: 0 solid var(--line);
  transition: grid-template-rows 0.32s ease, border-top-width 0.32s ease;
}
.mejora-rank[open] .mejora-rank-body { grid-template-rows: 1fr; border-top-width: 1px; }
.mejora-rank-body-inner { overflow: hidden; min-height: 0; padding: 18px 20px 20px; }
.mejora-targets-title { margin: 0 0 12px; color: var(--turq); font-weight: 800; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.mejora-target-up { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; background: rgba(3, 20, 29, 0.5); border: 1px solid var(--line); border-radius: 12px; }
.mejora-target-up.is-coral { border-color: rgba(244, 201, 93, 0.5); background: rgba(244, 201, 93, 0.08); }
.mejora-upgrade-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mejora-upgrade-info strong { font-family: var(--font-display); font-size: 16px; }
.mejora-reco { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; }
.mejora-upgrade-price { color: var(--gold); font-weight: 800; font-size: 16px; white-space: nowrap; }

.mejora-targets { margin-top: 6px; }
.mejora-target { margin-bottom: 12px; padding: 16px; background: rgba(3, 20, 29, 0.35); border: 1px solid var(--line); border-radius: 14px; }
.mejora-target.is-coral { border-color: rgba(244, 201, 93, 0.5); background: rgba(244, 201, 93, 0.07); box-shadow: 0 0 0 1px rgba(244, 201, 93, 0.15) inset; }
.mejora-target-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mejora-target-head .mejora-rank-icon { font-size: 34px; }
.mejora-target-head .mejora-rank-icon img { width: 46px; height: 46px; }
.mejora-target-title strong { font-family: var(--font-display); font-size: 18px; }
.mejora-target-badge { display: inline-block; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; }
.mejora-target.is-coral .mejora-target-badge { color: var(--gold); }

/* Includes (qué incluye cada rango) */
.mejora-includes { margin-bottom: 14px; }
.mejora-includes-title { margin: 0 0 12px; color: var(--turq); font-weight: 800; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.mejora-feat-group { margin-bottom: 12px; }
.mejora-feat-title { margin: 0 0 6px; color: var(--gold); font-weight: 800; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.mejora-feat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.mejora-feat-list li { position: relative; padding-left: 16px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.mejora-feat-list li::before { content: '✓'; position: absolute; left: 0; color: var(--turq); font-weight: 800; }
.mejora-kit { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mejora-kit span { padding: 5px 11px; background: rgba(244, 201, 93, 0.1); border: 1px solid rgba(244, 201, 93, 0.3); color: var(--gold); border-radius: 999px; font-size: 12px; font-weight: 600; }

@media (max-width: 640px) {
  .mejora-feat-list { grid-template-columns: 1fr; }
  .mejora-target-up { flex-wrap: wrap; }
  .mejora-target-up .shop-btn { width: 100%; }
}

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 80;
  background: #062832; border: 1px solid var(--line); color: var(--text);
  padding: 14px 20px; border-radius: 13px; font-weight: 600; box-shadow: var(--shadow); max-width: 90vw;
}
.toast.error { border-color: rgba(255, 107, 74, 0.5); color: #ffc7bb; }
.toast.success { border-color: rgba(47, 224, 160, 0.5); color: #b7f0dc; }

/* ---------- Subpáginas ---------- */
.page-head { margin-bottom: 26px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--turq);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}
.back-link:hover { text-decoration: underline; }
.page-head h1 { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 5vw, 44px); line-height: 1; }
.page-sub { color: var(--muted); margin: 10px 0 0; }

.sections-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.section-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 30px 24px;
  min-height: 120px;
  background: linear-gradient(180deg, rgba(8, 40, 50, 0.88), rgba(5, 28, 36, 0.94));
  border: 2px solid rgba(22, 214, 196, 0.25);
  border-radius: 18px;
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.06), 0 12px 28px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.section-card:hover { transform: translateY(-5px); border-color: rgba(22, 214, 196, 0.55); }
.section-card-icon {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(22, 214, 196, 0.22), rgba(22, 214, 196, 0.08));
  border: 2px solid rgba(22, 214, 196, 0.3);
  color: var(--turq);
  font-size: 32px;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.25);
}
.section-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
  display: block;
}
.section-card-text { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.section-card-text strong { font-family: var(--font-display); font-size: 21px; letter-spacing: 0.5px; }
.section-card-text small { color: var(--muted); font-size: 13px; }
.section-card-arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(22, 214, 196, 0.22), rgba(22, 214, 196, 0.06));
  border: 2px solid rgba(22, 214, 196, 0.35);
  color: var(--turq);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: arrowNudge 2.4s ease-in-out infinite;
}
.section-card:hover .section-card-arrow {
  transform: translateX(4px);
  background: rgba(22, 214, 196, 0.3);
  border-color: rgba(22, 214, 196, 0.6);
  box-shadow: 0 0 0 6px rgba(22, 214, 196, 0.12);
  animation: none;
}

.notfound { text-align: center; padding: 80px 20px; }
.notfound h1 { font-family: var(--font-display); font-size: 40px; margin: 0 0 8px; }
.notfound p { color: var(--muted); margin: 0 0 20px; }

/* ---------- Categoría: página de scroll por apartados ---------- */
.category-scroll-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 32px;
  align-items: start;
}
.category-scroll-content { min-width: 0; }

.category-apartado {
  padding: 56px 0 64px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.category-apartado:first-child { border-top: none; padding-top: 6px; }
.apartado-title {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 32px);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.apartado-title::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--turq);
  box-shadow: 0 0 14px rgba(22, 214, 196, 0.8);
}

.apartado-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.section-info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 24px;
  background: linear-gradient(180deg, rgba(8, 40, 50, 0.88), rgba(5, 28, 36, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.section-info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(22, 214, 196, 0.5);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}
.section-info-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(22, 214, 196, 0.22), rgba(22, 214, 196, 0.08));
  border: 2px solid rgba(22, 214, 196, 0.3);
  font-size: 30px;
  color: var(--turq);
  overflow: hidden;
}
.section-info-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.section-info-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.section-info-body strong {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.3px;
}
.section-info-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.section-info-body small {
  color: var(--turq);
  font-size: 12px;
  font-weight: 700;
}
.section-info-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--turq);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.section-info-arrow { font-size: 16px; transition: transform 0.2s ease; }
.section-info-card:hover .section-info-arrow { transform: translateX(4px); }

.category-scroll-rail {
  position: sticky;
  top: 36px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 12px 0 12px 30px;
  border-left: 3px solid rgba(255, 255, 255, 0.12);
}
.category-scroll-rail .scroll-arrow {
  position: absolute;
  left: -2px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 15px solid var(--turq);
  transform: translateY(-50%);
  transition: top 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  filter: drop-shadow(0 0 7px rgba(22, 214, 196, 0.75));
}
.rail-item {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.6px;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}
.rail-item:hover { color: var(--text); transform: translateX(3px); }
.rail-item.is-active { color: #fff; font-weight: 700; }

/* ---------- Sección: layout con selector de categorías ---------- */
.section-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.section-sidebar { position: sticky; top: 24px; }
.section-content { min-width: 0; }

/* ---------- Top donadores (home) ---------- */
.top-donors-section { margin-top: 60px; }
.top-donor-hero {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px 34px;
  background: linear-gradient(180deg, rgba(8, 40, 50, 0.9), rgba(5, 28, 36, 0.95));
  border: 1px solid rgba(22, 214, 196, 0.3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.top-donor-skin { width: 130px; height: 210px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.top-donor-skin img { height: 100%; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(22, 214, 196, 0.35)); }
.top-donor-info h2 { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 4vw, 36px); line-height: 1.1; }
.top-donor-info h2 span { color: var(--turq); }
.top-donor-info p { color: var(--muted); margin: 10px 0 18px; }
.top-donor-info .top-donor-badge {
  display: inline-block;
  background: #F4C95D;
  color: #041A22;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}
.top-donor-info h3 { margin: 14px 0 0; font-family: var(--font-display); font-size: 32px; line-height: 1; }

.top-donors-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.top-donor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.top-donor-medal { font-size: 34px; line-height: 1; }
.top-donor-head { width: 64px; height: 64px; image-rendering: pixelated; border-radius: 10px; background: rgba(255, 255, 255, 0.04); }
.top-donor-card strong { font-family: var(--font-display); font-size: 17px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; }
  .status-card { min-height: 0; }
  .info-grid { grid-template-columns: 1fr; }
  .category-scroll-layout { grid-template-columns: 1fr; }
  .category-scroll-rail { display: none; }
  .section-layout { grid-template-columns: 1fr; }
  .section-sidebar { position: static; }
}
@media (max-width: 700px) {
  .shop-header-inner { grid-template-columns: 1fr auto 1fr; padding: 14px 16px; gap: 10px; }
  .shop-logo img { width: 84px; height: 84px; }
  .account-text strong, .account-text small { display: none; }
  .cart-indicator .account-text { display: none; }
  .account-indicator, .cart-indicator { padding: 8px 10px; }
  .account-avatar { width: 48px; height: 48px; }
  .cart-icon { width: 48px; height: 48px; }
  .cart-icon svg { width: 36px; height: 36px; }
  .hero-side { flex-direction: column; }
  .secure-row { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .top-donor-hero { flex-direction: column; text-align: center; }
  .top-donors-podium { grid-template-columns: 1fr; }
  .featured-slide { padding: 22px 20px; }
  .featured { height: 300px; }
  .featured-price { font-size: 32px; }
  .featured-name { font-size: 26px; }
  .featured-arrow { width: 34px; height: 34px; font-size: 20px; }
  .shop-footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 460px) {
  .shop-main { padding: 18px 14px 60px; }
  .products-grid { grid-template-columns: 1fr; }
  .welcome-card h2 { font-size: 28px; }
  .modal-card { padding: 24px 18px; }
}

/* ---------- Refuerzo responsive: móvil, tablet y TV ---------- */
@media (min-width: 1600px) {
  .shop-header-inner, .shop-main, .shop-footer-inner, .shop-footer-creator { max-width: 1560px; }
  .shop-main { padding-left: 40px; padding-right: 40px; }
  .featured { height: 460px; }
  .featured-name { font-size: clamp(32px, 3vw, 50px); }
  .welcome-card h2 { font-size: 42px; }
  .products-grid { gap: 20px; }
}

@media (max-width: 380px) {
  .shop-header-inner { padding: 12px 10px; gap: 6px; }
  .shop-logo img { width: 64px; height: 64px; }
  .account-avatar { width: 40px; height: 40px; }
  .cart-icon { width: 40px; height: 40px; }
  .cart-icon svg { width: 30px; height: 30px; }
  .modal-card { padding: 22px 14px; }
  .featured { height: 280px; }
  .featured-slide { padding: 18px 14px; }
  .featured-name { font-size: 22px; }
  .featured-price { font-size: 26px; }
  .welcome-card { padding: 24px 18px; }
  .stream-head-row { gap: 10px; }
  .stream-head-creators { font-size: 12px; padding: 8px 14px; }
}

/* ---------- Recomendación de rango (checkout) ---------- */
.rank-recommend-list { display: flex; flex-direction: column; gap: 10px; }
.rr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.rr-icon { width: 40px; height: 40px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.rr-icon img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.rr-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rr-body strong { font-family: var(--font-display); font-size: 15px; }
.rr-body small { color: var(--muted); font-size: 12px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rr-price { font-weight: 800; color: var(--turq); font-size: 15px; white-space: nowrap; }
.rr-item .shop-btn { flex: 0 0 auto; padding: 9px 14px; font-size: 13px; }
