@font-face {
  font-family: "Minecraftia";
  src: url("Minecraftia.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --bg: #050505;
  --panelA: rgba(12, 18, 14, 0.78);
  --panelB: rgba(7, 10, 8, 0.72);

  --text: #ffffff;
  --muted: rgba(169, 182, 173, 0.95);

  --neon: #48ff62;
  --purple: #b45aff;
  --red: #ff3344;

  --line: rgba(72, 255, 98, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Minecraftia", monospace;

  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: never;

  overflow-x: hidden;
  overflow-y: auto;
}

/* Fondo ESTATICO */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background: radial-gradient(
      1200px 800px at 50% 20%,
      rgba(0, 0, 0, 0.05),
      rgba(0, 0, 0, 0.92) 70%
    ),
    linear-gradient(180deg, #050505, #050505);
}

body::after {
  content: "";
  position: fixed;
  inset: -30%;
  z-index: -3;
  pointer-events: none;
  background: radial-gradient(
      1000px 600px at 15% 35%,
      rgba(72, 255, 98, 0.34),
      transparent 60%
    ),
    radial-gradient(
      1000px 600px at 85% 40%,
      rgba(255, 51, 68, 0.28),
      transparent 62%
    ),
    radial-gradient(
      1200px 700px at 50% 65%,
      rgba(255, 255, 255, 0.08),
      transparent 72%
    );
  filter: blur(44px) saturate(175%) contrast(135%);
  opacity: 0.9;
}

/* ===== HEADER / FOOTER ===== */
.siteHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  z-index: 1000;

  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(72, 255, 98, 0.2);
}

.headerInner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 18px;

  display: flex;
  align-items: center;
  gap: 12px;
}

.headerLogo {
  height: 36px;
  image-rendering: pixelated;
}

.headerTitle {
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  color: #eaffef;
}

.headerRight {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.siteFooter {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  z-index: 1000;

  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);

  border-top: 1px solid rgba(72, 255, 98, 0.2);
}

.discordLink {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-decoration: none;

  color: #e9f7ff;
}

.discordLink img {
  height: 22px;
  image-rendering: pixelated;
}

/* ===== LAYOUT ===== */
.page {
  padding-top: calc(64px + 22px);
  padding-bottom: calc(56px + 22px);
}

.hero,
.shop {
  padding: 28px 18px;
}

.hero {
  min-height: calc(100vh - 64px - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop {
  display: flex;
  justify-content: center;
}

.frame {
  width: min(680px, 94%);
  padding: 26px 24px;
  text-align: center;
  position: relative;
  z-index: 2;

  background: linear-gradient(180deg, var(--panelA), var(--panelB));
  border: 1px solid var(--line);
  border-radius: 18px;

  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 0 1px rgba(72, 255, 98, 0.08), 0 18px 60px rgba(0, 0, 0, 0.6),
    0 0 45px rgba(72, 255, 98, 0.12);

  backdrop-filter: blur(10px);
}

.frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  border: 1px solid rgba(72, 255, 98, 0.14);
  opacity: 0.9;
  pointer-events: none;
}

.frame::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 14px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(72, 255, 98, 0),
    rgba(72, 255, 98, 0.55),
    rgba(255, 51, 68, 0.35),
    rgba(72, 255, 98, 0)
  );
  opacity: 0.55;
  pointer-events: none;
}

.frame--wide {
  width: min(1050px, 94%);
  text-align: left;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  margin-bottom: 18px;

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: #dfffe6;

  background: linear-gradient(
    180deg,
    rgba(12, 18, 14, 0.85),
    rgba(7, 10, 8, 0.75)
  );

  border-radius: 999px;
  border: 1px solid rgba(72, 255, 98, 0.22);
}

.logo {
  width: min(420px, 85%);
  height: auto;
  display: block;
  margin: 0 auto 14px;
  filter: drop-shadow(0 0 18px rgba(72, 255, 98, 0.14));
}

.tagline {
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  margin: 10px 0 22px;
  color: #e9f7ec;
  opacity: 0.95;
}

.subhint {
  margin-top: 18px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);

  display: inline-flex;
  gap: 14px;
  align-items: center;
}

.subhint::before,
.subhint::after {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(72, 255, 98, 0.45);
  opacity: 0.6;
}

.heroActions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BOTONES PRO ===== */
@keyframes btnPulsePro {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(72, 255, 98, 0.35),
      0 10px 28px rgba(0, 0, 0, 0.55), 0 0 26px rgba(72, 255, 98, 0.26);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(72, 255, 98, 0.55),
      0 14px 40px rgba(0, 0, 0, 0.68), 0 0 44px rgba(72, 255, 98, 0.55);
    transform: translateY(-1px);
  }
}

@keyframes btnShinePro {
  0% {
    transform: translateX(-140%) skewX(-18deg);
    opacity: 0;
  }
  10% {
    opacity: 0.85;
  }
  45% {
    opacity: 0.35;
  }
  100% {
    transform: translateX(140%) skewX(-18deg);
    opacity: 0;
  }
}

.btn {
  border: none;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  padding: 16px 34px;
  border-radius: 999px;

  position: relative;
  overflow: hidden;
  isolation: isolate;

  color: #061009;
  background: linear-gradient(
    180deg,
    rgba(72, 255, 98, 1),
    rgba(40, 200, 70, 0.92)
  );

  animation: btnPulsePro 4.4s ease-in-out infinite;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -40% -55%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.75) 49%,
    rgba(255, 51, 68, 0.28) 52%,
    rgba(255, 255, 255, 0) 65%,
    transparent 100%
  );
  filter: blur(1px);
  mix-blend-mode: screen;
  opacity: 0;
  animation: btnShinePro 3.8s linear infinite;
  z-index: 1;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.03);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn--ghost {
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  border: 1px solid rgba(72, 255, 98, 0.22);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 12px 30px rgba(0, 0, 0, 0.55), 0 0 26px rgba(72, 255, 98, 0.12);
  animation: none;
}

.btn--ghost::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(72, 255, 98, 0.55) 49%,
    rgba(255, 51, 68, 0.18) 52%,
    rgba(255, 255, 255, 0) 62%,
    transparent 100%
  );
  animation-duration: 5.2s;
}

.btn--ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 16px 42px rgba(0, 0, 0, 0.72), 0 0 46px rgba(72, 255, 98, 0.22);
}

.btn--small {
  padding: 10px 14px;
  font-size: 0.75rem;
}

/* ===== SHOP ===== */
.shopHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.shopHead h2 {
  margin: 0 0 6px;
}

.shopHead p {
  margin: 0;
  color: rgba(169, 182, 173, 0.92);
}

.shopHeadActions {
  display: flex;
  gap: 10px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  min-height: 560px;
  padding: 16px;
  position: relative;

  background-size: cover;
  background-position: center top;

  border-radius: 18px;
  border: 1px solid rgba(72, 255, 98, 0.18);

  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.card--green {
  background-image: url("../bg_saqueador.jpg");
}

.card--purple {
  background-image: url("../bg_cazador.png");
  border-color: rgba(180, 90, 255, 0.35);
  box-shadow: 0 0 45px rgba(180, 90, 255, 0.35);
}

.card--red {
  background-image: url("../bg_senor.png");
  border-color: rgba(255, 51, 68, 0.26);
  box-shadow: 0 0 45px rgba(255, 51, 68, 0.12);
}

.card__tag {
  width: fit-content;
  margin: 0 auto 8px;
  padding: 10px 14px;
  border-radius: 14px;

  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(72, 255, 98, 0.22);
  backdrop-filter: blur(10px);

  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
  text-align: center;
}

.card--purple .card__tag {
  border-color: rgba(180, 90, 255, 0.35);
}

.card--red .card__tag {
  border-color: rgba(255, 51, 68, 0.24);
}

.card__spacer {
  flex: 1;
}

.card__info {
  margin: 0 10px 10px;
  padding: 14px;
  border-radius: 16px;

  background: rgba(7, 11, 8, 0.72);
  border: 1px solid rgba(72, 255, 98, 0.28);

  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 10px 30px rgba(0, 0, 0, 0.7), 0 0 26px rgba(72, 255, 98, 0.25);

  position: relative;
  overflow: hidden;
}

.card--purple .card__info {
  border-color: rgba(180, 90, 255, 0.35);
  box-shadow: 0 0 30px rgba(180, 90, 255, 0.22);
}

.card--red .card__info {
  border-color: rgba(255, 51, 68, 0.26);
}

.card__info .price {
  margin: 0 0 8px 0;
  font-size: 1.7rem;
  font-weight: 800;
}

.card__info .price span {
  font-size: 0.9rem;
  color: rgba(169, 182, 173, 0.92);
  font-weight: 600;
  margin-left: 6px;
}

.benefits {
  margin: 0;
  padding-left: 18px;
  opacity: 0.95;
}

/* botón comprar como link */
.buy-btn {
  margin: 0 10px 12px;
  width: calc(100% - 20px);
  padding: 14px 18px;

  border: 1px solid rgba(72, 255, 98, 0.3);
  border-radius: 14px;

  background: rgba(0, 0, 0, 0.48);
  color: #ffffff;

  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 900;

  backdrop-filter: blur(10px);
  text-decoration: none;
  text-align: center;

  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 10px 28px rgba(0, 0, 0, 0.58), 0 0 28px rgba(72, 255, 98, 0.2);

  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 14px 38px rgba(0, 0, 0, 0.7), 0 0 40px rgba(72, 255, 98, 0.35);
}

.card--purple .buy-btn {
  border-color: rgba(180, 90, 255, 0.45);
  box-shadow: 0 0 36px rgba(180, 90, 255, 0.22);
}

.card--red .buy-btn {
  border-color: rgba(255, 51, 68, 0.3);
  box-shadow: 0 0 36px rgba(255, 51, 68, 0.18);
}

.shopFooter {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* ===== OVERLAY + PANELS ===== */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.overlay.is-on {
  opacity: 1;
  pointer-events: auto;
}

body.has-panel .page {
  filter: blur(6px) brightness(0.75) saturate(0.9);
  transition: filter 0.22s ease;
  pointer-events: none;
}

.panel {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;

  opacity: 0;
  pointer-events: none;
  transform: translateX(40px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.panelFrame {
  width: min(980px, 96%);
  border-radius: 18px;
  padding: 18px;

  background: radial-gradient(
      700px 420px at 20% 20%,
      rgba(72, 255, 98, 0.12),
      transparent 60%
    ),
    radial-gradient(
      700px 420px at 80% 20%,
      rgba(255, 51, 68, 0.1),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(12, 12, 12, 0.92), rgba(6, 6, 6, 0.95));

  border: 1px solid rgba(72, 255, 98, 0.2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 45px rgba(72, 255, 98, 0.12);

  backdrop-filter: blur(10px);

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: center;

  position: relative;
  overflow: hidden;
}

.panelFrame::after {
  content: "";
  position: absolute;
  inset: -30% -60%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(72, 255, 98, 0) 40%,
    rgba(72, 255, 98, 0.35) 49%,
    rgba(255, 51, 68, 0.18) 52%,
    rgba(72, 255, 98, 0) 62%,
    transparent 100%
  );
  mix-blend-mode: screen;
  filter: blur(1px);
  opacity: 0.35;
}

.panelTitle {
  margin: 0 0 10px;
  color: var(--neon);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panelLeft p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.panelHint {
  margin-top: 10px;
  color: rgba(169, 182, 173, 0.95);
  letter-spacing: 0.08em;
}

.panelActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.panelImg {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(72, 255, 98, 0.16);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  display: block;
}

/* Trailer box */
.trailerBox {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(72, 255, 98, 0.18);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 32px rgba(72, 255, 98, 0.18);
}

.trailerVideo {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive panels */
@media (max-width: 900px) {
  .panelFrame {
    grid-template-columns: 1fr;
  }
}
a {
  text-decoration: none;
  color: inherit;
}
/* =========================
   ACCESOS: ANIMACIONES PRO
   ========================= */

.cards {
  perspective: 1100px;
  position: relative;
  isolation: isolate;
}

/* Spotlight suave (sin JS también se ve, con JS queda mejor) */
.cards::before {
  content: "";
  position: absolute;
  inset: -40px;
  pointer-events: none;
  z-index: 0;

  /* por defecto centrado; con JS se mueve con --mx --my */
  background: radial-gradient(
    420px 280px at var(--mx, 50%) var(--my, 35%),
    rgba(255, 255, 255, 0.1),
    rgba(0, 0, 0, 0) 60%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cards:hover::before {
  opacity: 1;
}

/* Estado base de cada card */
.card {
  position: relative;
  z-index: 1;

  transform: translateY(18px) scale(0.985);
  opacity: 0;

  animation: accessIn 0.65s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
  will-change: transform, filter, opacity;
}

/* Stagger automático */
#screenShop.screen--active .card:nth-child(1) {
  animation-delay: 0.1s;
}
#screenShop.screen--active .card:nth-child(2) {
  animation-delay: 0.22s;
}
#screenShop.screen--active .card:nth-child(3) {
  animation-delay: 0.34s;
}

@keyframes accessIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Brillo/borde dinámico de la card */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;

  background: radial-gradient(
    900px 420px at 50% 0%,
    rgba(255, 255, 255, 0.08),
    rgba(0, 0, 0, 0) 55%
  );
  opacity: 0.6;
  mix-blend-mode: screen;
}

/* Glow externo por rango (usa tu look actual) */
.card--green {
  --accent: rgba(72, 255, 98, 0.55);
}
.card--purple {
  --accent: rgba(180, 90, 255, 0.55);
}
.card--red {
  --accent: rgba(255, 51, 68, 0.55);
}

/* “Aurita” detrás, viva */
.card::after {
  content: "";
  position: absolute;
  inset: -18px;
  pointer-events: none;
  z-index: -1;

  background: radial-gradient(
    520px 320px at 30% 20%,
    var(--accent),
    rgba(0, 0, 0, 0) 60%
  );
  filter: blur(18px);
  opacity: 0.55;

  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Hover: profundidad + highlight + glow */
@media (hover: hover) {
  .cards:hover .card {
    opacity: 0.45;
    filter: blur(2px) saturate(0.9) brightness(0.82);
    transform: translateY(6px) scale(0.985);
  }

  .cards:hover .card:hover {
    opacity: 1;
    filter: none;
    transform: translateY(-12px) scale(1.03) rotateX(5deg);
    z-index: 5;
  }

  .cards:hover .card:hover::after {
    opacity: 0.9;
    transform: translateY(0);
  }
}

/* Shine que recorre la card (más “premium”) */
.card .card__info {
  position: relative;
  overflow: hidden;
}

.card .card__info::before {
  content: "";
  position: absolute;
  inset: -35% -60%;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.16) 49%,
    rgba(255, 255, 255, 0.06) 52%,
    rgba(255, 255, 255, 0) 62%,
    transparent 100%
  );
  opacity: 0;
  transform: translateX(-140%) skewX(-12deg);
  transition: opacity 0.25s ease;
}

@media (hover: hover) {
  .card:hover .card__info::before {
    opacity: 1;
    animation: infoShine 1.35s linear forwards;
  }
}

@keyframes infoShine {
  to {
    transform: translateX(140%) skewX(-12deg);
    opacity: 0;
  }
}

/* Botón comprar: más punch + brillo + “pulse” suave */
.buy-btn {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.buy-btn::before {
  content: "";
  position: absolute;
  inset: -30% -60%;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.25) 49%,
    rgba(255, 255, 255, 0.1) 52%,
    rgba(255, 255, 255, 0) 62%,
    transparent 100%
  );
  opacity: 0;
  transform: translateX(-140%) skewX(-12deg);
}

@media (hover: hover) {
  .buy-btn:hover {
    transform: translateY(-2px) scale(1.02);
  }
  .buy-btn:hover::before {
    opacity: 0.75;
    animation: btnShineFast 1.15s linear forwards;
  }
}

@keyframes btnShineFast {
  to {
    transform: translateX(140%) skewX(-12deg);
    opacity: 0;
  }
}

/* Pequeño “respirar” por rango (opcional, se ve pro) */
.card--green {
  animation-name: accessIn, breatheGreen;
  animation-duration: 0.65s, 5.5s;
  animation-delay: 0.1s, 0.9s;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
}
.card--purple {
  animation-name: accessIn, breathePurple;
  animation-duration: 0.65s, 6s;
  animation-delay: 0.22s, 1s;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
}
.card--red {
  animation-name: accessIn, breatheRed;
  animation-duration: 0.65s, 5.8s;
  animation-delay: 0.34s, 1.1s;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
}

@keyframes breatheGreen {
  to {
    box-shadow: 0 0 0 1px rgba(72, 255, 98, 0.18),
      0 0 42px rgba(72, 255, 98, 0.2);
  }
}
@keyframes breathePurple {
  to {
    box-shadow: 0 0 0 1px rgba(180, 90, 255, 0.2),
      0 0 46px rgba(180, 90, 255, 0.22);
  }
}
@keyframes breatheRed {
  to {
    box-shadow: 0 0 0 1px rgba(255, 51, 68, 0.18),
      0 0 44px rgba(255, 51, 68, 0.2);
  }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .card,
  .card::after,
  .cards::before,
  .buy-btn::before,
  .card .card__info::before {
    animation: none !important;
    transition: none !important;
  }
}
/* =========================
   ACCESOS: ANIMACIONES PRO
   ========================= */

.cards {
  perspective: 1100px;
  position: relative;
  isolation: isolate;
}

/* Spotlight suave (sin JS también se ve, con JS queda mejor) */
.cards::before {
  content: "";
  position: absolute;
  inset: -40px;
  pointer-events: none;
  z-index: 0;

  /* por defecto centrado; con JS se mueve con --mx --my */
  background: radial-gradient(
    420px 280px at var(--mx, 50%) var(--my, 35%),
    rgba(255, 255, 255, 0.1),
    rgba(0, 0, 0, 0) 60%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cards:hover::before {
  opacity: 1;
}

/* Estado base de cada card */
.card {
  position: relative;
  z-index: 1;

  transform: translateY(18px) scale(0.985);
  opacity: 0;

  animation: accessIn 0.65s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
  will-change: transform, filter, opacity;
}

/* Stagger automático */
#screenShop.screen--active .card:nth-child(1) {
  animation-delay: 0.1s;
}
#screenShop.screen--active .card:nth-child(2) {
  animation-delay: 0.22s;
}
#screenShop.screen--active .card:nth-child(3) {
  animation-delay: 0.34s;
}

@keyframes accessIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Brillo/borde dinámico de la card */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;

  background: radial-gradient(
    900px 420px at 50% 0%,
    rgba(255, 255, 255, 0.08),
    rgba(0, 0, 0, 0) 55%
  );
  opacity: 0.6;
  mix-blend-mode: screen;
}

/* Glow externo por rango (usa tu look actual) */
.card--green {
  --accent: rgba(72, 255, 98, 0.55);
}
.card--purple {
  --accent: rgba(180, 90, 255, 0.55);
}
.card--red {
  --accent: rgba(255, 51, 68, 0.55);
}

/* “Aurita” detrás, viva */
.card::after {
  content: "";
  position: absolute;
  inset: -18px;
  pointer-events: none;
  z-index: -1;

  background: radial-gradient(
    520px 320px at 30% 20%,
    var(--accent),
    rgba(0, 0, 0, 0) 60%
  );
  filter: blur(18px);
  opacity: 0.55;

  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Hover: profundidad + highlight + glow */
@media (hover: hover) {
  .cards:hover .card {
    opacity: 0.45;
    filter: blur(2px) saturate(0.9) brightness(0.82);
    transform: translateY(6px) scale(0.985);
  }

  .cards:hover .card:hover {
    opacity: 1;
    filter: none;
    transform: translateY(-12px) scale(1.03) rotateX(5deg);
    z-index: 5;
  }

  .cards:hover .card:hover::after {
    opacity: 0.9;
    transform: translateY(0);
  }
}

/* Shine que recorre la card (más “premium”) */
.card .card__info {
  position: relative;
  overflow: hidden;
}

.card .card__info::before {
  content: "";
  position: absolute;
  inset: -35% -60%;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.16) 49%,
    rgba(255, 255, 255, 0.06) 52%,
    rgba(255, 255, 255, 0) 62%,
    transparent 100%
  );
  opacity: 0;
  transform: translateX(-140%) skewX(-12deg);
  transition: opacity 0.25s ease;
}

@media (hover: hover) {
  .card:hover .card__info::before {
    opacity: 1;
    animation: infoShine 1.35s linear forwards;
  }
}

@keyframes infoShine {
  to {
    transform: translateX(140%) skewX(-12deg);
    opacity: 0;
  }
}

/* Botón comprar: más punch + brillo + “pulse” suave */
.buy-btn {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.buy-btn::before {
  content: "";
  position: absolute;
  inset: -30% -60%;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.25) 49%,
    rgba(255, 255, 255, 0.1) 52%,
    rgba(255, 255, 255, 0) 62%,
    transparent 100%
  );
  opacity: 0;
  transform: translateX(-140%) skewX(-12deg);
}

@media (hover: hover) {
  .buy-btn:hover {
    transform: translateY(-2px) scale(1.02);
  }
  .buy-btn:hover::before {
    opacity: 0.75;
    animation: btnShineFast 1.15s linear forwards;
  }
}

@keyframes btnShineFast {
  to {
    transform: translateX(140%) skewX(-12deg);
    opacity: 0;
  }
}

/* Pequeño “respirar” por rango (opcional, se ve pro) */
.card--green {
  animation-name: accessIn, breatheGreen;
  animation-duration: 0.65s, 5.5s;
  animation-delay: 0.1s, 0.9s;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
}
.card--purple {
  animation-name: accessIn, breathePurple;
  animation-duration: 0.65s, 6s;
  animation-delay: 0.22s, 1s;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
}
.card--red {
  animation-name: accessIn, breatheRed;
  animation-duration: 0.65s, 5.8s;
  animation-delay: 0.34s, 1.1s;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
}

@keyframes breatheGreen {
  to {
    box-shadow: 0 0 0 1px rgba(72, 255, 98, 0.18),
      0 0 42px rgba(72, 255, 98, 0.2);
  }
}
@keyframes breathePurple {
  to {
    box-shadow: 0 0 0 1px rgba(180, 90, 255, 0.2),
      0 0 46px rgba(180, 90, 255, 0.22);
  }
}
@keyframes breatheRed {
  to {
    box-shadow: 0 0 0 1px rgba(255, 51, 68, 0.18),
      0 0 44px rgba(255, 51, 68, 0.2);
  }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .card,
  .card::after,
  .cards::before,
  .buy-btn::before,
  .card .card__info::before {
    animation: none !important;
    transition: none !important;
  }
}
/* =========================
   BOTONES: FLOAT SUAVE
   ========================= */

/* el float por defecto */
.btn {
  will-change: transform;
  animation: btnFloat 3.6s ease-in-out infinite;
}

/* que NO floten los botones dentro de modales/paneles (opcional) */
.modal .btn,
.shopPanel .btn {
  animation: none;
}

/* stagger para que no floten todos igual */
#btnStart {
  animation-delay: 0s;
}
#loreOpen {
  animation-delay: 0.35s;
}
#btnBack {
  animation-delay: 0.15s;
}
#btnAboutOpen {
  animation-delay: 0.25s;
}
#btnTrailerOpen {
  animation-delay: 0.45s;
}

@keyframes btnFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* hover un poco más “premium” */
@media (hover: hover) {
  .btn:hover {
    transform: translateY(-4px) scale(1.02);
  }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  .btn {
    animation: none !important;
  }
}

/* =========================
   LOGO PRINCIPAL: LUCES + SHINE + GLITCH SUAVE
   ========================= */

.logo {
  position: relative;
  will-change: transform, filter;
  animation: logoFloat 5.2s ease-in-out infinite;
}

/* glow vivo */
.logo {
  filter: drop-shadow(0 0 18px rgba(72, 255, 98, 0.18))
    drop-shadow(0 0 36px rgba(255, 51, 68, 0.12));
}

/* shine que pasa por encima (usa pseudo elemento) */
.logo::after {
  content: "";
  position: absolute;
  inset: -20% -40%;
  pointer-events: none;

  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 45%,
    rgba(255, 255, 255, 0.06) 55%,
    rgba(255, 255, 255, 0) 75%
  );

  opacity: 0;
  transform: translateX(-140%) skewX(-12deg);
  mix-blend-mode: screen;

  animation: logoShine 6.5s ease-in-out infinite;
}

/* glitch MUY leve (no siempre) */
.logo {
  animation-name: logoFloat, logoGlowPulse, logoMicroGlitch;
  animation-duration: 5.2s, 4.2s, 8.5s;
  animation-timing-function: ease-in-out, ease-in-out, steps(2, end);
  animation-iteration-count: infinite, infinite, infinite;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.01);
  }
}

@keyframes logoGlowPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 16px rgba(72, 255, 98, 0.16))
      drop-shadow(0 0 28px rgba(255, 51, 68, 0.1));
  }
  50% {
    filter: drop-shadow(0 0 26px rgba(72, 255, 98, 0.26))
      drop-shadow(0 0 44px rgba(255, 51, 68, 0.16));
  }
}

/* 1-2 saltitos cada varios segundos */
@keyframes logoMicroGlitch {
  0%,
  86%,
  100% {
    transform: translateY(0) scale(1);
  }
  88% {
    transform: translateY(-6px) translateX(-1px) scale(1.01);
  }
  90% {
    transform: translateY(-6px) translateX(2px) scale(1.01);
  }
  92% {
    transform: translateY(-6px) translateX(-2px) scale(1.01);
  }
  94% {
    transform: translateY(-6px) translateX(0) scale(1.01);
  }
}

/* shine */
@keyframes logoShine {
  0% {
    opacity: 0;
    transform: translateX(-140%) skewX(-12deg);
  }
  18% {
    opacity: 0.65;
  }
  40% {
    opacity: 0;
    transform: translateX(140%) skewX(-12deg);
  }
  100% {
    opacity: 0;
    transform: translateX(140%) skewX(-12deg);
  }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  .logo {
    animation: none !important;
  }
  .logo::after {
    animation: none !important;
    opacity: 0.4;
  }
}
.logoWrap {
  position: relative;
  display: inline-block;
}
.logoWrap::after {
  content: "";
  position: absolute;
  inset: -20% -40%;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 45%,
    rgba(255, 255, 255, 0.06) 55%,
    rgba(255, 255, 255, 0) 75%
  );
  opacity: 0;
  transform: translateX(-140%) skewX(-12deg);
  mix-blend-mode: screen;
  animation: logoShine 6.5s ease-in-out infinite;
}
