/* LunaSol Social Casino — Mediterranean Neon Luxury (mobile-first, BEM) */

:root {
  --color-bg: #0b1429;
  --color-bg-elevated: rgba(18, 32, 68, 0.72);
  --color-surface: rgba(15, 28, 58, 0.55);
  --color-neon: #ff4da6;
  --color-neon-soft: rgba(255, 77, 166, 0.35);
  --color-gold: #ffd700;
  --color-gold-dim: #c9a227;
  --color-text: #f4f7ff;
  --color-muted: rgba(200, 212, 255, 0.72);
  --font-sans:
    "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-neon:
    0 0 24px rgba(255, 77, 166, 0.45), 0 0 60px rgba(255, 77, 166, 0.2);
  --shadow-gold:
    0 0 20px rgba(255, 215, 0, 0.55), 0 0 50px rgba(255, 215, 0, 0.25);
  --header-h: 72px;
  --legal-bar-h: auto;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-all: all 0.35s var(--transition-smooth);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-neon);
  text-decoration: none;
  transition: var(--transition-all);
}

a:hover,
a:focus-visible {
  color: #ff7ec4;
}

:focus-visible {
  outline: 2px solid var(--color-neon);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--color-neon);
  color: var(--color-bg);
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Legal strip — entry + persistent */
.legal-strip {
  position: relative;
  z-index: 50;
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: clamp(0.75rem, 2.8vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text);
  background: linear-gradient(
    90deg,
    rgba(255, 77, 166, 0.18),
    rgba(255, 215, 0, 0.12),
    rgba(255, 77, 166, 0.18)
  );
  border-bottom: 1px solid rgba(255, 77, 166, 0.35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.legal-strip__text {
  max-width: 72rem;
  margin: 0 auto;
  text-wrap: balance;
}

/* Layout */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page__main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem !important;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11, 20, 41, 0.82);
  border-bottom: 1px solid rgba(255, 77, 166, 0.22);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.5rem 0;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-decoration: none;
}

.site-header__logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-neon), #7c3aed);
  box-shadow: var(--shadow-neon);
}

.site-header__nav {
  display: none;
}

@media (min-width: 1024px) {
  .site-header__nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }
}

.site-header__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-muted);
  position: relative;
  transition: var(--transition-all);
}

.site-header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-neon), var(--color-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-all);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--color-neon-soft);
}

.site-header__link:hover,
.site-header__link:focus-visible {
  color: var(--color-text);
}

.site-header__link:hover::after,
.site-header__link:focus-visible::after {
  transform: scaleX(1);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-all);
}

.btn:active {
  transform: scale(0.97);
}

.btn--neon {
  color: #1a0a18;
  background: linear-gradient(135deg, var(--color-neon), #e11d8c);
  box-shadow: var(--shadow-neon);
}

.btn--neon:hover,
.btn--neon:focus-visible {
  box-shadow: 0 0 32px rgba(255, 77, 166, 0.65);
}

.btn--gold {
  color: #1a1500;
  background: linear-gradient(135deg, #ffe566, var(--color-gold), #c9a227);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  box-shadow: 0 0 36px rgba(255, 215, 0, 0.75);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  border: 1px solid rgba(255, 77, 166, 0.35);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--color-neon);
  box-shadow: 0 0 20px var(--color-neon-soft);
}

.btn--outline-gold {
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.08);
}

.btn--outline-gold:hover,
.btn--outline-gold:focus-visible {
  background: rgba(255, 215, 0, 0.12);
  box-shadow: var(--shadow-gold);
}

.btn--lg {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
  border-radius: 999px;
}

.btn--sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
}

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 77, 166, 0.12);
  border: 1px solid rgba(255, 77, 166, 0.4);
  border-radius: 12px;
  cursor: pointer;
  z-index: 60;
  transition: var(--transition-all);
}

@media (min-width: 1024px) {
  .burger {
    display: none;
  }
}

.burger__line {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--color-gold), var(--color-neon));
  border-radius: 2px;
  transition: var(--transition-all);
  transform-origin: center;
}

.burger.is-open .burger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.is-open .burger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.is-open .burger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  visibility: hidden;
}

.mobile-nav.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 22, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s var(--transition-smooth);
}

.mobile-nav.is-open .mobile-nav__backdrop {
  opacity: 1;
}

.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 320px);
  height: 100%;
  padding: 4.25rem 1.25rem 2rem;
  background: linear-gradient(
    180deg,
    rgba(18, 32, 68, 0.98),
    rgba(11, 20, 41, 0.98)
  );
  border-left: 1px solid rgba(255, 77, 166, 0.3);
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  transition: transform 0.45s var(--transition-smooth);
}

.mobile-nav__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 10;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 77, 166, 0.45);
  border-radius: 12px;
  background: rgba(11, 20, 41, 0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-all);
  box-shadow: 0 0 20px rgba(255, 77, 166, 0.2);
}

.mobile-nav__close:hover,
.mobile-nav__close:focus-visible {
  border-color: var(--color-neon);
  box-shadow: 0 0 28px rgba(255, 77, 166, 0.45);
  background: rgba(255, 77, 166, 0.12);
}

.mobile-nav__close-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
}

.mobile-nav__close-icon::before,
.mobile-nav__close-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-neon));
  box-shadow: 0 0 10px rgba(255, 77, 166, 0.6);
}

.mobile-nav__close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav__close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav.is-open .mobile-nav__panel {
  transform: translateX(0);
}

.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav__link {
  display: block;
  padding: 0.85rem 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition-all);
}

.mobile-nav__link:hover {
  color: var(--color-neon);
}

.mobile-nav__cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 0 4rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--color-bg);
}

.hero__photo {
  position: absolute;
  inset: 0;
  background-image: url("../icons/white-concrete-house.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(4, 8, 22, 0.58) 0%,
      rgba(11, 20, 41, 0.78) 42%,
      rgba(3, 6, 18, 0.9) 100%
    ),
    radial-gradient(
      ellipse 90% 55% at 50% 0%,
      rgba(255, 77, 166, 0.14),
      transparent 60%
    ),
    radial-gradient(
      ellipse 70% 45% at 85% 70%,
      rgba(124, 58, 237, 0.12),
      transparent 55%
    );
}

.hero__stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.45;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 65% 18%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 40% 55%, rgba(255, 215, 0, 0.5), transparent),
    radial-gradient(1px 1px at 88% 42%, rgba(255, 255, 255, 0.5), transparent);
  background-size: 100% 100%;
  animation: twinkle 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero__neon-orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__neon-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  animation: orbPulse 5s ease-in-out infinite;
}

.hero__neon-orb--1 {
  width: min(45vw, 220px);
  height: min(45vw, 220px);
  left: -5%;
  top: 15%;
  background: radial-gradient(
    circle,
    rgba(255, 77, 166, 0.35),
    transparent 68%
  );
  box-shadow: 0 0 60px rgba(255, 77, 166, 0.35);
  animation-delay: 0s;
}

.hero__neon-orb--2 {
  width: min(38vw, 180px);
  height: min(38vw, 180px);
  right: -3%;
  bottom: 25%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.22), transparent 70%);
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.25);
  animation-delay: -1.5s;
}

.hero__neon-orb--3 {
  width: min(28vw, 140px);
  height: min(28vw, 140px);
  left: 42%;
  bottom: 8%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 72%);
  box-shadow: 0 0 45px rgba(34, 211, 238, 0.25);
  animation: orbPulseCenter 5s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes orbPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes orbPulseCenter {
  0%,
  100% {
    opacity: 0.55;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.08);
  }
}

@keyframes twinkle {
  from {
    opacity: 0.65;
  }
  to {
    opacity: 1;
  }
}

.hero__sea {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(4, 8, 20, 0.88));
  pointer-events: none;
}

.hero__sea-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  width: 120%;
  height: 40%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 77, 166, 0.22),
    transparent 70%
  );
  animation: seaPulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes seaPulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.hero__slots {
  display: none;
}

.hero__slot-machine {
  position: absolute;
  width: min(42vw, 200px);
  aspect-ratio: 3/4;
  border-radius: 16px;
  border: 2px solid rgba(255, 77, 166, 0.5);
  background: rgba(15, 28, 58, 0.4);
  box-shadow:
    0 0 30px rgba(255, 77, 166, 0.25),
    inset 0 0 40px rgba(255, 215, 0, 0.06);
  backdrop-filter: blur(6px);
}

.hero__slot-machine--1 {
  left: 8%;
  bottom: 22%;
  animation: floatY 7s ease-in-out infinite;
}

.hero__slot-machine--2 {
  right: 10%;
  bottom: 28%;
  width: min(36vw, 170px);
  animation: floatY 8s ease-in-out infinite 1s;
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 0 28px rgba(255, 215, 0, 0.2);
}

.hero__slot-machine--3 {
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  width: min(28vw, 140px);
  opacity: 0.85;
  animation: floatY 9s ease-in-out infinite 0.5s;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero__slot-machine--3 {
  animation-name: floatYCenter;
}

@keyframes floatYCenter {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.hero__reels {
  display: flex;
  gap: 4px;
  padding: 12px 10px;
  justify-content: center;
}

.hero__reel {
  width: 22%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(180deg, #1a0a2e, #0b1429);
  border: 1px solid rgba(255, 77, 166, 0.4);
  box-shadow: inset 0 0 12px rgba(255, 77, 166, 0.35);
  animation: reelSpin 3s linear infinite;
}

.hero__slot-machine--2 .hero__reel {
  animation-delay: 0.4s;
  border-color: rgba(255, 215, 0, 0.35);
  box-shadow: inset 0 0 12px rgba(255, 215, 0, 0.25);
}

@keyframes reelSpin {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.35);
  }
}

.hero__neon-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-neon),
    transparent
  );
  opacity: 0.7;
  animation: scan 12s linear infinite;
}

.hero__neon-line--1 {
  top: 35%;
  left: 0;
  right: 40%;
}

.hero__neon-line--2 {
  bottom: 38%;
  left: 35%;
  right: 0;
  animation-delay: -4s;
}

@keyframes scan {
  0% {
    opacity: 0.3;
    transform: scaleX(0.3);
  }
  50% {
    opacity: 0.9;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.3;
    transform: scaleX(0.3);
  }
}

.hero__content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 52rem;
  padding: 0 1rem;
}

.hero__actions .btn {
  opacity: 1;
  position: relative;
  z-index: 1;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(
    135deg,
    #fff 0%,
    #e8ecff 40%,
    var(--color-neon) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(255, 77, 166, 0.35);
}

.hero__subtitle {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  color: var(--color-muted);
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero__legal-note {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: rgba(200, 212, 255, 0.55);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* Sections generic */
.section {
  padding: 3.5rem 0;
  position: relative;
}

.section--tight {
  padding-top: 2rem;
}

.section__head {
  text-align: center;
  margin-bottom: 2rem;
}

.section__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--color-text), var(--color-neon));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__desc {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
}

/* Glass cards */
.glass-panel {
  background: var(--color-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 77, 166, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  transition: var(--transition-all);
}

/* Features grid */
.features {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition-all);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(255, 77, 166, 0.2);
  border-color: rgba(255, 215, 0, 0.35);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 12px rgba(255, 77, 166, 0.5));
}

.feature-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.feature-card__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Recomendado carousel row */
.reco-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .reco-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reco-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.reco-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 77, 166, 0.25);
  transition: var(--transition-all);
}

a.reco-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.reco-card:hover .reco-card__name,
a.reco-card:focus-visible .reco-card__name {
  color: var(--color-neon);
}

.reco-card:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 0 40px rgba(255, 77, 166, 0.45);
}

.reco-card__img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1e3a5f, #0b1429, #4a1942);
  overflow: hidden;
}

.reco-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-all);
}

a.reco-card:hover .reco-card__img img,
a.reco-card:focus-visible .reco-card__img img {
  transform: scale(1.06);
}

.reco-card__body {
  padding: 1rem;
  background: rgba(11, 20, 41, 0.85);
}

.reco-card__name {
  margin: 0 0 0.25rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.reco-card__prov {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* Missions */
.missions-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .missions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mission-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 215, 0, 0.25);
  background: linear-gradient(
    145deg,
    rgba(255, 77, 166, 0.08),
    rgba(11, 20, 41, 0.9)
  );
  position: relative;
  overflow: hidden;
  transition: var(--transition-all);
}

.mission-card:hover {
  border-color: rgba(255, 77, 166, 0.45);
  box-shadow: 0 0 28px rgba(255, 77, 166, 0.15);
}

.mission-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.12), transparent);
  pointer-events: none;
}

.mission-card__label {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-bg);
  background: linear-gradient(90deg, var(--color-neon), #9333ea);
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.mission-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.mission-card__progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.mission-card__progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-neon), var(--color-gold));
  box-shadow: 0 0 12px rgba(255, 77, 166, 0.6);
}

.mission-card__meta {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* Social strip */
.social-strip {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .social-strip {
    grid-template-columns: 1fr 1fr;
  }
}

.social-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition-all);
}

.glass-panel.social-card:hover {
  border-color: rgba(255, 77, 166, 0.42);
  box-shadow: 0 12px 48px rgba(255, 77, 166, 0.12);
}

.social-card__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-card__chat {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 180px;
  overflow-y: auto;
}

.chat-bubble {
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-size: 0.85rem;
  max-width: 90%;
}

.chat-bubble--them {
  align-self: flex-start;
  background: rgba(255, 77, 166, 0.15);
  border: 1px solid rgba(255, 77, 166, 0.3);
}

.chat-bubble--me {
  align-self: flex-end;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.social-card__input-row {
  display: flex;
  gap: 0.5rem;
}

.social-card__input {
  flex: 1;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--color-text);
  font-family: inherit;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 2.5rem 0 2rem;
  background: linear-gradient(180deg, transparent, rgba(5, 10, 22, 0.95));
  border-top: 1px solid rgba(255, 77, 166, 0.2);
}

.site-footer__legal {
  text-align: center;
  font-size: clamp(0.75rem, 2.5vw, 0.9rem);
  font-weight: 700;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 77, 166, 0.2);
  background: rgba(255, 77, 166, 0.06);
}

.site-footer__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.site-footer__block-title {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold);
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.site-footer__list li {
  margin-bottom: 0.4rem;
}

.site-footer__company {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(200, 212, 255, 0.45);
}

/* ========== LOBBY ========== */
.lobby-hero {
  padding: 1.5rem 0 2rem;
}

.vip-bar {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 215, 0, 0.35);
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.08),
    rgba(255, 77, 166, 0.06),
    rgba(11, 20, 41, 0.95)
  );
  box-shadow:
    0 0 40px rgba(255, 215, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  margin-bottom: 2rem;
}

.vip-bar__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.vip-bar__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.vip-bar__tier {
  font-weight: 800;
  font-size: 1.15rem;
  background: linear-gradient(90deg, var(--color-gold), #fff4a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vip-bar__track {
  height: 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  border: 1px solid rgba(255, 77, 166, 0.25);
}

.vip-bar__fill {
  height: 100%;
  width: 67%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    #9333ea,
    var(--color-neon),
    var(--color-gold)
  );
  box-shadow:
    0 0 24px rgba(255, 77, 166, 0.7),
    0 0 40px rgba(255, 215, 0, 0.35);
  position: relative;
}

.vip-bar__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.vip-bar__meta {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Game grid */
.game-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .game-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.game-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(11, 20, 41, 0.65);
  border: 1px solid rgba(255, 77, 166, 0.22);
  transition: var(--transition-all);
}

a.game-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.game-card:hover .game-card__title,
a.game-card:focus-visible .game-card__title {
  color: var(--color-text);
}

.game-card:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow:
    0 0 48px rgba(255, 77, 166, 0.55),
    0 0 80px rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.45);
  z-index: 2;
}

.game-card__media {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #1a2d52, #0b1429 50%, #3d1050);
  overflow: hidden;
}

.game-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(255, 77, 166, 0.25),
    transparent 55%
  );
  pointer-events: none;
  z-index: 1;
  transition: var(--transition-all);
}

a.game-card:hover .game-card__media::after,
a.game-card:focus-visible .game-card__media::after {
  background: radial-gradient(
    circle at 50% 30%,
    rgba(255, 77, 166, 0.4),
    transparent 50%
  );
}

.game-card__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-all);
}

a.game-card:hover .game-card__poster,
a.game-card:focus-visible .game-card__poster {
  transform: scale(1.06);
}

.game-card__placeholder-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: 0.35;
  z-index: 0;
}

.game-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 0.35rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 8px;
  color: #0b1429;
  background: linear-gradient(90deg, var(--color-neon), #ff7ec4);
  box-shadow: 0 0 16px rgba(255, 77, 166, 0.8);
}

.game-card__badge--nuevo {
  background: linear-gradient(90deg, var(--color-gold), #fff1a6);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.7);
}

.game-card__badge--trending {
  background: linear-gradient(90deg, #22d3ee, #6366f1);
  color: #fff;
}

.game-card__body {
  padding: 0.85rem 1rem 1rem;
}

.game-card__title {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.game-card__provider {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.game-card__btn {
  width: 100%;
  pointer-events: none;
}

/* Páginas legales */
.legal-page {
  padding: 2rem 0 3.5rem;
}

.legal-page__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.legal-page h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
}

.legal-page .lead {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin: 0 0 1.5rem;
}

.legal-page h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-gold);
}

.legal-page p,
.legal-page li {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-page li {
  margin-bottom: 0.35rem;
}

.legal-page a {
  word-break: break-word;
}

/* Particles layer */
#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
}

/* Win overlay */
.win-fx {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(
    circle at center,
    rgba(255, 77, 166, 0.15),
    transparent 60%
  );
}

.win-fx.is-active {
  opacity: 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1023px) {
  .hide-mobile {
    display: none !important;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s var(--transition-smooth),
    transform 0.65s var(--transition-smooth),
    all 0.65s var(--transition-smooth);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Modal compartir */
.share-modal[hidden] {
  display: none !important;
}

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.share-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 18, 0.82);
  backdrop-filter: blur(8px);
}

.share-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 22rem;
  padding: 1.5rem 1.25rem 1.25rem;
  border-radius: var(--radius-lg);
}

.share-modal__x {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 77, 166, 0.35);
  border-radius: 10px;
  background: rgba(11, 20, 41, 0.9);
  cursor: pointer;
  transition: var(--transition-all);
}

.share-modal__x:hover,
.share-modal__x:focus-visible {
  border-color: var(--color-neon);
  box-shadow: 0 0 16px rgba(255, 77, 166, 0.35);
}

.share-modal__x-icon {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 auto;
  position: relative;
}

.share-modal__x-icon::before,
.share-modal__x-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-neon));
  border-radius: 2px;
}

.share-modal__x-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.share-modal__x-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.share-modal__title {
  margin: 0 2rem 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-text);
}

.share-modal__hint {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.share-modal__field {
  margin-bottom: 0.75rem;
}

.share-modal__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
}

.share-modal__input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 77, 166, 0.25);
  background: rgba(0, 0, 0, 0.35);
  color: var(--color-text);
  font-family: inherit;
}

.share-modal__copy {
  width: 100%;
  margin-bottom: 0.5rem;
}

.share-modal__status {
  min-height: 1.25rem;
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: var(--color-gold);
}

.share-modal__social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.share-modal__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 77, 166, 0.3);
  background: rgba(255, 77, 166, 0.08);
  color: var(--color-text) !important;
  text-decoration: none !important;
  transition: var(--transition-all);
}

.share-modal__social-btn:hover,
.share-modal__social-btn:focus-visible {
  border-color: var(--color-neon);
  box-shadow: 0 0 18px rgba(255, 77, 166, 0.25);
}
