:root {
  /* ===== TEMA MORADO NEON ===== */
  --color-primary: #9d4edd;            /* acento principal: links, iconos, bordes */
  --color-primary-hover: #c77dff;      /* hover más brillante */
  --color-primary-text: #ffffff;       /* texto sobre botones rojos */
  --color-primary-text-hover: #ffffff;

  --color-brighter-bg: #100417;        /* tarjetas/cajas: negro con tinte rojo */
  --color-sale-banner-bg: #100417;     /* fondo del banner de oferta */
  --color-sale-banner-text: #c77dff;   /* texto del banner de oferta */

  /* ===== NUEVO · acentos NEÓN + PLATEADO METALIZADO ===== */
  --color-neon: #c77dff;               /* brillo neón morado claro */
  --color-neon-soft: #9d4edd;          /* neón base */
  --color-silver-1: #f4f4f8;           /* plata clara (brillo) */
  --color-silver-2: #c8c8d4;           /* plata media */
  --color-silver-3: #8a8a99;           /* plata sombra */
  /* degradado plateado metalizado reutilizable */
  --metal-silver: linear-gradient(135deg, #f4f4f8 0%, #c8c8d4 28%, #8a8a99 52%, #c8c8d4 76%, #f4f4f8 100%);

  --bg-image: none;
}

body {
  font-family: Lato, sans-serif;
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  max-height: 600px;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 520px at 50% -40px, rgba(157, 78, 221, 0.30), rgba(0, 0, 0, 0) 70%),
    radial-gradient(ellipse 120% 380px at 50% 0%, rgba(45, 10, 90, 0.45), rgba(0, 0, 0, 0) 75%);
  pointer-events: none;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 5px;
}

.btn-primary:hover, .btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus {
  box-shadow: 0 0 6px rgb(from var(--btn-color-bg-hover) r g b/0.6);
}

.quantity-field {
  border-radius: 7px;
}

.site-header-inner .info .image {
  border-radius: 7px;
}

.site-sale-banner {
  border-radius: 7px;
}

.site-home-categories .category {
  border-radius: 7px;
  padding: 20px var(--widget-padding);
  background: var(--color-brighter-bg);
  transition: color 0.15s ease-in-out;
}
.site-home-categories .category:hover {
  color: var(--color-primary);
}

.category-description {
  border-radius: 7px;
  background: var(--color-brighter-bg);
}

.store-text {
  border-radius: 7px;
  background: var(--color-brighter-bg);
}
.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
  text-align: center;
}

.store-products-list .store-product,
.store-products-images .store-product {
  border-radius: 7px;
  background: var(--color-brighter-bg);
}

.store-products-images .store-product {
  text-align: center;
}

.widget-title {
  text-align: center;
}

.widget .store-product {
  text-align: center;
}

.no-products {
  color: var(--color-text-secondary);
  background: var(--color-brighter-bg);
  border-radius: 7px;
}

.store-product-full {
  border-radius: 7px;
  background: var(--color-brighter-bg);
}

.store-product .quantity-field {
  border-radius: 7px;
  background: var(--color-brighter-bg);
}
.store-product .quantity-field input[type=number] {
  border: none;
}

@media (width > 960px) {
  .navigation-horizontal > ul {
    border-radius: 7px;
  }
}
.navigation-horizontal .has-children > ul {
  border-radius: 7px;
}

.widget {
  border-radius: 7px;
  background: var(--color-brighter-bg);
}
@media (width <= 960px) {
  .widget.site-navigation {
    border-radius: 0;
    background: transparent;
  }
}

.widget-gift-card .gift-card-input {
  border-radius: 5px;
}

.widget-top-donator .avatar {
  border-radius: 50%;
}

.widget-community-goal .progress,
.widget-goal .progress {
  border-radius: 5px;
}
.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  border-radius: 5px;
}

.popup-content {
  border-radius: 7px;
}

.popup-close {
  border-radius: 0 5px 0 5px;
}

.basket-popup-content,
.basket-popup-content .popup-close {
  border-radius: 0;
}

.basket-items {
  padding: var(--widget-padding) calc(var(--content-padding) - var(--widget-padding));
}

.basket-item {
  border-radius: 7px;
}
.basket-item .quantity {
  border-radius: 5px;
}

.toast {
  border-radius: 6px;
}

.toast-close {
  border-radius: 5px;
}

.store-category-tiered {
  border-radius: 7px;
  background: var(--color-brighter-bg);
}

.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3,
.store-category-tiered-header h4,
.store-category-tiered-header h5,
.store-category-tiered-header h6 {
  text-align: center;
}

.store-product-tiered {
  border-radius: 7px;
  background: rgb(from var(--color-bg) r g b/0.5);
}

.media-slider .slider,
.media-slider .thumb {
  border-radius: 7px;
}
.media-slider .open-lightbox {
  border-radius: 5px;
}

.popup.popup-media-slider .thumb {
  border-radius: 7px;
}
.popup.popup-media-slider .popup-close {
  border-radius: 7px;
}

/* =========================================================
   TEMA MORADO NEON · EFECTOS DE MARKETING VISUAL PREMIUM
   ========================================================= */

/* Transiciones suaves globales para que todo se sienta "vivo" */
.store-product,
.btn-primary,
.btn-secondary,
.site-home-categories .category,
.navigation-horizontal .menu > li > a {
  transition: transform .2s ease, box-shadow .2s ease,
              border-color .2s ease, background-color .2s ease, color .2s ease;
}

/* ---------- Tarjetas de producto: elevación + glow rojo ---------- */
.store-products-list .store-product,
.store-products-images .store-product,
.widget .store-product {
  border: 1px solid rgba(157, 78, 221, 0.18);
  position: relative;
  overflow: hidden;
}
.store-products-list .store-product:hover,
.store-products-images .store-product:hover,
.widget .store-product:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 125, 255, 0.65);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6),
              0 0 22px rgba(157, 78, 221, 0.35);
}

/* Barra de luz que recorre la tarjeta al pasar el ratón */
.store-product::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(115deg,
              rgba(255, 255, 255, 0) 0%,
              rgba(210, 150, 255, 0.12) 50%,
              rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  transition: left .6s ease;
}
.store-product:hover::after {
  left: 130%;
}

/* Zoom suave de la imagen del producto */
.store-product .image,
.store-product img {
  transition: transform .35s ease;
}
.store-product:hover .image,
.store-product:hover img {
  transform: scale(1.05);
}

/* ---------- Precio con acento rojo ---------- */
.store-product .price,
.price {
  color: var(--color-primary);
  font-weight: 900;
  text-shadow: 0 0 14px rgba(157, 78, 221, 0.45);
}

/* ---------- Botones primarios: degradado + barrido brillante ---------- */
.btn-primary {
  background: linear-gradient(135deg, #9d4edd 0%, #3b0a6b 100%);
  position: relative;
  overflow: hidden;
  font-weight: 800;
  letter-spacing: .03em;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #c77dff 0%, #5a189a 100%);
  box-shadow: 0 0 16px rgba(199, 125, 255, 0.55);
  transform: translateY(-1px);
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
              rgba(255, 255, 255, 0) 0%,
              rgba(255, 255, 255, 0.35) 50%,
              rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  transition: left .5s ease;
}
.btn-primary:hover::before {
  left: 140%;
}

/* ---------- Banner de oferta: borde y latido rojo ---------- */
.site-sale-banner {
  border: 1px solid rgba(157, 78, 221, 0.45);
  box-shadow: inset 0 0 26px rgba(157, 78, 221, 0.18);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  animation: bloodPulse 2.6s ease-in-out infinite;
}
@keyframes bloodPulse {
  0%, 100% { box-shadow: inset 0 0 26px rgba(157, 78, 221, 0.18); }
  50%      { box-shadow: inset 0 0 36px rgba(199, 125, 255, 0.30); }
}

/* ---------- Categorías de la portada: borde y glow al pasar ---------- */
.site-home-categories .category {
  border: 1px solid rgba(157, 78, 221, 0.18);
}
.site-home-categories .category:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 125, 255, 0.6);
  box-shadow: 0 0 18px rgba(157, 78, 221, 0.3);
}

/* ---------- Menú de navegación: subrayado rojo animado ---------- */
.navigation-horizontal .menu > li > a {
  position: relative;
}
.navigation-horizontal .menu > li > a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  box-shadow: 0 0 8px rgba(157, 78, 221, 0.7);
}
.navigation-horizontal .menu > li > a:hover::after,
.navigation-horizontal .menu > li > a.link-active::after {
  transform: scaleX(1);
}

/* ---------- Títulos del contenido con acento rojo ---------- */
.store-text h1,
.store-text h2 {
  color: var(--color-primary);
  text-shadow: 0 0 18px rgba(157, 78, 221, 0.35);
}

/* ---------- Selección de texto y scrollbar a juego ---------- */
::selection {
  background: rgba(157, 78, 221, 0.85);
  color: #fff;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #070310;
}
::-webkit-scrollbar-thumb {
  background: #3c096d;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9d4edd;
}

/* =========================================================
   FASE 2 · HERO + TARJETAS + BANNER MARQUESINA
   ========================================================= */

/* ---------- HERO: logo a la izquierda, imagen a la derecha ---------- */
/* ===== HERO CORPORATIVO (estilo Tebex en rojo sangre) ===== */
.site-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 2rem;
  max-width: var(--content-width, 1200px);
  margin: 0 auto;
  padding: 3.5rem var(--content-padding, 2rem) 3rem;
  text-align: left;
}

/* ---------- Columna izquierda ---------- */
.hero-left {
  max-width: 560px;
}
.hero-brand {
  display: block;
  height: 140px;
  width: auto;
  margin: 0 auto 1.6rem;
  filter: drop-shadow(0 0 26px rgba(157, 78, 221, 0.55));
}
.hero-headline {
  margin: 0 0 1.1rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #fff;
  text-align: left;
}
.hero-headline .accent {
  color: var(--color-primary);
  text-shadow: 0 0 26px rgba(157, 78, 221, 0.5);
}
.hero-sub {
  margin: 0 0 1.8rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: 6px;
}
.hero-cta svg {
  width: 22px;
  height: 22px;
}

/* ---------- Columna derecha: escenario flotante ---------- */
.hero-art {
  position: relative;
  width: 100%;
  min-height: 520px;
}
.hero-art > * {
  position: absolute;
}
.hero-float {
  animation: floatY 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

/* gráfica */
.hero-chart {
  top: 0;
  right: 4%;
  width: 46%;
  padding: 12px 14px;
  background: #0c0418;
  border: 1px solid rgba(157, 78, 221, 0.25);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
  animation-duration: 7s;
  z-index: 1;
}
.hero-chart-title {
  font-size: .72rem;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}
.hero-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

/* personaje / render */
.hero-character {
  top: 6%;
  left: 18%;
  width: 60%;
  display: flex;
  justify-content: center;
  animation-duration: 8s;
  z-index: 2;
}
.hero-character img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(157, 78, 221, 0.45));
  transition: transform .4s ease, filter .4s ease;
}
.hero-character:hover img {
  transform: scale(1.05) translateY(-4px);
  filter: drop-shadow(0 0 55px rgba(199, 125, 255, 0.85));
}

/* tarjetas de producto flotantes */
.hero-card {
  width: 40%;
  padding: 14px;
  background: rgba(16, 4, 23, 0.92);
  border: 1px solid rgba(157, 78, 221, 0.35);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 22px rgba(157, 78, 221, 0.2);
  backdrop-filter: blur(4px);
  text-align: left;
  z-index: 3;
}
.hero-card--1 {
  bottom: 8%;
  left: 0;
  animation-duration: 5.5s;
  animation-delay: -2s;
}
.hero-card--2 {
  bottom: 22%;
  right: 0;
  animation-duration: 6.5s;
  animation-delay: -1s;
}
.hero-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;
  background: #070310;
}
.hero-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card-name {
  display: block;
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
}
.hero-card-price {
  display: block;
  margin: 2px 0 10px;
  color: var(--color-primary);
  font-weight: 900;
}
.hero-card-btn {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 5px;
  background: linear-gradient(135deg, #9d4edd, #3b0a6b);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* ---------- Responsivo del hero ---------- */
@media (width <= 900px) {
  .site-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-left {
    max-width: none;
    margin: 0 auto;
  }
  .hero-headline { text-align: center; }
  .hero-brand,
  .hero-cta { margin-left: auto; margin-right: auto; }
  .hero-art {
    min-height: 440px;
    margin-top: 1rem;
  }
}
@media (width <= 560px) {
  .hero-art {
    min-height: 360px;
    transform: scale(.82);
    transform-origin: top center;
  }
}
.site-hero-logo {
  max-width: 380px;
  width: 100%;
  height: auto;
}
.site-hero-logo-text {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
}
.site-hero-title {
  margin: 1.2rem 0 .6rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 26px rgba(157, 78, 221, 0.5);
}
.site-hero-sub {
  color: var(--color-text-secondary);
  font-size: 1rem;
}
.site-hero-art {
  display: flex;
  justify-content: center;
}
.site-hero-art img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 45px rgba(157, 78, 221, 0.45));
  animation: heroFloat 5s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ---------- TARJETAS DE CARACTERÍSTICAS (3 columnas) ---------- */
.site-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--content-width, 1200px);
  margin: 2.5rem auto;
  padding: 0 var(--content-padding, 2rem);
}
.site-feature {
  background: var(--color-brighter-bg);
  border: 1px solid rgba(157, 78, 221, 0.18);
  border-radius: 7px;
  padding: 2.2rem 1.6rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.site-feature:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 125, 255, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6),
              0 0 22px rgba(157, 78, 221, 0.3);
}
.site-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: var(--color-primary);
  background: rgba(157, 78, 221, 0.10);
  box-shadow: 0 0 18px rgba(157, 78, 221, 0.25);
}
.site-feature-icon svg {
  width: 30px;
  height: 30px;
}
.site-feature h3 {
  margin-bottom: .6rem;
  color: var(--color-primary);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .02em;
  text-shadow: 0 0 14px rgba(157, 78, 221, 0.4);
}
.site-feature p {
  color: var(--color-text-secondary);
  font-size: .92rem;
  line-height: 1.55;
}

/* ---------- BANNER EN MARQUESINA (texto que se desliza) ---------- */
.site-sale-banner {
  overflow: hidden;
  padding: 10px 0;
  white-space: nowrap;
}
.site-sale-banner .marquee {
  display: flex;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}
.site-sale-banner .marquee-track {
  display: flex;
  flex: 0 0 auto;
}
.site-sale-banner .marquee-track span {
  padding: 0 2.5rem;
  white-space: nowrap;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Responsivo: apila en móvil ---------- */
@media (width <= 860px) {
  .site-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .site-hero-logo { margin: 0 auto; }
  .site-features { grid-template-columns: 1fr; }
}

/* Respeta a quien prefiere menos animación */
@media (prefers-reduced-motion: reduce) {
  .store-product,
  .btn-primary,
  .site-home-categories .category,
  .site-feature { transition: none; }
  .site-sale-banner { animation: none; }
  .site-sale-banner .marquee { animation: none; }
  .site-hero-art img,
  .hero-float { animation: none; }
  .store-product::after,
  .btn-primary::before { display: none; }
}

/* =========================================================
   FASE 3 · ORDEN: barra de botones · banner full-width · hero
   ========================================================= */

/* ---------- 1) Quitar el LOGO doble de la cabecera (en la portada) ---------- */
/*    El logo grande queda solo en el HERO. La barra de arriba se vuelve
      una franja fina con los botones (Inicio / Iniciar sesión). */
body.page-index .site-header-inner {
  height: auto;
  min-height: 56px;
}
body.page-index .site-header-inner .site-title {
  display: none;
}

/* ---------- 2) Botones de la cabecera: Inicio + Iniciar sesión ---------- */
.site-home-link,
.site-header-inner .log-in {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.site-home-link svg,
.site-header-inner .log-in svg {
  width: 18px;
  height: 18px;
}
.site-home-link:hover,
.site-header-inner .log-in:hover {
  color: var(--color-primary);
}

/* ---------- 3) Banner deslizante de EXTREMO A EXTREMO (full-width) ---------- */
.site-sale-banner {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  padding: 12px 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  overflow: hidden;
  white-space: nowrap;
}
/* (la pausa al pasar el ratón se eliminó: ahora se desliza siempre) */

/* =========================================================
   FASE 4 · Cabecera con aire + banner fino y elegante
   ========================================================= */

/* Más altura en la cabecera para que el botón "Inicio" NO choque
   con el banner deslizante de abajo. */
body.page-index .site-header-inner {
  min-height: 78px;
  padding-bottom: 16px;
}

/* Banner deslizante REFINADO: fino, sobrio y con clase
   (texto pequeño + mucho espaciado entre letras, sin latido). */
.site-sale-banner {
  padding: 7px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #070310 0%, #140826 50%, #070310 100%);
  border-top: 1px solid rgba(157, 78, 221, 0.30);
  border-bottom: 1px solid rgba(157, 78, 221, 0.30);
  box-shadow: none;   /* quita el resplandor pulsante anterior */
  animation: none;    /* quita el "latido", queda más elegante */
}
.site-sale-banner .marquee-track span {
  padding: 0 2.2rem;
  opacity: .92;
}

/* =========================================================
   FASE 5 · Barra de navegación corporativa (con desplegables)
   ========================================================= */

/* Alinea verticalmente Inicio + la nav en la cabecera */
.site-header-inner .actions {
  align-items: center;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.primary-nav .nav-item {
  position: relative;
}

/* Botón/enlace de cada apartado */
.primary-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  margin: 0;
  background: transparent;
  border: 0;
  color: var(--color-text);
  font-family: inherit;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}
.primary-nav .nav-link:hover {
  color: var(--color-primary);
  background: rgba(157, 78, 221, 0.08);
}
.primary-nav .nav-caret {
  width: 11px;
  height: 11px;
  transition: transform .2s ease;
}
.primary-nav .nav-item:hover .nav-caret {
  transform: rotate(180deg);
}

/* Panel desplegable */
.primary-nav .nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding: 8px;
  background: #0c0418;
  border: 1px solid rgba(157, 78, 221, 0.30);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 22px rgba(157, 78, 221, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 50;
}
/* Puente invisible para que no se cierre al bajar el cursor hacia el panel */
.primary-nav .nav-dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.primary-nav .nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Enlaces dentro del desplegable */
.primary-nav .nav-dropdown-link {
  display: block;
  padding: 10px 12px;
  color: var(--color-text-secondary);
  font-size: .9rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color .15s ease, color .15s ease, padding-left .15s ease;
}
.primary-nav .nav-dropdown-link:hover {
  background: rgba(157, 78, 221, 0.15);
  color: #fff;
  padding-left: 16px;
}
.primary-nav .nav-dropdown-empty {
  display: block;
  padding: 10px 12px;
  color: var(--color-text-secondary);
  font-size: .85rem;
  font-style: italic;
  opacity: .7;
}

/* En móvil se oculta esta barra y se usa el menú hamburguesa */
@media (width <= 960px) {
  .primary-nav {
    display: none;
  }
}

/* =========================================================
   FASE 6 · Grupo derecho: nav (Productos…) + Iniciar sesión
   ========================================================= */

/* El grupo de la derecha junta la barra de menús con el login,
   y los coloca a la derecha de la cabecera (Inicio queda a la izquierda). */
.site-header-inner .header-right {
  position: absolute;
  top: var(--widget-padding);
  right: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 5;
}

/* Dentro del grupo, el login deja de estar "pegado" al borde por su cuenta
   y fluye en línea junto a los botones de la nav. */
.site-header-inner .header-right .log-in,
.site-header-inner .header-right .user-actions {
  position: static;
  top: auto;
  right: auto;
}

/* =========================================================
   FASE 7 · Marcas de confianza + Vídeo de presentación
   ========================================================= */

/* ---------- Marcas de confianza ---------- */
.site-trust {
  max-width: var(--content-width, 1200px);
  margin: 1.5rem auto 0;
  padding: 1.5rem var(--content-padding, 2rem);
  text-align: center;
}
.trust-label {
  margin: 0 0 1.4rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  opacity: .8;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 3.5rem;
}
.trust-logo {
  display: inline-flex;
  align-items: center;
  height: 40px;
  filter: grayscale(1) brightness(1.7);
  opacity: .7;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.trust-logo:hover {
  filter: none;
  opacity: 1;
  transform: translateY(-2px);
}
.trust-logo img {
  height: 100%;
  width: auto;
}
.trust-logo-fallback {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: .01em;
}

/* ---------- Vídeo de presentación ---------- */
.site-video {
  max-width: 980px;
  margin: 2.5rem auto 1rem;
  padding: 0 var(--content-padding, 2rem);
}
.video-frame {
  display: block;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;   /* 16:9 garantizado (no depende de aspect-ratio) */
  border-radius: 12px;
  overflow: hidden;
  background: #070310;
  border: 1px solid rgba(157, 78, 221, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(157, 78, 221, 0.18);
  text-decoration: none;
}
.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #000;
}
/* Marcador de posición mientras no hay vídeo */
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--color-text-secondary);
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(157, 78, 221, 0.12), rgba(0, 0, 0, 0) 70%),
    #070310;
}
.video-placeholder svg {
  width: 64px;
  height: 64px;
  padding: 18px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #9d4edd, #3b0a6b);
  box-shadow: 0 0 26px rgba(157, 78, 221, 0.5);
}
.video-placeholder span {
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Miniatura de vídeo con botón de play (carga el reproductor al hacer clic) */
.video-lite {
  cursor: pointer;
}
.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease, filter .3s ease;
}
.video-lite:hover .video-thumb {
  transform: scale(1.04);
  filter: brightness(.85);
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #9d4edd, #3b0a6b);
  box-shadow: 0 0 30px rgba(157, 78, 221, 0.6);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-lite:hover .video-play {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 44px rgba(199, 125, 255, 0.85);
}
.video-play svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
}

/* =========================================================
   FASE 8 · Interfaz más ANCHA + cabecera a ras de los bordes
   ========================================================= */

/* 1) Ensancha TODO el contenido (hero, secciones, footer…).
      La plantilla lo tenía en 1280px → se veía estrecho. */
:root {
  --content-inner-width: 1560px;
}

/* 2) Cabecera a lo ancho COMPLETO: así "Inicio" queda a ras del borde
      izquierdo y los botones de la derecha a ras del derecho. */
@media (width > 960px) {
  .site-header {
    max-width: none;
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* 3) Hero más grande y con más presencia (texto y personaje). */
.hero-left {
  max-width: 640px;
}
.hero-headline {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}
@media (width > 900px) {
  .hero-art {
    min-height: 600px;
  }
  .hero-character {
    width: 66%;
    left: 16%;
  }
}

/* =========================================================
   FASE 9 · Personaje más grande + etiqueta del vídeo
   ========================================================= */

/* Etiqueta de texto del vídeo (se ve siempre, aunque la miniatura falle) */
.video-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

/* Personaje MÁS GRANDE: sube casi hasta el banner (sin chocar). */
.site-hero {
  padding-top: 1.4rem;
}
@media (width > 900px) {
  .hero-art {
    min-height: 820px;
  }
  .hero-character {
    width: 96%;
    left: 2%;
    top: 0;
  }
}

/* =========================================================
   FASE 10 · Capas: cabecera y menús SIEMPRE por encima del hero
   ========================================================= */

/* El personaje del hero ya no tapa los desplegables de "Productos", etc.
   La cabecera (y sus menús) se ponen por encima de todo el contenido. */
.site-header {
  z-index: 100;
}
.hero-character {
  z-index: 2;
}

/* =========================================================
   FASE 11 · Reducir el hueco entre el hero y "Con la confianza…"
   ========================================================= */
.site-hero {
  padding-bottom: 0;
}
.site-trust {
  margin-top: 0;
}
@media (width > 900px) {
  .hero-art {
    min-height: 660px;   /* antes 820px → menos hueco debajo del personaje */
  }
}

/* =========================================================
   FASE 12 · Vídeo decorado premium (marco rojo + esquinas HUD)
   ========================================================= */
.site-video .video-heading {
  margin: 0 0 1rem;
  text-align: center;
  color: var(--color-primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .85rem;
  text-shadow: 0 0 16px rgba(157, 78, 221, 0.5);
}

/* Marco con borde degradado rojo + glow */
.video-shell {
  position: relative;
  padding: 10px;
  border-radius: 16px;
  border: 2px solid transparent;
  background:
    linear-gradient(#070310, #070310) padding-box,
    linear-gradient(135deg, #c77dff, #240046 50%, #c77dff) border-box;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(157, 78, 221, 0.25);
  transition: box-shadow .3s ease, transform .3s ease;
}
.video-shell:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.8), 0 0 65px rgba(199, 125, 255, 0.45);
}
.video-shell video {
  border-radius: 10px;
}

/* Esquinas tipo HUD/gaming en rojo */
.video-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-primary);
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(157, 78, 221, 0.8));
}
.video-corner--tl { top: -3px; left: -3px; border-right: 0; border-bottom: 0; border-radius: 16px 0 0 0; }
.video-corner--tr { top: -3px; right: -3px; border-left: 0; border-bottom: 0; border-radius: 0 16px 0 0; }
.video-corner--bl { bottom: -3px; left: -3px; border-right: 0; border-top: 0; border-radius: 0 0 0 16px; }
.video-corner--br { bottom: -3px; right: -3px; border-left: 0; border-top: 0; border-radius: 0 0 16px 0; }

/* =========================================================
   FASE 13 · Menos hueco vídeo↔tarjetas + páginas de producto sin sidebar
   ========================================================= */

/* Acerca las 3 tarjetas al vídeo */
.site-features {
  margin-top: 1rem;
}

/* Páginas de categoría / producto: ahora SIN barra lateral → a lo ancho.
   La rejilla de productos se reparte sola y se ve más amplia. */
.store-products-images,
.store-products-list {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr;
}
@media (width > 600px) {
  .store-products-images,
  .store-products-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (width > 1000px) {
  .store-products-images,
  .store-products-list {
    grid-template-columns: repeat(4, 1fr);   /* 4 columnas grandes en escritorio */
  }
}

/* Descripción de la categoría: tarjeta centrada y con aire */
.category-description {
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.6rem;
  border: 1px solid rgba(157, 78, 221, 0.18);
}

/* Producto individual a lo ancho y centrado */
.store-product-full {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(157, 78, 221, 0.18);
}
.store-product-full .product-title {
  text-align: center;
}

/* =========================================================
   FASE 14 · Páginas internas: logo de cabecera compacto + flote/brillo
   ========================================================= */

/* En categorías/producto el logo estaba MUY separado (cabecera de 355px).
   La hacemos compacta: botones arriba y el logo justo debajo, cerca del banner. */
@media (width > 960px) {
  body:not(.page-index) .site-header-inner {
    height: auto;
    min-height: 0;
    padding: 44px 0 10px;   /* antes 72px/18px → cabecera más fina */
    text-align: center;
  }
  body:not(.page-index) .site-header-inner .site-title {
    position: static;
    inset: auto;
    margin: 0 auto;
    width: fit-content;
  }
}

/* El logo flota y brilla en rojo, como el personaje de la portada. */
body:not(.page-index) .site-header-inner .site-title img {
  max-height: 76px;
  filter: drop-shadow(0 0 26px rgba(157, 78, 221, 0.55));
  animation: floatY 5s ease-in-out infinite;
}

/* Flote más corto para el logo de la cabecera: al ir tan pegado arriba,
   el vaivén de 16px se salía por el borde superior. */
@keyframes floatYShort {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* Pantallas anchas: entre "Inicio" (izquierda) y el menú (derecha) queda
   sitio de sobra en el centro, así que el logo puede SUBIR hasta arriba
   (se acaba el hueco) y a la vez hacerse MÁS GRANDE sin chocar con nada.
   Por debajo de 1400px se mantiene el logo debajo del menú, que si no
   se montarían el uno sobre el otro. */
@media (width > 1400px) {
  body:not(.page-index) .site-header-inner {
    padding: 8px 0 4px;
  }

  /* El PNG del logo trae margen transparente arriba y abajo, así que lo
     agrandamos un poco y le recortamos ese margen con márgenes negativos:
     el logo se ve más grande pero la franja ocupa poco.
     OJO: el recorte no puede pasarse o, al flotar, el logo se sale por
     arriba y se corta. Con -16px queda holgura de sobra para el vaivén. */
  body:not(.page-index) .site-header-inner .site-title img {
    max-height: 130px;
    margin-block: -16px;
    animation: floatYShort 5s ease-in-out infinite;
  }
}

/* =========================================================
   FASE 15 · Footer con "Volver arriba" + enlaces
   ========================================================= */

/* Hace que "Volver arriba" suba de forma SUAVE al inicio */
html {
  scroll-behavior: smooth;
}

.site-footer {
  border-top: 1px solid rgba(157, 78, 221, 0.18);
}
.site-footer-inner {
  padding-top: 2.6rem;
  padding-bottom: 1.6rem;
}

/* Volver arriba (flecha + texto, centrado) */
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 2.4rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .2s ease, transform .2s ease;
}
.footer-top svg {
  width: 22px;
  height: 22px;
}
.footer-top:hover {
  color: var(--color-primary);
  transform: translateY(-3px);
}

/* Enlaces del footer (Soluciones · Normativa · Comunidad · Términos) */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.8rem;
  margin: 0 auto 2rem;
}
.footer-nav a {
  position: relative;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .18s ease;
}
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
  box-shadow: 0 0 8px rgba(157, 78, 221, 0.7);
}
.footer-nav a:hover {
  color: var(--color-primary);
}
.footer-nav a:hover::after {
  transform: scaleX(1);
}

/* Línea separadora antes de los métodos de pago */
.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 1100px;
  margin: 0 auto 1.5rem;
}

/* =========================================================
   FASE 16 · Footer en columnas (estilo Tebex) + logo a la derecha
   ========================================================= */
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem 3rem;
  max-width: 1100px;
  margin: 0 auto 2.8rem;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 2rem 3rem;
  flex: 1 1 520px;
}
.footer-col h4 {
  margin: 0 0 1.1rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.footer-col a {
  display: block;
  margin-bottom: .8rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: .9rem;
  transition: color .15s ease, padding-left .15s ease;
}
.footer-col a:hover {
  color: var(--color-primary);
  padding-left: 5px;
}
/* Logo a la derecha (donde el lobo en la inspiración) */
.footer-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 1rem;
}
.footer-brand img {
  max-height: 130px;
  width: auto;
  filter: drop-shadow(0 0 22px rgba(157, 78, 221, 0.4));
}
@media (width <= 760px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand {
    width: 100%;
    margin-top: 1rem;
    padding-right: 0;
  }
}

/* =========================================================
   FASE 17 · Menos hueco entre "Con la confianza…" y las categorías
   ========================================================= */
.site-trust {
  padding-top: 0.8rem;
  padding-bottom: 0.4rem;
}
.site-trust .trust-label {
  margin-bottom: 1rem;
}
.site-home-categories {
  margin-top: 0.4rem;
}

/* =========================================================
   FASE 18 · Arreglo del HUECO GIGANTE + footer ordenado
   ========================================================= */

/* El grid de Tebex usaba "1fr" en una fila intermedia, que inflaba
   justo la zona de "Con la confianza…". En la portada dejamos todas
   las filas a su tamaño natural → se acaba el hueco gigante.
   (Selector reforzado para ganarle en especificidad a la regla de Tebex.) */
body.page-index .site,
body.page-index.home-categories-enabled .site {
  grid-auto-rows: auto !important;
}

/* Los iconos de pago estaban flotando (position:absolute) a la derecha
   y se montaban con el logo. Los pasamos a una barra inferior ordenada. */
@media (width > 960px) {
  .site-footer-inner .we-accept {
    position: static;
    right: auto;
    top: auto;
    bottom: auto;
    pointer-events: auto;
  }
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-bottom .copyright {
  margin: 0;
}

/* =========================================================
   FASE 19 · Páginas de info (CMS) sin sidebar: texto legible y centrado
   ========================================================= */
.store-text {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 2.4rem;
  border: 1px solid rgba(157, 78, 221, 0.18);
}

/* =========================================================
   FASE 20 · Hero: SOLO el texto/logo más a la izquierda
   (alineados con "Inicio"). NO toca el personaje ni el grid.
   ========================================================= */
@media (width >= 1660px) {
  /* Desplazamiento puramente visual (transform) del bloque de texto:
     lo lleva a ~40px del borde, alineado con el botón "Inicio".
     El personaje y los cuadros flotantes quedan EXACTAMENTE igual. */
  .hero-left {
    transform: translateX(calc((1656px - 100vw) / 2 - 8px));
  }
}

/* =========================================================
   FASE 21 · NEÓN MORADO + PLATEADO METALIZADO
   Solo añade brillo/acabado; NO sustituye los efectos previos.
   ========================================================= */

/* --- Titular principal: acento con brillo neón morado --- */
.hero-headline .accent {
  color: var(--color-neon);
  text-shadow:
    0 0 6px  rgba(199, 125, 255, 0.65),
    0 0 18px rgba(157, 78, 221, 0.55),
    0 0 40px rgba(157, 78, 221, 0.35);
}

/* --- Botón principal (Discord/CTA): halo neón al pasar el ratón --- */
.btn-primary,
.hero-cta {
  position: relative;
}
.btn-primary:hover,
.btn-primary:focus,
.hero-cta:hover,
.hero-cta:focus {
  box-shadow:
    0 0 10px rgba(199, 125, 255, 0.7),
    0 0 26px rgba(157, 78, 221, 0.5),
    0 0 48px rgba(157, 78, 221, 0.3);
}

/* --- Acabado PLATEADO METALIZADO en textos clave (marca y precios) --- */
.hero-card-price,
.trust-label,
.video-heading {
  background: var(--metal-silver);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* leve relieve para sensación de metal */
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.45));
}

/* --- Tarjetas de característica: filo plateado superior + glow morado --- */
.site-feature {
  position: relative;
}
.site-feature::after {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: var(--metal-silver);
  opacity: 0.55;
  pointer-events: none;
}
.site-feature-icon {
  box-shadow: 0 0 14px rgba(157, 78, 221, 0.35);
  transition: box-shadow 0.2s ease-in-out;
}
.site-feature:hover .site-feature-icon {
  box-shadow:
    0 0 16px rgba(199, 125, 255, 0.6),
    0 0 34px rgba(157, 78, 221, 0.4);
}

/* --- Logos de confianza: brillo neón sutil al pasar el ratón --- */
.trust-logo img {
  transition: filter 0.2s ease-in-out;
}
.trust-logo:hover img {
  filter: drop-shadow(0 0 10px rgba(199, 125, 255, 0.7));
}

/* --- Líneas/bordes con tinte plateado para reforzar lo metálico --- */
.site-trust,
.footer-bottom {
  border-color: rgba(200, 200, 212, 0.14);
}

/* =========================================================
   FASE 22 · TARJETAS DE SUBCATEGORÍA
   (p. ej. "Armas" → PAQUETES / SUSCRIPCIONES / CANJEABLES)
   Tebex no manda los paquetes de las subcategorías a la página
   de la categoría padre, así que ésta hace de portada de acceso.
   ========================================================= */

/* Tarjetas de ancho ACOTADO (máx. 300px): las imágenes de categoría de Tebex
   son pequeñas, así que si la tarjeta se estira demasiado la imagen se amplía
   y se ve borrosa. Acotando el ancho se muestran a tamaño natural → nítidas. */
.store-subcategories {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 300px));
  justify-content: center;
  margin-top: 0.5rem;
}

/* Misma proporción y acabado que las tarjetas de paquete: la imagen NO
   llega a los bordes, queda enmarcada por el relleno de la tarjeta. */
.store-subcategory-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--widget-padding);
  border: 1px solid rgba(157, 78, 221, 0.18);
  border-radius: 7px;
  background: var(--color-brighter-bg);
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.2s ease-in-out,
    border-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
}

.store-subcategory-card:hover,
.store-subcategory-card:focus {
  transform: translateY(-6px);
  border-color: rgba(199, 125, 255, 0.65);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.6),
    0 0 22px rgba(157, 78, 221, 0.35);
}

/* ---- Texto de la tarjeta ---- */
.store-subcategory-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

/* Mismo tamaño de título que el de los paquetes */
.store-subcategory-card-name {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.store-subcategory-card-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-neon);
  transition: gap 0.2s ease-in-out, text-shadow 0.2s ease-in-out;
}
.store-subcategory-card-go::after {
  content: "→";
}
.store-subcategory-card:hover .store-subcategory-card-go {
  gap: 0.8rem;
  text-shadow: 0 0 12px rgba(199, 125, 255, 0.6);
}

/* =========================================================
   FASE 23 · MARCO ÚNICO PARA TODAS LAS IMÁGENES
   Se aplica a las TRES cosas que muestran imagen, para que
   toda la tienda se vea igual:
     · categorías de la portada        (.cat-frame)
     · tarjetas de subcategoría        (.cat-frame)
     · tarjetas de paquete             (.image-link)
   Todas comparten el mismo formato CUADRADO, así que da igual
   la proporción del archivo que subas: siempre se ven iguales.
   ========================================================= */

.cat-frame,
.store-products-images .store-product .image-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;          /* ← el formato común de TODAS */
  padding: 7px;                 /* el aire entre el borde y la foto */
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  /* borde con degradado morado→plata (misma técnica que el marco del vídeo) */
  background:
    linear-gradient(#070310, #070310) padding-box,
    linear-gradient(135deg, #c77dff 0%, #5a189a 32%, #c8c8d4 50%, #5a189a 68%, #c77dff 100%) border-box;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.55),
    0 0 16px rgba(157, 78, 221, 0.18);
  transition: box-shadow 0.25s ease-in-out;
}

.cat-frame-img,
.cat-frame-empty,
.store-products-images .store-product .image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 8px;
  object-fit: cover;            /* la foto llena el cuadro sin deformarse */
}

/* Relleno cuando la categoría o el paquete todavía no tiene imagen en Tebex */
.cat-frame-empty {
  background:
    radial-gradient(ellipse 70% 70% at 50% 40%, rgba(157, 78, 221, 0.32), rgba(0, 0, 0, 0) 70%),
    linear-gradient(135deg, #1a0730 0%, #070310 100%);
}

/* Esquinas tipo HUD, a juego con el marco del vídeo de la portada */
.cat-frame::before,
.cat-frame::after,
.store-products-images .store-product .image-link::before,
.store-products-images .store-product .image-link::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-neon);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.25s ease-in-out;
}
.cat-frame::before,
.store-products-images .store-product .image-link::before {
  top: 7px;
  left: 7px;
  border-right: 0;
  border-bottom: 0;
  border-radius: 8px 0 0 0;
}
.cat-frame::after,
.store-products-images .store-product .image-link::after {
  right: 7px;
  bottom: 7px;
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 8px 0;
}

/* Al pasar el ratón el marco se ilumina (la foto no se mueve, así el
   marco nunca se come el aire que lo hace bonito) */
.store-subcategory-card:hover .cat-frame,
.site-home-categories .category:hover .cat-frame,
.store-products-images .store-product:hover .image-link {
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(199, 125, 255, 0.45);
}
.store-subcategory-card:hover .cat-frame::before,
.store-subcategory-card:hover .cat-frame::after,
.site-home-categories .category:hover .cat-frame::before,
.site-home-categories .category:hover .cat-frame::after,
.store-products-images .store-product:hover .image-link::before,
.store-products-images .store-product:hover .image-link::after {
  opacity: 1;
}

/* El zoom antiguo de la imagen se comía el aire del marco: dentro del
   marco la foto se queda quieta y lo que brilla es el borde. */
.store-products-images .store-product:hover .image {
  transform: none;
}

/* =========================================================
   FASE 24 · Tarjetas flotantes del hero: imagen cuadrada
   y tarjeta clicable de verdad
   ========================================================= */

/* Ahora son enlaces <a>, así que hay que quitarles el aspecto de enlace */
.hero-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Cuadrada y con la foto ENTERA: "contain" no recorta nada, a diferencia
   del "cover" anterior, que cortaba la imagen por arriba y por abajo. */
.hero-card-img {
  aspect-ratio: 1 / 1;
}
.hero-card-img img {
  object-fit: contain;
}

/* El botón "Comprar" ya lleva a algún sitio: que se note al pasar el ratón */
.hero-card-btn {
  transition: background 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.hero-card:hover .hero-card-btn,
.hero-card:focus .hero-card-btn {
  background: linear-gradient(135deg, #c77dff, #5a189a);
  box-shadow: 0 0 14px rgba(199, 125, 255, 0.6);
}
.hero-card:hover,
.hero-card:focus {
  border-color: rgba(199, 125, 255, 0.65);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.6),
    0 0 26px rgba(157, 78, 221, 0.4);
}

/* Tamaño del marco en la lista de categorías de la portada */
.site-home-categories .category .cat-frame {
  max-width: 190px;
  margin: 0 auto;
}
@media (width <= 600px) {
  .site-home-categories .category .cat-frame {
    max-width: 110px;
    margin: 0;
  }
}

/* =========================================================
   FASE 25 · LOGO DEL HERO: más grande, plateado y con estrellas
   OJO: NO usar drop-shadow con desplazamiento (0 -1.5px …) para
   simular relieve: pinta una copia movida del logo encima y se
   ve borroso/doblado. Solo sombras centradas (0 0 …).
   ========================================================= */

/* Contenedor de las estrellas · CENTRADO sobre el texto.
   El margen inferior es NEGATIVO a propósito: el PNG del logo trae mucho
   margen transparente abajo, y eso dejaba un hueco enorme antes del titular.
   Al ser proporcional al alto, el hueco se mantiene igual de justo aunque
   el logo cambie de tamaño en pantallas distintas. */
.hero-brand-wrap {
  --logo-h: clamp(200px, 20vw, 340px);
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto calc(var(--logo-h) * -0.22);
}

.hero-brand {
  display: block;
  width: auto;
  /* MÁS GRANDE todavía: antes 140px fijos, ahora hasta 340px */
  height: var(--logo-h);
  margin: 0;
  /* Plateado limpio: gris claro + halo morado. Sin sombras desplazadas. */
  filter:
    brightness(0.94) contrast(1.12) saturate(0.8)
    drop-shadow(0 0 26px rgba(199, 125, 255, 0.5));
  animation: brandSheen 6s ease-in-out infinite;
}

/* Vaivén suave del brillo, como luz moviéndose sobre metal pulido */
@keyframes brandSheen {
  0%, 100% {
    filter:
      brightness(0.92) contrast(1.14) saturate(0.78)
      drop-shadow(0 0 22px rgba(199, 125, 255, 0.45));
  }
  50% {
    filter:
      brightness(1.1) contrast(1.06) saturate(0.85)
      drop-shadow(0 0 40px rgba(226, 190, 255, 0.8));
  }
}

/* ---------- ESTRELLAS alrededor del logo ----------
   MUY IMPORTANTE: cada estrella necesita su propio background-size.
   Sin él, cada degradado ocupa TODO el recuadro y las posiciones no hacen
   nada: las estrellas se apilan en el centro y no se ve ninguna.
   ::before  → estrellas fijas que parpadean
   ::after   → estrellas que GIRAN alrededor del logo */
.hero-brand-wrap::before,
.hero-brand-wrap::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
}

/* --- Capa 1: 7 estrellas fijas, parpadeando --- */
.hero-brand-wrap::before {
  inset: -40px -56px;
  background-image:
    radial-gradient(circle, #ffffff 0 2px,   rgba(255, 255, 255, 0) 5px),
    radial-gradient(circle, #e9d8ff 0 2.6px, rgba(233, 216, 255, 0) 6px),
    radial-gradient(circle, #ffffff 0 1.5px, rgba(255, 255, 255, 0) 4px),
    radial-gradient(circle, #c77dff 0 2.4px, rgba(199, 125, 255, 0) 6px),
    radial-gradient(circle, #ffffff 0 1.8px, rgba(255, 255, 255, 0) 4.5px),
    radial-gradient(circle, #e9d8ff 0 1.4px, rgba(233, 216, 255, 0) 3.5px),
    radial-gradient(circle, #ffffff 0 2.2px, rgba(255, 255, 255, 0) 5.5px);
  background-size:
    14px 14px, 16px 16px, 12px 12px, 16px 16px,
    12px 12px, 10px 10px, 14px 14px;
  background-position:
    3% 18%, 91% 10%, 97% 56%, 7% 72%, 58% 4%, 27% 92%, 78% 86%;
  animation: starsTwinkle 3.6s ease-in-out infinite;
}

/* --- Capa 2: 6 estrellas que dan vueltas alrededor del logo --- */
.hero-brand-wrap::after {
  left: 50%;
  top: 50%;
  width: 130%;
  height: 118%;
  transform: translate(-50%, -50%) rotate(0deg);
  background-image:
    radial-gradient(circle, #ffffff 0 2.2px, rgba(255, 255, 255, 0) 5.5px),
    radial-gradient(circle, #c77dff 0 2.6px, rgba(199, 125, 255, 0) 6.5px),
    radial-gradient(circle, #ffffff 0 1.6px, rgba(255, 255, 255, 0) 4px),
    radial-gradient(circle, #e9d8ff 0 2px,   rgba(233, 216, 255, 0) 5px),
    radial-gradient(circle, #ffffff 0 1.3px, rgba(255, 255, 255, 0) 3.4px),
    radial-gradient(circle, #ffffff 0 1.9px, rgba(255, 255, 255, 0) 4.8px);
  background-size:
    14px 14px, 16px 16px, 12px 12px, 14px 14px, 10px 10px, 12px 12px;
  background-position:
    50% 0%, 96% 26%, 92% 78%, 50% 100%, 6% 74%, 3% 24%;
  animation: starsOrbit 26s linear infinite;
}

@keyframes starsTwinkle {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}

@keyframes starsOrbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* En móvil el bloque va centrado, el logo también */
@media (width <= 900px) {
  .hero-brand-wrap {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Quien prefiera menos animación: todo quieto pero igual de bonito */
@media (prefers-reduced-motion: reduce) {
  .hero-brand,
  .hero-brand-wrap::before,
  .hero-brand-wrap::after {
    animation: none;
  }
  .hero-brand {
    filter:
      brightness(0.96) contrast(1.12) saturate(0.8)
      drop-shadow(0 0 26px rgba(199, 125, 255, 0.5));
  }
}
