/* ==========================================================================
   GUABINA: REBORN — nuevo_estilo.css
   Archivo único consolidado. Reemplaza todos los CSS anteriores del sitio.
   Contiene: theme.css + layout.css + components.css + overrides forzados.
   ========================================================================== */


/* ##########################################################################
   PARTE 1 — THEME (tokens de diseño, tipografía, variables)
   ########################################################################## */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cinzel+Decorative:wght@400;700;900&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

:root {
  --clr-bg-base: #0a0a0a;
  --clr-bg-surface: #111111;
  --clr-bg-panel: #141414;
  --clr-bg-overlay: #1a1a1a;

  --clr-gold-bright: #d4a843;
  --clr-gold-mid: #b8922e;
  --clr-gold-muted: #7a6020;
  --clr-gold-dim: #3d3010;
  --clr-gold-glow: rgba(212, 168, 67, 0.15);

  --clr-text-primary: #e8e0cc;
  --clr-text-secondary: #9a9080;
  --clr-text-muted: #5a5548;
  --clr-text-gold: var(--clr-gold-bright);

  --glass-bg: rgba(20, 20, 20, 0.65);
  --glass-border: rgba(212, 168, 67, 0.12);
  --glass-blur: 12px;
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);

  --border-subtle: 1px solid rgba(212, 168, 67, 0.08);
  --border-accent: 1px solid rgba(212, 168, 67, 0.25);
  --border-strong: 1px solid rgba(212, 168, 67, 0.5);

  --font-display: 'Cinzel Decorative', 'Cinzel', serif;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-black: 900;

  --leading-tight: 1.1;
  --leading-snug: 1.35;
  --leading-normal: 1.6;
  --leading-relaxed: 1.8;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.08em;
  --tracking-wider: 0.15em;
  --tracking-widest: 0.25em;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.8);
  --shadow-gold: 0 0 24px rgba(212, 168, 67, 0.25);
  --shadow-gold-intense: 0 0 48px rgba(212, 168, 67, 0.45);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  --z-base: 1;
  --z-content: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--clr-bg-base);
  color: var(--clr-text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  line-height: var(--leading-normal);
  min-height: 100vh;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--clr-bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--clr-gold-muted);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--clr-gold-mid);
}

::selection {
  background-color: var(--clr-gold-dim);
  color: var(--clr-gold-bright);
}

.font-display {
  font-family: var(--font-display);
}

.font-heading {
  font-family: var(--font-heading);
}

.font-body {
  font-family: var(--font-body);
}

.text-gold {
  color: var(--clr-gold-bright);
}

.text-primary {
  color: var(--clr-text-primary);
}

.text-secondary {
  color: var(--clr-text-secondary);
}

.text-muted {
  color: var(--clr-text-muted);
}

.tracking-widest {
  letter-spacing: var(--tracking-widest);
}

.tracking-wider {
  letter-spacing: var(--tracking-wider);
}

.tracking-wide {
  letter-spacing: var(--tracking-wide);
}

.uppercase {
  text-transform: uppercase;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}

.glass-panel--gold {
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(212, 168, 67, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  transition:
    background var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast),
    color var(--transition-base),
    filter var(--transition-fast);
  will-change: transform, box-shadow;
}

.btn--primary {
  padding: var(--space-4) var(--space-8);
  background: linear-gradient(135deg, var(--clr-gold-bright) 0%, var(--clr-gold-mid) 100%);
  color: #0a0a0a;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.3);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #e8bc55 0%, var(--clr-gold-bright) 100%);
  box-shadow: 0 6px 28px rgba(212, 168, 67, 0.5);
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  padding: var(--space-4) var(--space-8);
  background: transparent;
  color: var(--clr-gold-bright);
  border: var(--border-accent);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
}

.btn--outline:hover {
  background: var(--clr-gold-dim);
  border-color: var(--clr-gold-bright);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.divider-gold {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--clr-gold-muted) 25%, var(--clr-gold-bright) 50%, var(--clr-gold-muted) 75%, transparent 100%);
  border: none;
  margin: var(--space-8) 0;
}

.ornament {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  justify-content: center;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-gold-mid));
}

.ornament::after {
  background: linear-gradient(90deg, var(--clr-gold-mid), transparent);
}

.ornament__symbol {
  color: var(--clr-gold-bright);
  font-size: var(--text-lg);
  opacity: 0.8;
}

.dot-gold {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--clr-gold-bright);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--clr-gold-bright);
}


/* ##########################################################################
   PARTE 2 — LAYOUT (estructura, grid, navbar, hero, footer)
   ########################################################################## */

#page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

#main-canvas {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: 72px;
  display: flex;
  align-items: center;
}

.navbar__inner {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: 100%;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo-img {
  display: block;
  width: auto;
  height: 56px;
  max-width: 220px;
  object-fit: contain;
}

.navbar__brand-title {
  font-size: var(--text-xl);
}

.navbar__nav {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--space-2);
  flex: 1;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.navbar__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-5);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide); /* reducido de tracking-wider: mejor legibilidad en sentence case */
  text-transform: none;                 /* era uppercase — eliminado por solicitud de diseño */
  text-decoration: none;
  transition: color var(--transition-base);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - var(--space-10));
  height: 1px;
  border-radius: 1px;
  transition: transform var(--transition-base);
  transform-origin: center;
}

.navbar__link:hover::after,
.navbar__link.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar__cta {
  margin-left: var(--space-4);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-xs);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-2);
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* ==========================================================================
   HERO — Layout de dos columnas (texto | video)
   Especificaciones del diseño final 2026
   ========================================================================== */

#hero {
  position: relative;
  width: 100%;
  background-color: #0a0a0a;
  background-image:
    radial-gradient(ellipse 70% 55% at 30% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 60%),
    linear-gradient(160deg, rgba(10, 10, 10, 0.55) 0%, rgba(8, 8, 8, 0.65) 100%);
  overflow: hidden;
}

.section--hero {
  width: 100%;
  display: flex;
  align-items: stretch;
}

/* ── Contenedor principal: 2 columnas con specs exactas ── */
#hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 10%;
  min-height: 70vh;
  width: 100%;
  padding-top: 80px;
  /* clearance navbar fija */
  padding-bottom: 60px;
  box-sizing: border-box;
  /* Efecto épico: sombra profunda + borde dorado sutil */
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.70), 0 0 0 1px rgba(212, 168, 67, 0.06);
  border-top: 1px solid rgba(212, 168, 67, 0.08);
  border-bottom: 1px solid rgba(212, 168, 67, 0.06);
}

/* ── Columna 1: Texto (40% del ancho) ── */
.hero-text-col {
  flex: 0 0 38%;
  max-width: 38%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* ── Columna 2: Video (60% del ancho) ── */
.hero-video-col {
  flex: 0 0 58%;
  max-width: 58%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Caja de video: proporcional 16:9, bordes definidos ── */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  /* Ventana de metal dorado: borde exterior + inset interior + sombra proyectada */
  border: 1px solid rgba(212, 175, 55, 0.40);
  box-shadow:
    0 0 30px rgba(212, 175, 55, 0.35),
    /* halo dorado exterior */
    0 16px 60px rgba(0, 0, 0, 0.80),
    /* sombra proyectada profunda */
    0 4px 12px rgba(0, 0, 0, 0.60),
    /* sombra de contacto */
    inset 0 1px 0 rgba(212, 175, 55, 0.20),
    /* reflejo superior interno */
    inset 0 -1px 0 rgba(0, 0, 0, 0.50);
  /* sombra inferior interna */
  transition: box-shadow 0.40s ease, border-color 0.30s ease, transform 0.30s ease;
  will-change: transform, box-shadow;
}

.video-wrapper:hover {
  transform: translateY(-4px) scale(1.005);
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow:
    0 0 50px rgba(212, 175, 55, 0.55),
    /* halo dorado intensificado */
    0 24px 80px rgba(0, 0, 0, 0.85),
    /* sombra proyectada más profunda */
    0 6px 16px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(212, 175, 55, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.60);
}

/* El video ocupa toda la caja, como object-fit: cover */
.video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

/* ── Tipografía del hero ── */
.hero__title {
  font-size: clamp(1.6rem, 3.5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  text-align: left;
  /* Legibilidad garantizada sobre imagen de fondo */
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.90),
    0 0 40px rgba(212, 168, 67, 0.15),
    1px 1px 3px rgba(0, 0, 0, 0.80);
}

.hero__subtitle {
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  line-height: 1.75;
  max-width: 38ch;
  margin-bottom: 2rem;
  color: var(--clr-text-secondary);
  text-align: left;
}

/* ── Botón JUGAR AHORA ── */
.btn--hero-play {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--clr-gold-bright) 0%, #e8bc55 50%, var(--clr-gold-mid) 100%);
  color: #0a0a0a;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 4px 20px rgba(212, 168, 67, 0.40),
    0 0 40px rgba(212, 168, 67, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 250ms ease, box-shadow 250ms ease, filter 150ms ease;
  will-change: transform, box-shadow;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
}

.btn--hero-play i {
  font-size: 1.25em;
  transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn--hero-play:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 8px 32px rgba(212, 168, 67, 0.60),
    0 0 60px rgba(212, 168, 67, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
  filter: brightness(1.10);
}

.btn--hero-play:hover i {
  transform: translateX(3px) scale(1.15);
}

.btn--hero-play:active {
  transform: translateY(0) scale(0.98);
  filter: brightness(0.95);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  #hero-container {
    padding: 80px 6% 50px;
    gap: 28px;
  }

  .hero-text-col {
    flex: 0 0 42%;
    max-width: 42%;
  }

  .hero-video-col {
    flex: 0 0 54%;
    max-width: 54%;
  }
}

@media (max-width: 900px) {

  /* Tablet: apila — texto arriba, video abajo */
  #hero-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 6% 48px;
    gap: 2rem;
    min-height: auto;
  }

  .hero-text-col,
  .hero-video-col {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .hero__title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
  }
}

@media (max-width: 600px) {
  #hero-container {
    padding: 80px 5% 40px;
  }

  .hero-text-col {
    align-items: center;
    text-align: center;
  }

  .hero__title,
  .hero__subtitle {
    text-align: center;
  }

  .hero__subtitle {
    max-width: 100%;
  }

  .btn--hero-play {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
  }
}


/* ==========================================================================
   HERO — Glass Box (Caja de Cristal integrada: Video + Stats)
   ========================================================================== */

/* La hero-video-col ya NO tiene flex/column inline — todo está controlado aquí */
.hero-video-col {
  flex: 0 0 58%;
  max-width: 58%;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

/* Caja de cristal unificada */
.hero-glass-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: rgba(8, 6, 4, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.40);
  border-radius: 14px;
  box-shadow:
    0 0 30px rgba(212, 175, 55, 0.30),
    0 16px 60px rgba(0, 0, 0, 0.80),
    inset 0 1px 0 rgba(212, 175, 55, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.50);
  overflow: hidden;
  transition: box-shadow 0.35s ease, border-color 0.30s ease, transform 0.30s ease;
  will-change: transform, box-shadow;
}

.hero-glass-box:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.60);
  box-shadow:
    0 0 50px rgba(212, 175, 55, 0.45),
    0 24px 80px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(212, 175, 55, 0.30),
    inset 0 -1px 0 rgba(0, 0, 0, 0.60);
}

/* Contenedor del video: ratio 16/9, video ocupa el 100% */
.hero-glass-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-glass-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

/* Separador dorado entre video y stats */
.hero-glass-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.15) 10%,
    rgba(212, 175, 55, 0.60) 50%,
    rgba(212, 175, 55, 0.15) 90%,
    transparent 100%);
  flex-shrink: 0;
}

/* Barra de estadísticas — dentro de la caja de cristal */
.hero-stats-premium-bar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  flex-shrink: 0;
}

/* Cada panel de estadística */
.hero-stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 8px;
  text-align: center;
}

/* Separador vertical entre stats */
.hero-stat-divider {
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(212, 175, 55, 0.50) 30%,
    rgba(212, 175, 55, 0.50) 70%,
    transparent
  );
  flex-shrink: 0;
  align-self: stretch;
}

/* Contenedor del indicador LIVE + número */
.stat-live-status {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

/* Número de la estadística */
.stat-value {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* Color dorado para los números */
.gold-text {
  color: #d4af37;
  text-shadow:
    0 0 12px rgba(212, 175, 55, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.70);
}

/* Etiqueta descriptiva debajo del número */
.stat-label {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: clamp(0.52rem, 0.8vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.75);
  line-height: 1.2;
}

/* Punto pulsante LIVE (indicador verde) */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.70);
  animation: pulse-live 2s ease-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-live {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.70); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ── Shimmer animation para el título (text-shimmer ya existe pero se refuerza) ── */
.text-shimmer {
  background: linear-gradient(
    90deg,
    #c8a84b 0%,
    #f0d060 25%,
    #ffe080 50%,
    #f0d060 75%,
    #c8a84b 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-move 3s linear infinite;
  font-style: normal;
  display: block;
}

@keyframes shimmer-move {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ── Responsive: tablet (≤ 1100px) ── */
@media (max-width: 1100px) {
  .hero-video-col {
    flex: 0 0 54%;
    max-width: 54%;
  }
  .stat-value {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
  }
  .stat-label {
    font-size: clamp(0.48rem, 0.7vw, 0.62rem);
  }
}

/* ── Responsive: apilado vertical (≤ 900px) ── */
@media (max-width: 900px) {
  .hero-video-col {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  .hero-glass-box {
    border-radius: 10px;
  }
  .hero-stats-premium-bar {
    padding: 14px 0;
  }
  .stat-value {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
  }
  .stat-label {
    font-size: clamp(0.55rem, 1.2vw, 0.65rem);
  }
}

/* ── Responsive: móvil pequeño (≤ 600px) ── */
@media (max-width: 600px) {
  .hero-glass-box {
    border-radius: 8px;
  }
  .hero-stats-premium-bar {
    padding: 12px 0;
  }
  .hero-stat-item {
    padding: 8px 4px;
  }
  .stat-value {
    font-size: clamp(0.95rem, 3.5vw, 1.2rem);
  }
  .stat-label {
    font-size: 0.5rem;
    letter-spacing: 0.06em;
  }
  .pulse-dot {
    width: 7px;
    height: 7px;
  }
}


/* ==========================================================================
   SECCIÓN NOTICIAS — Grid MMORPG épico
   ========================================================================== */


#news-section {
  position: relative;
  padding: 52px 5% 60px;
  width: 100%;
  box-sizing: border-box;
  background:
    linear-gradient(180deg,
      rgba(5, 5, 5, 0.82) 0%,
      rgba(8, 6, 4, 0.88) 50%,
      rgba(5, 5, 5, 0.82) 100%);
  border-top: 1px solid rgba(212, 168, 67, 0.18);
  border-bottom: 1px solid rgba(212, 168, 67, 0.12);
}

/* ── Contenedor interno centrado a 1200px ── */
#news-section>* {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

/* ── Cabecera ornamental ── */
.news-section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
  text-align: center;
}

.news-section__ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 420px;
}

.ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.6), transparent);
}

.ornament-gem {
  color: var(--clr-gold-bright);
  font-size: 1.1rem;
  filter: drop-shadow(0 0 6px rgba(212, 168, 67, 0.7));
  flex-shrink: 0;
}

.news-section__title {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: linear-gradient(135deg,
      #c8a84b 0%,
      #f0d060 30%,
      #d4a832 55%,
      #ffe080 75%,
      #b8902a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 12px rgba(212, 168, 67, 0.35));
  margin: 0;
  line-height: 1.1;
}

.news-section__subtitle {
  color: var(--clr-text-secondary, #a89880);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 0.08em;
  margin: 0.2rem 0 0.8rem;
  font-style: italic;
}

.news-section__ver-todas {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(212, 168, 67, 0.80);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(212, 168, 67, 0.25);
  padding: 0.45rem 1.2rem;
  border-radius: 100px;
  transition: color 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.news-section__ver-todas:hover {
  color: var(--clr-gold-bright, #d4a843);
  border-color: rgba(212, 168, 67, 0.55);
  background: rgba(212, 168, 67, 0.06);
  box-shadow: 0 0 18px rgba(212, 168, 67, 0.15);
}

/* ── Grid: 4 columnas — max-width 1200px ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Tarjeta base ── */
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  /* Fondo glassmorphism oscuro */
  background: rgba(12, 8, 4, 0.75);
  /* Borde metálico dorado degradado */
  border: 1px solid rgba(212, 168, 67, 0.22);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.70),
    0 1px 0 rgba(212, 168, 67, 0.12) inset,
    0 -1px 0 rgba(0, 0, 0, 0.60) inset;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.35s ease,
    border-color 0.30s ease;
  cursor: pointer;
  will-change: transform, box-shadow;
}

.news-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(212, 168, 67, 0.55);
  box-shadow:
    0 0 40px rgba(212, 168, 67, 0.22),
    /* halo dorado */
    0 20px 60px rgba(0, 0, 0, 0.85),
    /* sombra profunda */
    0 4px 12px rgba(0, 0, 0, 0.60),
    0 1px 0 rgba(212, 168, 67, 0.30) inset;
}

/* ── Zona imagen ── */
.news-card__img-wrap {
  display: block;
  position: relative;
  width: 100%;
  padding-top: 58%;
  /* ratio 16:10 aprox */
  overflow: hidden;
  text-decoration: none;
  flex-shrink: 0;
}

.news-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.50s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card:hover .news-card__img {
  transform: scale(1.07);
}

/* Overlay oscuro sobre imagen */
.news-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(5, 3, 1, 0.10) 0%,
      rgba(5, 3, 1, 0.15) 50%,
      rgba(5, 3, 1, 0.80) 100%);
  transition: background 0.35s ease;
}

.news-card:hover .news-card__img-overlay {
  background: linear-gradient(to bottom,
      rgba(5, 3, 1, 0.05) 0%,
      rgba(5, 3, 1, 0.10) 45%,
      rgba(5, 3, 1, 0.75) 100%);
}

/* Badge de fecha — esquina superior derecha */
.news-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(8, 6, 3, 0.82);
  border: 1px solid rgba(212, 168, 67, 0.30);
  color: rgba(212, 168, 67, 0.90);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── Cuerpo de la tarjeta ── */
.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.2rem 1.3rem;
  gap: 0.75rem;
  /* Separador superior dorado sutil */
  border-top: 1px solid rgba(212, 168, 67, 0.10);
}

.news-card__title {
  margin: 0;
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.news-card__title a {
  color: var(--clr-text-primary, #e8e0cc);
  text-decoration: none;
  transition: color 0.22s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card:hover .news-card__title a {
  color: #f0d060;
}

/* Botón VER MÁS */
.news-card__cta {
  margin-top: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(212, 168, 67, 0.80);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(212, 168, 67, 0.22);
  border-radius: 6px;
  background: rgba(212, 168, 67, 0.04);
  transition: all 0.25s ease;
  align-self: flex-start;
}

.news-card__cta i {
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.news-card:hover .news-card__cta {
  color: #0a0804;
  background: linear-gradient(135deg, #d4a843 0%, #f0d060 50%, #c8962a 100%);
  border-color: #d4a843;
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.35);
}

.news-card:hover .news-card__cta i {
  transform: translateX(4px);
}

/* ── Efecto halo en hover ── */
.news-card__glow {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%,
      rgba(212, 168, 67, 0.12) 0%,
      transparent 70%);
  transition: opacity 0.40s ease;
}

.news-card:hover .news-card__glow {
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  #news-section {
    padding: 60px 4% 70px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .news-section__title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .news-card__img-wrap {
    padding-top: 52%;
  }
}


/* ==========================================================================
   SECCIÓN PROMO — Video + Contenido de presentación
   Posición: entre Noticias y Rankings
   ========================================================================== */

#promo-section {
  display: grid;
  grid-template-columns: 55fr 45fr;
  /* 55% video / 45% contenido */
  align-items: center;
  gap: 3rem;
  padding: 70px 6% 80px;
  width: 100%;
  box-sizing: border-box;
  /* Fondo oscuro traslúcido — idéntico a #news-section */
  background:
    linear-gradient(180deg,
      rgba(5, 5, 5, 0.82) 0%,
      rgba(8, 6, 4, 0.88) 50%,
      rgba(5, 5, 5, 0.82) 100%);
  /* Desenfoque del fondo general del sitio a través de este bloque */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* Bordes dorados sutiles — igual que news-section */
  border-top: 1px solid rgba(212, 168, 67, 0.18);
  border-bottom: 1px solid rgba(212, 168, 67, 0.12);
  position: relative;
  overflow: hidden;
}

/* Resplandor sutil en los bordes laterales */
#promo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 100% at 0% 50%, rgba(212, 168, 67, 0.03) 0%, transparent 70%),
    radial-gradient(ellipse 40% 100% at 100% 50%, rgba(212, 168, 67, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Columna de video ── */
.promo-video-col {
  position: relative;
  z-index: 1;
}

/* Contenedor 16:9 responsivo (padding-top trick) */
.promo-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 ratio */
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(212, 168, 67, 0.25),
    0 8px 40px rgba(0, 0, 0, 0.70),
    0 0 60px rgba(212, 168, 67, 0.08);
}

.promo-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Columna de contenido ── */
.promo-content-col {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
}

/* ── Ornamento decorativo ── */
.promo-ornament {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.promo-ornament__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 168, 67, 0.50), transparent);
}

.promo-ornament__gem {
  font-size: 1.1rem;
  color: rgba(212, 168, 67, 0.80);
  filter: drop-shadow(0 0 6px rgba(212, 168, 67, 0.40));
}

/* ── Título dorado estilo fantasy ── */
.promo-title {
  margin: 0;
  font-family: var(--font-heading, 'Cinzel', 'Palatino Linotype', serif);
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.03em;
  /* Degradado dorado brillante */
  background: linear-gradient(135deg,
      #c8a84b 0%,
      #f5d060 30%,
      #e8b840 55%,
      #fff0a0 70%,
      #c09030 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 3px 12px rgba(212, 168, 67, 0.35));
}

/* ── Párrafo descriptivo ── */
.promo-desc {
  margin: 0;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  font-size: clamp(0.90rem, 1.2vw, 1.05rem);
  font-weight: 400;
  line-height: 1.80;
  color: rgba(232, 220, 196, 0.88);
  -webkit-text-fill-color: rgba(232, 220, 196, 0.88);
  max-width: 52ch;
}

/* ── Botón PLAY NOW ── */
.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2.2rem;
  margin-top: 0.5rem;
  /* Degradado oscuro/púrpura */
  background: linear-gradient(135deg,
      #1a0a2e 0%,
      #2d1050 35%,
      #1f0838 65%,
      #3d1060 100%);
  border: 1px solid rgba(180, 100, 255, 0.45);
  border-radius: 8px;
  color: #e8d4ff;
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 0 20px rgba(140, 60, 255, 0.25),
    0 4px 16px rgba(0, 0, 0, 0.60),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.promo-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(200, 120, 255, 0.20) 0%,
      rgba(255, 200, 80, 0.15) 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.promo-cta:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(200, 130, 255, 0.70);
  box-shadow:
    0 0 32px rgba(160, 80, 255, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.70),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #f0e0ff;
}

.promo-cta:hover::before {
  opacity: 1;
}

.promo-cta__text,
.promo-cta__icon {
  position: relative;
  z-index: 1;
}

.promo-cta__icon {
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo-cta:hover .promo-cta__icon {
  transform: scale(1.2) translateX(2px);
}

/* ── Responsive: tablet ── */
@media (max-width: 900px) {
  #promo-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 50px 5% 60px;
  }

  .promo-content-col {
    align-items: center;
    text-align: center;
  }

  .promo-desc {
    max-width: 100%;
  }
}

/* ── Responsive: móvil ── */
@media (max-width: 600px) {
  #promo-section {
    padding: 40px 4% 50px;
  }

  .promo-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  .promo-cta {
    padding: 0.75rem 1.6rem;
    font-size: 0.88rem;
  }
}


/* ==========================================================================
   SECCIÓN TOPS — Carrusel épico de Rankings
   ========================================================================== */

#tops-section {
  position: relative;
  /* contexto de posicionamiento para .tops-bg-layer */
  overflow: hidden;
  padding: 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  /* la capa .tops-bg-layer cubre todo — sin sólido encima */
}

/* ── CAPA DE FONDO UNIFICADA: header + carousel = UNA SOLA IMAGEN ──
   - Imagen inicial (slide 0) en CSS: visible sin esperar al JS
   - JS actualiza background-image en cada cambio de slide            */
.tops-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Imagen inicial: slide 0 — muestra el fondo desde el primer fotograma */
  background-image: url('/original_repo/htdocs/images/tops/top_leveling_semanal.jpg?v=2');
  background-color: #0a0806;
  background-size: cover !important;
  background-position: center 25% !important;
  /* personajes bien encuadrados: ni muy arriba ni centrado */
  background-repeat: no-repeat;
  pointer-events: none;
  /* Oscurecer la imagen de fondo sin editar el archivo — efecto místico */
  filter: brightness(0.45);
  -webkit-filter: brightness(0.45);
  /* SIN border, SIN box-shadow, SIN outline */
  border: none;
  outline: none;
  box-shadow: none;
}

/* ── Overlay de la sección: TRANSPARENTE ──
   La imagen del padre (.tops-bg-layer) dicta la iluminación uniforme.
   SIN gradiente: cero diferencia de brillo entre la zona de RANKINGS y el carousel. */
.tops-header-overlay {
  display: none;
  /* eliminado: era la causa del corte de brillo */
}

/* ── Header RANKINGS: título flotante limpio sobre la imagen ── */
#tops-section>.tops-section__header,
#tops-section .news-section__header {
  position: relative;
  z-index: 10;
  /* Sin fondo, sin blur, sin caja — el título flota sobre la imagen */
  background: none !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  outline: none;
  /* Centrado y espaciado conservado */
  padding: 15px 30px !important;
  width: fit-content;
  max-width: 90%;
  margin: 0 auto !important;
  margin-bottom: 0 !important;
  box-sizing: border-box;
  text-align: center;
}

/* ── Título RANKINGS: sin text-shadow — letras limpias y nítidas ── */
#tops-section .news-section__title {
  text-shadow: none !important;
}

/* ── Subtítulo: sin text-shadow — texto elegante sobre fondo oscuro ── */
#tops-section .news-section__subtitle {
  text-shadow: none !important;
}

.tops-section__header {
  box-sizing: border-box;
  margin-bottom: 0;
}

/* ── Carrusel: transparente, sin costura visual ── */
#tops-carousel {
  position: relative;
  z-index: 5;
  width: 100% !important;
  max-width: 100% !important;
  /* height: 450px; removed for unified rankings */
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
  background: transparent;
  /* Eliminar cualquier costura (border/shadow/outline) que cree la línea horizontal */
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* ── Track: ocupa exactamente el carousel ── */
.tops-track {
  position: relative;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── Slide base ── */
.tops-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
  z-index: 1;
}

.tops-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* ── Fondo del slide (cada imagen individual por slide) ── */
.tops-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  /* Oscurecimiento adicional de cada slide individual */
  filter: brightness(0.45);
  -webkit-filter: brightness(0.45);
}

/* ── Overlay del slide: velo oscuro profundo + franja inferior para controles ──
   Crea el efecto místico sin encandillar — el contenido (caja de texto) destaca. */
.tops-slide__overlay {
  position: absolute;
  inset: 0;
  /* Capa oscura general + degradado más intenso en la base */
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.30) 0%,
      rgba(0, 0, 0, 0.15) 40%,
      rgba(0, 0, 0, 0.35) 70%,
      rgba(0, 0, 0, 0.70) 100%);
  z-index: 2;
  pointer-events: none;
}

/* ── CTA Ver Ranking (dentro de .tops-slide-controls) ── */
.tops-slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.8rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(212, 168, 67, 0.50);
  border-radius: 6px;
  color: rgba(212, 168, 67, 1);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
  z-index: 5;
}

.tops-slide__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #d4a843 0%, #f0d060 50%, #c8962a 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.tops-slide__cta:hover {
  color: #0a0804;
  border-color: #d4a843;
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.45);
  transform: translateY(-2px);
}

.tops-slide__cta:hover::before {
  opacity: 1;
}

.tops-slide__cta>* {
  position: relative;
  z-index: 1;
}

.tops-slide__cta-sword {
  transition: transform 0.22s ease;
}

.tops-slide__cta:hover .tops-slide__cta-sword {
  transform: rotate(-15deg) scale(1.1);
}

.tops-slide__cta i {
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tops-slide__cta:hover i {
  transform: translateX(4px);
}

/* ── FLECHAS laterales ── */
.tops-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 67, 0.30);
  background: rgba(8, 6, 3, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(212, 168, 67, 0.80);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.60);
}

.tops-arrow:hover {
  background: rgba(212, 168, 67, 0.12);
  border-color: rgba(212, 168, 67, 0.65);
  color: #f0d060;
  box-shadow: 0 0 24px rgba(212, 168, 67, 0.30), 0 4px 20px rgba(0, 0, 0, 0.70);
  transform: translateY(-50%) scale(1.08);
}

.tops-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.tops-arrow--prev {
  left: 2%;
}

.tops-arrow--next {
  right: 2%;
}

/* ── BARRA DE CONTROLES: botón VER RANKING + gemas UNO AL LADO DEL OTRO ── */
.tops-slide-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 5%;
  pointer-events: none;
  /* el contenedor no captura clicks */
}

.tops-slide-controls>* {
  pointer-events: auto;
  /* pero sus hijos sí */
}

/* ── PAGINACIÓN: gemas — ahora static dentro del flex-row ── */
.tops-pagination {
  position: static;
  /* ya no absolute, es hijo del control bar */
  transform: none;
  display: flex;
  gap: 10px;
  align-items: center;
}

.tops-gem {
  width: 12px;
  height: 12px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tops-gem:hover {
  transform: scale(1.3);
}

.tops-gem__inner {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  transform: rotate(45deg);
  /* diamante */
  background: rgba(212, 168, 67, 0.28);
  border: 1px solid rgba(212, 168, 67, 0.40);
  transition: all 0.30s ease;
  box-shadow: 0 0 4px rgba(212, 168, 67, 0.15);
}

.tops-gem.is-active .tops-gem__inner {
  background: linear-gradient(135deg, #d4a843, #f0d060);
  border-color: #f0d060;
  box-shadow: 0 0 12px rgba(212, 168, 67, 0.65), 0 0 4px rgba(212, 168, 67, 0.40);
  transform: rotate(45deg) scale(1.35);
  animation: gem-pulse 1.8s ease-in-out infinite;
}

@keyframes gem-pulse {

  0%,
  100% {
    box-shadow: 0 0 12px rgba(212, 168, 67, 0.65), 0 0 4px rgba(212, 168, 67, 0.40);
  }

  50% {
    box-shadow: 0 0 22px rgba(212, 168, 67, 0.90), 0 0 8px rgba(212, 168, 67, 0.60);
  }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  #tops-carousel {
    height: 400px;
  }

  .tops-arrow--prev {
    left: 1%;
  }

  .tops-arrow--next {
    right: 1%;
  }
}

@media (max-width: 600px) {
  #tops-section {
    padding: 20px 0 0;
  }

  #tops-carousel {
    height: 340px;
  }

  .tops-slide__content {
    padding-bottom: 2.8rem;
  }

  .tops-arrow {
    width: 38px;
    height: 38px;
  }

  .tops-arrow--prev {
    left: 0.5%;
  }

  .tops-arrow--next {
    right: 0.5%;
  }

  .tops-slide__cta {
    padding: 0.45rem 1.2rem;
    font-size: 0.70rem;
  }
}

/* ==========================================================================
   SECCIÓN DUNGEONS — Carrusel full-bleed (header flotante absoluto)
   El header se posiciona ABSOLUTE encima del carousel → una sola imagen.
   ========================================================================== */

/* Sección: relativa + altura = carousel. Sin fondo sólido. */
#dg-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
}

/* Header: ABSOLUTO encima del carousel → no empuja el layout */
.dg-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
  padding: 40px 30px 16px !important;
  /* espacio generoso arriba */
  box-sizing: border-box;
  text-align: center;
  background-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.00) 100%) !important;
}

#dg-section .news-section__title {
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.95);
}

#dg-section .news-section__subtitle {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.90);
}

/* ══════════════════════════════════════════════════════
   CARRUSEL — ocupa TODA la altura visible de la sección
   ══════════════════════════════════════════════════════ */
#dg-carousel {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 700px;
  /* franja épica de pantalla completa */
  min-height: 700px !important;
  overflow: hidden;
  background: transparent;
}

/* Slick internals deben heredar la altura del carousel */
#dg-track .slick-list,
#dg-track .slick-track {
  height: 100% !important;
}

#dg-track .slick-slide {
  height: 700px !important;
}

.dg-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ── Slides: fade-in/out, imagen propia por ID ── */
.dg-slide {
  width: 100%;
  height: 700px !important;
  /* igual que #dg-carousel */
  background-color: #0a0808;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
  /* centra el arte */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Imagen de fondo por slide — rutas relativas desde htdocs/css/ */
#dg-slide-0 {
  background-image: url('../images/banners/dungeon_andun.png') !important;
}

#dg-slide-1 {
  background-image: url('../images/banners/dungeon_scorpion.png') !important;
}

#dg-slide-2 {
  background-image: url('../images/banners/summer_dungeon.png') !important;
}

#dg-slide-3 {
  background-image: url('../images/banners/dungeon_sanctuary.png') !important;
}

/* Slide activo */
.dg-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* Vignette encima de la imagen, debajo del panel */
.dg-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.10) 0%,
      rgba(0, 0, 0, 0.00) 30%,
      rgba(0, 0, 0, 0.00) 60%,
      rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
  z-index: 1;
}

.dg-slide__content {
  position: relative;
  z-index: 5;
  background: rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 168, 67, 0.20);
  border-radius: 14px;
  padding: 40px;
  /* caja con aire generoso */
  width: min(600px, 85%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}

/* Título */
.dg-slide__title {
  margin: 0;
  font-family: var(--font-display, 'Cinzel Decorative', 'Cinzel', serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.1;
  background: linear-gradient(135deg, #c8a84b 0%, #f5d060 35%, #e8b840 60%, #fff0a0 80%, #c09030 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(212, 168, 67, .5));
}

/* Descripción */
.dg-slide__desc {
  margin: 0;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  line-height: 1.72;
  color: rgba(232, 220, 196, 0.90);
  -webkit-text-fill-color: rgba(232, 220, 196, 0.90);
  max-width: 46ch;
}

/* Botón Accept Challenge! */
.dg-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.60rem 1.8rem;
  margin-top: 0.3rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(212, 168, 67, 0.55);
  border-radius: 6px;
  color: rgba(212, 168, 67, 1);
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 0.80rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.dg-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #d4a843 0%, #f0d060 50%, #c8962a 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.dg-cta:hover {
  color: #0a0804;
  border-color: #d4a843;
  box-shadow: 0 4px 20px rgba(212, 168, 67, .45);
  transform: translateY(-2px);
}

.dg-cta:hover::before {
  opacity: 1;
}

.dg-cta>* {
  position: relative;
  z-index: 1;
}

.dg-cta i {
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dg-cta:hover i {
  transform: translateX(4px);
}

/* ── Flechas ── */
.dg-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 67, .30);
  background: rgba(8, 6, 3, .75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(212, 168, 67, .80);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .60);
}

.dg-arrow:hover {
  background: rgba(212, 168, 67, .12);
  border-color: rgba(212, 168, 67, .65);
  color: #f0d060;
  box-shadow: 0 0 24px rgba(212, 168, 67, .30);
  transform: translateY(-50%) scale(1.08);
}

.dg-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.dg-arrow--prev {
  left: 2%;
}

.dg-arrow--next {
  right: 2%;
}

/* ── Dots ── */
.dg-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.dg-controls>* {
  pointer-events: auto;
}

.dg-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dg-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dg-dot:hover {
  transform: scale(1.3);
}

.dg-dot__inner {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: rgba(212, 168, 67, .28);
  border: 1px solid rgba(212, 168, 67, .40);
  transition: all 0.30s ease;
  box-shadow: 0 0 4px rgba(212, 168, 67, .15);
}

.dg-dot.is-active .dg-dot__inner {
  background: linear-gradient(135deg, #d4a843, #f0d060);
  border-color: #f0d060;
  box-shadow: 0 0 12px rgba(212, 168, 67, .65);
  transform: rotate(45deg) scale(1.35);
  animation: gem-pulse 1.8s ease-in-out infinite;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  #dg-carousel {
    height: 560px;
    min-height: 560px !important;
  }

  #dg-track .slick-slide {
    height: 560px !important;
  }

  .dg-slide {
    height: 560px !important;
  }

  .dg-arrow--prev {
    left: 1%;
  }

  .dg-arrow--next {
    right: 1%;
  }

  .dg-slide__content {
    padding: 28px 24px;
  }
}

@media (max-width: 600px) {
  #dg-carousel {
    height: 460px;
    min-height: 460px !important;
  }

  #dg-track .slick-slide {
    height: 460px !important;
  }

  .dg-slide {
    height: 460px !important;
  }

  .dg-arrow {
    width: 38px;
    height: 38px;
  }

  .dg-arrow--prev {
    left: 0.5%;
  }

  .dg-arrow--next {
    right: 0.5%;
  }

  .dg-slide__content {
    padding: 24px 18px;
    width: 90%;
  }

  .dg-slide__title {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }

  .dg-slide__desc {
    font-size: 0.83rem;
  }

  .dg-cta {
    padding: 0.50rem 1.2rem;
    font-size: 0.73rem;
  }
}


/* ==========================================================================
   MOUNTS & SETS — Dos secciones full-width independientes
   ========================================================================== */

/* ── SECCIÓN MOUNTS ── */
#ms-mounts-section {
  position: relative;
  width: 100%;
  padding: 70px 24px 80px;
  min-height: 500px;
  box-sizing: border-box;
  background-image: url('../images/banners/nw_mounts.png');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-color: #0a0808;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ms-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.65) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.50) 100%);
  pointer-events: none;
  z-index: 0;
}

.ms-mounts-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.ms-mounts-card {
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(212, 168, 67, 0.22);
  border-radius: 18px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 40px 48px;
  box-sizing: border-box;
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(212, 168, 67, 0.08);
  position: relative;
}

.ms-mounts-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.45), transparent);
}

/* ── SECCIÓN SETS — full-width con video ── */
#ms-sets-section {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video ocupa toda la sección */
.ms-sets-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Mantiene proporción original sin recortes */
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

/* Overlay oscuro sobre el video */
.ms-sets-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.20) 40%,
      rgba(0, 0, 0, 0.45) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Panel de cristal flotante centrado */
.ms-sets-panel {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 18px;
  padding: 36px 40px;
  max-width: 550px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(212, 168, 67, 0.10);
}

.ms-sets-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.50), transparent);
}

/* ── Compartidos: título, rotador, imagen, texto, dots, cta ── */
.ms-card__header {
  width: 100%;
}

.ms-card__title {
  margin: 10px 0 0;
  font-family: var(--font-display, 'Cinzel Decorative', 'Cinzel', serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #c8a84b 0%, #f5d060 40%, #e8b840 65%, #c09030 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 12px rgba(212, 168, 67, 0.45));
}

.ms-sets-panel .ms-card__title {
  text-shadow: none;
  filter: drop-shadow(0 2px 16px rgba(212, 168, 67, 0.65));
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

/* Rotador */
.ms-rotator {
  position: relative;
  width: 100%;
  min-height: 320px;
}

.ms-mount {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ms-mount--active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.ms-mount__img-wrap {
  width: 100%;
  max-width: 340px;
  min-height: 250px;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(212, 168, 67, 0.18);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
  background-color: rgba(0, 0, 0, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ms-mount__img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: contain;
  object-position: center center;
  transition: transform 0.45s ease;
}

.ms-mount--active .ms-mount__img {
  transform: scale(1.04);
}



.ms-mount__name {
  margin: 0;
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #f0d060;
  text-shadow: 0 2px 8px rgba(212, 168, 67, 0.5);
}

.ms-mount__desc {
  margin: 0;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(232, 220, 196, 0.88);
  max-width: 38ch;
}

/* Dots */
.ms-rotator-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.ms-rdot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: rgba(212, 168, 67, 0.25);
  border: 1px solid rgba(212, 168, 67, 0.40);
  cursor: pointer;
  transition: all 0.28s ease;
  padding: 0;
}

.ms-rdot:hover {
  background: rgba(212, 168, 67, 0.55);
  transform: rotate(45deg) scale(1.2);
}

.ms-rdot--active {
  background: linear-gradient(135deg, #d4a843, #f0d060);
  border-color: #f0d060;
  box-shadow: 0 0 10px rgba(212, 168, 67, 0.65);
  transform: rotate(45deg) scale(1.3);
}

/* Descripción sets */
.ms-card__desc {
  font-family: var(--font-body, 'Montserrat', sans-serif);
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  line-height: 1.6;
  color: rgba(232, 220, 196, 0.95);
  margin: 0;
  max-width: 44ch;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.80);
}

/* Features */
.ms-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.ms-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(232, 220, 196, 0.92);
  padding: 8px 12px;
  background: rgba(10, 8, 5, 0.50);
  border: 1px solid rgba(212, 168, 67, 0.18);
  border-radius: 8px;
  transition: background 0.25s ease, border-color 0.25s ease;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.80);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.ms-feature:hover {
  background: rgba(212, 168, 67, 0.15);
  border-color: rgba(212, 168, 67, 0.35);
}

.ms-feature i {
  color: #d4a843;
  font-size: 1rem;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 4px rgba(212, 168, 67, 0.5));
}

/* CTA */
.ms-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.72rem 2.2rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(212, 168, 67, 0.55);
  border-radius: 6px;
  color: rgba(212, 168, 67, 1);
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  margin-top: 0 !important;
}

.ms-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #d4a843 0%, #f0d060 50%, #c8962a 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.ms-cta:hover {
  color: #0a0804;
  border-color: #d4a843;
  box-shadow: 0 0 28px rgba(212, 168, 67, 0.60), 0 4px 20px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

.ms-cta:hover::before {
  opacity: 1;
}

.ms-cta>* {
  position: relative;
  z-index: 1;
}

.ms-cta i {
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ms-cta:hover i {
  transform: translateX(4px);
}

.ms-cta--sets {
  padding: 0.6rem 1.8rem;
  font-size: 0.75rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  #ms-mounts-section {
    padding: 50px 18px 60px;
    background-attachment: scroll;
  }

  .ms-mounts-card {
    padding: 30px 24px;
  }

  #ms-sets-section {
    height: 460px;
  }

  .ms-sets-panel {
    padding: 32px 28px;
  }
}

@media (max-width: 600px) {
  #ms-mounts-section {
    padding: 36px 12px 48px;
  }

  .ms-mounts-card {
    padding: 24px 16px;
    gap: 16px;
  }

  #ms-sets-section {
    height: 400px;
  }

  .ms-sets-panel {
    padding: 24px 18px;
    width: 92%;
  }

  .ms-mount__img-wrap {
    max-width: 260px;
    min-height: 200px;
  }

  .ms-rotator {
    min-height: 260px;
  }
}


.section {
  padding-block: var(--space-24);
}

.section--sm {
  padding-block: var(--space-16);
}

.section--lg {
  padding-block: var(--space-32);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section__eyebrow {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.section__title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-5xl));
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-5);
}

.section__desc {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  max-width: 56ch;
  margin-inline: auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

#footer {
  margin-top: 0 !important;
  padding-block: var(--space-8);
  border-top: var(--border-subtle);
}

.footer__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  text-align: center;
}

.footer__social {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  font-size: var(--text-base);
  transition: background var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-base);
}

.footer__social-link:hover {
  transform: translateY(-3px);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4) var(--space-6);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
}

.footer__legal-link {
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer__copyright {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* En tablet: reducir el ancho del video un poco, mantener layout vertical */
@media (max-width: 1100px) {
  .hero__video-col {
    width: 90%;
  }
}

/* En móvil: video a ancho completo, formato 16/9 más adecuado para pantallas pequeñas */
@media (max-width: 768px) {
  #main-canvas {
    padding-inline: var(--space-4);
  }

  .navbar__nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-2);
    transform: translateY(-120%);
    transition: transform var(--transition-slow);
    z-index: var(--z-overlay);
  }

  .navbar__nav.is-open {
    transform: translateY(0);
  }

  .navbar__link {
    width: 100%;
    justify-content: center;
    padding: var(--space-4);
    border-radius: var(--radius-md);
  }

  .navbar__toggle {
    display: flex;
  }

  .hero__content {
    padding-inline: var(--space-4);
    padding-bottom: var(--space-8);
  }

  .hero__video-col {
    width: 95%;
    margin-top: var(--space-6);
  }

  .hero__video-embed {
    aspect-ratio: 16 / 9;
  }

  /* 16/9 en móvil */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn--hero-play {
    width: 100%;
    justify-content: center;
    font-size: var(--text-base);
    padding: var(--space-4) var(--space-8);
  }

  .hero__subtitle {
    max-width: 100%;
  }
}


/* ##########################################################################
   PARTE 3 — COMPONENTS (navbar, hero, footer, cards — estilos visuales)
   ########################################################################## */

#navbar {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: var(--border-subtle);
  transition: background var(--transition-slow), box-shadow var(--transition-slow);
}

#navbar.is-scrolled {
  background: rgba(10, 10, 10, 0.97);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.85);
  border-bottom-color: rgba(212, 168, 67, 0.18);
}

.navbar__brand-title {
  font-family: var(--font-display);
  font-weight: var(--font-black);
  font-size: var(--text-xl);
  color: var(--clr-gold-bright);
  letter-spacing: var(--tracking-wide);
  line-height: 1;
  text-shadow: 0 0 20px rgba(212, 168, 67, 0.3);
}

@keyframes logo-idle-float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-3px);
  }

  100% {
    transform: translateY(0px);
  }
}

.navbar__brand {
  overflow: visible;
}

.navbar__logo-img {
  animation: logo-idle-float 3.6s ease-in-out infinite;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  will-change: transform, filter;
}

.navbar__brand:hover .navbar__logo-img {
  animation-play-state: paused;
  transform: translateY(-6px) scale(1.08);
  filter: drop-shadow(0 8px 18px rgba(212, 168, 67, 0.40)) drop-shadow(0 2px 6px rgba(212, 168, 67, 0.25));
}

.navbar__brand:not(:hover) .navbar__logo-img {
  animation-play-state: running;
}

.nav-item {
  list-style: none;
  position: relative;
}

.navbar__link {
  color: var(--clr-text-secondary);
  font-family: var(--font-heading);
  transition: color var(--transition-base);
}

.navbar__link:hover,
.navbar__link.is-active {
  color: var(--clr-gold-bright);
}

.navbar__link::after {
  background: var(--clr-gold-bright);
  box-shadow: 0 0 8px var(--clr-gold-bright);
}

.navbar__link--dropdown {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: var(--space-2) var(--space-5);
  color: var(--clr-text-secondary);
  transition: color var(--transition-base);
  position: relative;
}

.navbar__link--dropdown::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - var(--space-10));
  height: 1px;
  background: var(--clr-gold-bright);
  box-shadow: 0 0 8px var(--clr-gold-bright);
  border-radius: 1px;
  transition: transform var(--transition-base);
  transform-origin: center;
}

.navbar__link--dropdown:hover,
.nav-item--dropdown.is-open>.navbar__link--dropdown {
  color: var(--clr-gold-bright);
}

.navbar__link--dropdown:hover::after,
.nav-item--dropdown.is-open>.navbar__link--dropdown::after {
  transform: translateX(-50%) scaleX(1);
}

.dropdown-chevron {
  flex-shrink: 0;
  stroke: currentColor;
  transition: transform var(--transition-base);
  transform-origin: center;
}

.nav-item--dropdown.is-open>.navbar__link--dropdown .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  list-style: none;
  padding: 14px 0 var(--space-2) 0;
  border-radius: var(--radius-lg);
  z-index: var(--z-dropdown);
  background: transparent;
  backdrop-filter: none;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.20s cubic-bezier(0.4, 0, 0.2, 1), transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.20s;
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  background: rgba(12, 12, 12, 0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 168, 67, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 168, 67, 0.05), inset 0 1px 0 rgba(212, 168, 67, 0.08);
  z-index: -1;
  pointer-events: none;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(12, 12, 12, 0.95);
  border-top: 1px solid rgba(212, 168, 67, 0.12);
  border-left: 1px solid rgba(212, 168, 67, 0.12);
  border-radius: 2px;
  z-index: 1;
}

.nav-item--dropdown.is-open>.nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Navbar compacto al scrollear */
#navbar.navbar--scrolled {
  background: rgba(8, 8, 8, 0.97) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}


.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--clr-text-secondary);
  text-decoration: none;
  letter-spacing: var(--tracking-normal);
  border-radius: var(--radius-sm);
  margin-inline: var(--space-2);
  transition: color var(--transition-fast), background var(--transition-fast), padding-left var(--transition-base);
  position: relative;
  z-index: 2;
}

.nav-dropdown__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 2px;
  height: 60%;
  background: var(--clr-gold-bright);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(212, 168, 67, 0.5);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-dropdown__item:hover {
  color: var(--clr-gold-bright);
  background: rgba(212, 168, 67, 0.06);
  padding-left: calc(var(--space-5) + 4px);
}

.nav-dropdown__item:hover::before {
  transform: translateY(-50%) scaleY(1);
}

.nav-dropdown__separator {
  height: 1px;
  background: rgba(212, 168, 67, 0.08);
  margin: var(--space-2) var(--space-4);
}

.navbar__link--tienda {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--clr-gold-bright);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide); /* idem: reducido para sentence case */
  text-transform: none;                 /* era uppercase — eliminado */
  text-decoration: none;
  padding: var(--space-2) var(--space-5);
  transition: color var(--transition-base), text-shadow var(--transition-base);
  position: relative;
}

.navbar__link--tienda::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - var(--space-10));
  height: 1px;
  background: var(--clr-gold-bright);
  box-shadow: 0 0 8px var(--clr-gold-bright);
  border-radius: 1px;
  transition: transform var(--transition-base);
  transform-origin: center;
}

.navbar__link--tienda:hover {
  text-shadow: 0 0 16px rgba(212, 168, 67, 0.5);
}

.navbar__link--tienda:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.tienda-icon {
  flex-shrink: 0;
  color: var(--clr-gold-bright);
  stroke: var(--clr-gold-bright);
  fill: none;
  transition: transform var(--transition-base), filter var(--transition-base);
}

.navbar__link--tienda:hover .tienda-icon {
  transform: scale(1.15);
  filter: drop-shadow(0 0 5px rgba(212, 168, 67, 0.55));
}

.navbar__download-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--clr-text-secondary);
  background: rgba(212, 168, 67, 0.06);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-inline: var(--space-2);
  transition: color var(--transition-base), background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-fast), filter var(--transition-fast);
}

.navbar__download-btn svg {
  flex-shrink: 0;
  stroke: currentColor;
  transition: transform var(--transition-base);
}

.navbar__download-label {
  white-space: nowrap;
}

.navbar__download-btn:hover {
  color: var(--clr-gold-bright);
  background: rgba(212, 168, 67, 0.12);
  border-color: rgba(212, 168, 67, 0.35);
  box-shadow: 0 0 20px rgba(212, 168, 67, 0.18), 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(212, 168, 67, 0.1);
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.navbar__download-btn:hover svg {
  transform: translateY(2px);
}

.navbar__download-btn:active {
  transform: translateY(0);
  filter: brightness(0.95);
}

@media (max-width: 1024px) {
  .navbar__download-label {
    display: none;
  }

  .navbar__download-btn {
    padding: var(--space-2) var(--space-3);
    margin-inline: var(--space-1);
  }
}

@media (max-width: 768px) {
  .navbar__download-btn {
    display: none;
  }
}

.btn--ghost {
  padding: var(--space-3) var(--space-6);
  background: transparent;
  color: var(--clr-text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  transition: color var(--transition-base), border-color var(--transition-base), background var(--transition-base), transform var(--transition-fast), filter var(--transition-fast);
}

.btn--ghost:hover {
  color: var(--clr-text-primary);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
  filter: brightness(1.2);
}

.btn--ghost:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .navbar__nav {
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: var(--border-subtle);
  }

  .navbar__link,
  .navbar__link--dropdown {
    border: var(--border-subtle);
    width: 100%;
    justify-content: space-between;
    padding: var(--space-4);
  }

  .navbar__link:hover,
  .navbar__link--dropdown:hover {
    background: var(--clr-gold-dim);
    border-color: rgba(212, 168, 67, 0.2);
  }

  .navbar__toggle span {
    background: var(--clr-text-secondary);
  }

  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(18, 18, 18, 0.95);
    border: none;
    border-top: var(--border-subtle);
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-item--dropdown.is-open>.nav-dropdown {
    max-height: 300px;
    transform: none;
  }

  .nav-dropdown__item {
    padding: var(--space-3) var(--space-8);
    border-radius: 0;
    margin-inline: 0;
    border-bottom: var(--border-subtle);
  }

  .navbar__actions {
    display: none;
  }
}

#main-canvas {
  background-color: var(--clr-bg-base);
  position: relative;
  z-index: var(--z-content);
}

.hero__eyebrow-text {
  color: var(--clr-gold-bright);
  font-family: var(--font-heading);
  font-weight: var(--font-semibold);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: var(--font-black);
  color: var(--clr-text-primary);
}

.hero__title em {
  font-style: normal;
  color: var(--clr-gold-bright);
  text-shadow: 0 0 40px rgba(212, 168, 67, 0.4);
}

.hero__subtitle {
  color: var(--clr-text-secondary);
  font-weight: var(--font-light);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(212, 168, 67, 0.08);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--clr-gold-bright);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 8px #22c55e;
  }

  50% {
    opacity: 0.5;
    box-shadow: 0 0 3px #22c55e;
  }
}

#footer {
  background: var(--clr-bg-base);
  border-top-color: rgba(212, 168, 67, 0.1);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--clr-gold-bright);
  letter-spacing: var(--tracking-wide);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  letter-spacing: var(--tracking-wide);
  font-style: italic;
}

.footer__social-link {
  color: var(--clr-text-muted);
  border: var(--border-subtle);
  transition: color var(--transition-base), border-color var(--transition-base), background var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-base);
}

.footer__social-link:hover {
  color: var(--clr-gold-bright);
  border-color: rgba(212, 168, 67, 0.3);
  background: var(--clr-gold-dim);
  box-shadow: var(--shadow-gold);
}

.footer__legal-link {
  color: var(--clr-text-muted);
}

.footer__legal-link:hover {
  color: var(--clr-gold-bright);
}

.footer__copyright {
  color: var(--clr-text-muted);
}

.card {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: var(--border-subtle);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-slow);
  will-change: transform, box-shadow;
}

.card:hover {
  border-color: rgba(212, 168, 67, 0.25);
  box-shadow: var(--glass-shadow), 0 0 0 1px rgba(212, 168, 67, 0.05);
  transform: translateY(-4px);
}

.card__icon {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-5);
  display: block;
  color: var(--clr-gold-bright);
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
  color: var(--clr-text-primary);
  margin-bottom: var(--space-3);
}

.card__desc {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: var(--leading-relaxed);
}

.section__eyebrow {
  color: var(--clr-gold-bright);
  font-family: var(--font-heading);
  font-weight: var(--font-semibold);
}

.section__title {
  font-family: var(--font-display);
  color: var(--clr-text-primary);
}

.section__desc {
  color: var(--clr-text-secondary);
  font-weight: var(--font-light);
}

.anim-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes shimmer-gold {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.text-shimmer {
  background: linear-gradient(90deg, var(--clr-gold-muted) 0%, var(--clr-gold-bright) 40%, #f0d080 50%, var(--clr-gold-bright) 60%, var(--clr-gold-muted) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-gold 4s linear infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    box-shadow: 0 0 12px rgba(212, 168, 67, 0.15);
  }

  50% {
    box-shadow: 0 0 32px rgba(212, 168, 67, 0.4);
  }
}

.glow-pulse {
  animation: glow-pulse 3s ease-in-out infinite;
}

/* Botón flotante Discord — dentro de .discord-float-wrap (que ya es fixed) */
.float {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #5865F2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-base, 0.2s ease),
              box-shadow var(--transition-base, 0.2s ease);
}

.float:hover,
.discord-float-wrap:hover .float {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 28px rgba(88, 101, 242, 0.55),
              0 0 20px rgba(88, 101, 242, 0.35);
}

.float img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}


/* ── Language Dropdown ───────────────────────────────────────────────────
   SOLUCIÓN AL PARPADEO:
   1. Se eliminó el .language-dropdown:hover — solo JS controla la apertura.
   2. Se añadió ::after pseudo-bridge para cubrir el gap entre botón y menú.
   3. La apertura se controla exclusivamente via clase .is-open + opacity/
      visibility para una transición suave sin display:none flash.
   ──────────────────────────────────────────────────────────────────────── */
.language-dropdown {
  position: relative;
  display: inline-block;
}

/* Puente invisible que cierra el gap entre el botón y el panel:
   Cuando .is-open, el pseudo-elemento cubre el espacio de 10% para que
   el mouse no «salga» del área interactiva al desplazarse hacia las opciones. */
.language-dropdown.is-open::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 12px; /* cubre el gap entre bottom:100% y bottom:110% del menú */
  pointer-events: auto;
}

/* ═══════════════════════════════════════════════════════
   FIX VISUAL: fondo opaco sólido + z-index máximo
   CAUSA DEL BUG: rgba() con alpha < 1 dejaba ver el footer
   detrás. backdrop-filter no ayudaba porque el panel flotaba
   sobre contenido con su propio stacking context.
   SOLUCIÓN: background: #0f0f0f (100% opaco) + z-index:9999
   ═══════════════════════════════════════════════════════ */
.language-content {
  /* Oculto por defecto — sin display:none para permitir transición CSS */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  transition:
    opacity   0.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.2s;

  /* FONDO SÓLIDO: 100% opaco, sin transparencia que mezcle con el footer */
  background: #0f0f0f;
  background-clip: padding-box;

  /* BORDE DORADO: acorde al diseño Dark Fantasy */
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  padding: 6px 0;
  min-width: 175px;

  /* Z-INDEX MÁXIMO: garantiza que flote sobre todos los elementos del footer */
  z-index: 9999;

  /* SOMBRA: separa visualmente del fondo, refuerza la percepción de "flotante" */
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(212, 175, 55, 0.10),
    inset 0 1px 0 rgba(212, 175, 55, 0.08);

  /* SIN backdrop-filter en el panel: no es necesario con fondo opaco */
}

/* ABIERTO: clase .is-open aplicada por JS al contenedor .language-dropdown */
.language-dropdown.is-open .language-content {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition:
    opacity   0.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

/* ── Opciones individuales ── */
.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: #b0a89a;
  text-decoration: none;
  font-size: 0.78rem;
  font-family: var(--font-heading, 'Cinzel', serif);
  letter-spacing: 0.06em;
  text-transform: none;
  transition: color 0.15s ease, background 0.15s ease, padding-left 0.15s ease;
  white-space: nowrap;
  background: transparent;
}

.lang-option i {
  font-size: 0.9rem;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

.lang-option:hover {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.08);
  padding-left: 20px;
}

.lang-option:hover i {
  opacity: 1;
}

/* Opción del idioma actualmente seleccionado */
.lang-option--active {
  color: #d4af37 !important;
  background: rgba(212, 175, 55, 0.06);
  cursor: default;
  pointer-events: none;
}

.lang-option--active::before {
  content: '✓';
  font-size: 0.7rem;
  color: #d4af37;
  margin-right: -4px; /* compensa el gap del flex */
  flex-shrink: 0;
}


/* ##########################################################################
   PARTE 4 — OVERRIDES FORZADOS (!important)
   Ruta base de assets en XAMPP: /original_repo/htdocs/images/
   Estas reglas tienen la última palabra sobre style.css heredado.
   ########################################################################## */

/* ══════════════════════════════════════════════════════════════════════════
   BORDE ROJO — ORIGEN: sfViewCacheManager::decorateContentWithDebug()
   Archivo: core/lib/vendor/symfony/lib/view/sfViewCacheManager.class.php:1042
   Causa: En modo 'frontend_dev.php', Symfony inyecta un div con
   style="border: 1px solid #f00" alrededor de cada componente cacheado.
   SOLUCIÓN: Override CSS que hace el borde transparente. NO tocar el core.
   ══════════════════════════════════════════════════════════════════════════ */
.sfWebDebugActionCache {
  border: none !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

.sfWebDebugCache {
  border-right: none !important;
  border-bottom: none !important;
  border-color: transparent !important;
}

/* ── LIMPIEZA TOTAL: elementos del diseño viejo ── */
/* El bloque hero-section (Videos + serverStatusIndex) fue eliminado del PHP.
   Este override garantiza que si alguna caché lo sirve, no se muestre. */
#homepage .hero-section,
.hero-section {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Botón JUGAR AHORA antiguo (btn-image) — eliminado */
.btn-image {
  display: none !important;
}

/* Grid de videos antiguo y widgets */
.tv-video-grid,
.tv-video-element,
.tv-thumbnail,
#realm-widget,
.RightslowSide,
.animatedfadeInLeft {
}

/* ── FULL WIDTH: eliminar restricciones de ancho heredadas ── */
/* El homepage 2026 es full-width, sin container-box ni max-width encajonado */
.container-box,
#homepage {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* ── ELIMINAR EL "CUADRO ROJO": el inset box-shadow rojo de .sets-section ── */
/* style.css L706: box-shadow: inset 0px -20px 20px 20px rgb(73 16 16 / 14%) */
.sets-section {
  box-shadow: none !important;
  border-top: 1px solid rgba(212, 168, 67, 0.10) !important;
  /* reemplazar por dorado sutil */
}

/* ── TRANSICIONES SUAVES entre secciones para integrar el fondo Metin2 ── */
/* Cada sección tiene su propio fondo oscuro semitransparente */
.slider-section,
.slider-section--ranking {
  background: rgba(5, 4, 3, 0.75) !important;
  border-top: 1px solid rgba(212, 168, 67, 0.08) !important;
}

.mount-section,
.sets-section,
.faq-section,
.social-section {
  background: rgba(6, 5, 3, 0.80) !important;
  border-top: 1px solid rgba(212, 168, 67, 0.07) !important;
}

/* ── MAIN CONTENT: full-width en homepage ── */
#main-content {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

/* ── Fondo global épico: imagen Metin2 fija en toda la pantalla ── */
body {
  background-color: #080808 !important;
  background-image:
    linear-gradient(to bottom,
      rgba(8, 8, 8, 0.60) 0%,
      rgba(8, 8, 8, 0.40) 40%,
      rgba(8, 8, 8, 0.55) 100%),
    url('../images/background.jfif') !important;
  background-attachment: fixed !important;
  /* parallax: el fondo no se mueve al scrollear */
  background-size: cover !important;
  /* cubre toda la pantalla sin repetirse */
  background-position: center center !important;
  /* centra el punto de interés del diseño */
  background-repeat: no-repeat !important;
}

/* ── Página wrapper: transparente para que se vea el fondo del body ── */
#page-wrapper {
  background-color: transparent !important;
}

/* ── NAVBAR: fondo glassmorphism oscuro, altura controlada ── */
#navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 80px !important;
  z-index: 200 !important;
  background: rgba(10, 10, 10, 0.88) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  border-bottom: 1px solid rgba(212, 168, 67, 0.12) !important;
}

/* ── Logo en navbar ── */
.navbar__logo-img {
  height: 80px !important;
  max-height: 80px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* ── HERO overrides — layout 2 columnas definitivo ── */
#hero {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  width: 100% !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  overflow: hidden !important;
  z-index: 1 !important;
  /* Transparente: el fondo del body (imagen Metin2) es visible a través */
  background-color: transparent !important;
}

#hero-container {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#hero .hero__title,
#hero .hero__subtitle {
  visibility: visible !important;
  opacity: 1 !important;
  color: #e8e0cc !important;
}

#hero .video-wrapper video {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* ==========================================================================
   SECCIÓN FAQ — Acordeón Glassmorphism
   ========================================================================== */
#faq-section {
  position: relative;
  width: 100%;
  height: auto !important;
  padding: 60px 0 !important;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.faq-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

.faq-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  /* Oscurece el pergamino para destacar el glass */
  z-index: 1;
}

.faq-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  /* El estilo ms-card se hereda (glassmorphism: rgba(0,0,0,0.52), blur(15px), borde dorado) */
  padding: 40px 48px;
}

.faq-container .ms-card__title {
  margin-bottom: 24px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  padding: 16px 8px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #d4af37;
  /* Dorado majestuoso */
  transition: all 0.3s ease;
  outline: none;
}

.faq-question:hover,
.faq-item.is-active .faq-question {
  color: #f5d060;
  text-shadow: 0 0 12px rgba(212, 168, 67, 0.6);
}

.faq-icon {
  font-size: 1.3rem;
  color: #d4af37;
  transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease;
}

.faq-question:hover .faq-icon {
  color: #f5d060;
  filter: drop-shadow(0 0 8px rgba(212, 168, 67, 0.6));
}

.faq-item.is-active .faq-icon {
  transform: rotate(180deg);
  /* Rota 180 grados */
  color: #f5d060;
  filter: drop-shadow(0 0 8px rgba(212, 168, 67, 0.6));
}



.faq-answer-inner {
  padding: 0 8px 24px 8px;
}

.faq-answer {
  margin: 0;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(232, 220, 196, 0.85);
  /* Blanco traslúcido/gris claro */
}

.faq-r-label {
  color: #d4af37;
  /* La "R:" en dorado */
  margin-right: 4px;
}


.faq-answer {
  display: none;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.faq-answer.show {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-height: none !important;
  overflow: visible !important;
}

.faq-answer,
.faq-answer p,
.faq-answer span {
  color: #ffffff !important;
  /* Blanco puro para probar visibilidad */
  font-weight: 500 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
  font-size: 16px !important;
  line-height: 1.5;
  padding-top: 10px;
  padding-bottom: 15px;
}

.faq-item,
.faq-question,
.faq-answer {
  position: relative !important;
  z-index: 50 !important;
  /* Por encima del fondo */
}

/* ── Responsive FAQ ── */
@media (max-width: 600px) {
  #faq-section {
    padding: 40px 16px;
  }

  .faq-container {
    padding: 24px 20px;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .faq-answer {
    font-size: 0.85rem;
  }
}


/* ── ELIMINAR línea roja / borders indeseados del CSS viejo ── */
/* La línea roja suele venir de border-left en .wrapper, .content, .pf-panel, .sider */
.wrapper,
.content,
.content-flex,
.container,
.pf-panel,
.sider,
.container-box,
#homepage,
.hero-section,
.news-section,
.slider-section,
.mount-section,
.sets-section,
.faq-section,
.social-section {
  border-left: none !important;
  outline: none !important;
}

/* ── Secciones de contenido (indexSuccess.php) — fondo semitransparente ── */
.container-box {
  background: transparent !important;
}

#homepage {
  background: transparent !important;
}

/* ── Main content: sin margin-top extra ── */
#main-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ── Z-index correcto para que nada tape el navbar ── */
#main-content,
#main-canvas {
  position: relative !important;
  z-index: 1 !important;
}

#footer {
  position: relative !important;
  z-index: 1 !important;
}

/* ── Texto del navbar: colores forzados ── */
.navbar__link,
.navbar__link--dropdown,
.navbar__brand-title {
  color: var(--clr-text-secondary) !important;
}

.navbar__link:hover,
.navbar__link--dropdown:hover,
.navbar__link.is-active {
  color: var(--clr-gold-bright) !important;
}

.navbar__link--tienda {
  color: var(--clr-gold-bright) !important;
}

/* ── LINEAS DIVISORIAS DORADAS (HTML EXPLICITO) ── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.4), transparent);
  margin: 0 auto;
  position: relative;
  z-index: 10;
}



/* ── Unified Rankings ── */
.unified-rankings {
  width: 100% !important;
  min-height: 600px !important;
  padding: 0 !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Hacer el Título Flotante */
.unified-rankings .tops-section__header {
  position: absolute !important;
  top: 30px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: transparent !important;
  backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  z-index: 20 !important;
  width: 100% !important;
  text-align: center !important;
}

/* Forzar el Fondo Completo en el Slider */
#tops-carousel {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 600px !important;
  z-index: 5 !important;
  overflow: hidden !important;
}

.tops-track {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.tops-slide {
  width: 100% !important;
  height: 100% !important;
  min-height: 600px !important;
}

.tops-slide__bg {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  pointer-events: none !important;
  width: 100% !important;
  height: 100% !important;
}

/* Contenedor Maestro */
.news-page-main-container {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 40px !important;
  max-width: 1250px !important;
  margin: 0 auto !important;
  padding-top: 130px !important;
  padding-bottom: 60px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Columna de Noticias */
.news-left-content {
  width: 65% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 25px !important;
}

/* Columna del Sidebar */
.news-right-sidebar {
  width: 35% !important;
  background: rgba(15, 15, 15, 0.65) !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 8px !important;
  padding: 30px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  box-sizing: border-box !important;
  position: relative !important;
  top: 0 !important;
  margin-top: 0 !important;
}

/* Contenedor Maestro: Empuja todo abajo del navbar fixed y alinea columnas */
.guabina-news-container-premium {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 40px !important;
  max-width: 1250px !important;
  margin: 0 auto !important;
  padding-top: 130px !important;
  padding-bottom: 60px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.news-feed-column {
  width: 65% !important;
}

.news-sidebar-column {
  width: 35% !important;
  background: rgba(15, 15, 15, 0.75) !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 8px !important;
  padding: 25px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  box-sizing: border-box !important;
}

/* Fix para centrado de ornamentos */
.news-section__ornament,
.section-header__ornament,
.promo-ornament,
.faq-header__ornament {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 auto 15px auto !important;
}

/* Contenedor de estadísticas más compacto abajo del video */
.hero-stats-premium-bar {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-around !important;
  align-items: center !important;
  background: rgba(10, 10, 10, 0.8) !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  backdrop-filter: blur(8px) !important;
  border-radius: 0 0 10px 10px !important;
  padding: 10px 15px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: -5px !important;
  border-top: none !important;
}

.hero-stat-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.hero-stat-item .stat-value {
  color: #d4af37 !important;
  font-family: var(--font-display, 'Cinzel', serif) !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
}

.hero-stat-item .stat-label {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* LÓGICA DEL BOTÓN VERDE EN CONDICIÓN EN VIVO */
.stat-live-status {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.pulse-dot {
  width: 8px !important;
  height: 8px !important;
  background: #2ecc71 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7) !important;
  animation: serverPulse 1.6s infinite !important;
}

@keyframes serverPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(46, 204, 113, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

.hero-stat-divider {
  width: 1px !important;
  height: 25px !important;
  background: rgba(212, 175, 55, 0.15) !important;
}

/* Contenedor principal que baja todo el diseño del Navbar fixed */
.guabina-news-page-wrapper {
  width: 100% !important;
  max-width: 1250px !important;
  margin: 0 auto !important;
  padding-top: 160px !important;
  /* Empuja la caja del título hacia abajo, dejándola en total claridad visual */
  padding-bottom: 60px !important;
  box-sizing: border-box !important;
}

/* Caja ornamental del título: arriba y centrada sola */
.guabina-centered-title-slot {
  width: 100% !important;
  margin-bottom: 35px !important;
  /* Separa el título del inicio de las columnas */
}

/* Fila Flexbox para obligar al lado izquierdo y derecho a estar paralelos */
.guabina-two-columns-flex-row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  /* Alínea las dos columnas al mismo nivel en el tope */
  width: 100% !important;
  gap: 40px !important;
}

/* Ancho exacto de las noticias */
.guabina-left-news-feed {
  width: 65% !important;
  box-sizing: border-box !important;
}

/* Ancho exacto y estilo del Sidebar */
.guabina-right-sidebar {
  width: 35% !important;
  position: relative !important;
  top: 0 !important;
  margin-top: 0 !important;
  background: rgba(15, 15, 15, 0.75) !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 12px !important;
  padding: 25px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.news-section__header-box-premium {
  background: rgba(15, 15, 15, 0.75) !important;
  /* Un poco más oscuro para que resalte el texto */
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  /* Borde dorado medieval sutil */
  backdrop-filter: blur(12px) !important;
  border-radius: 12px !important;
  padding: 35px 40px !important;
  /* Aumentamos el padding superior a 35px para que respiren los adornos */
  max-width: 1250px !important;
  margin: 0 auto 30px auto !important;
  /* Margen de 30px abajo para separarse limpiamente de las columnas */
  width: 100% !important;
  box-sizing: border-box !important;
}


/* ==========================================================================
   HERO — RESPONSIVE MÓVIL (≤ 768px)
   Refactorización completa. Solo afecta Hero. Desktop intacto.
   ========================================================================== */
@media (max-width: 768px) {

  /* ─────────────────────────────────────────────────────────────────────────
     1. CONTENEDOR PRINCIPAL — columnas apiladas verticalmente
     ───────────────────────────────────────────────────────────────────────── */
  #hero-container {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px !important;
    padding: 88px 18px 44px !important; /* top: altura navbar fija ~72px + margen */
    min-height: unset !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ─────────────────────────────────────────────────────────────────────────
     2. COLUMNA DE TEXTO — 100% ancho, todo centrado
     ───────────────────────────────────────────────────────────────────────── */
  .hero-text-col {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;    /* centra el botón (flexbox) */
    text-align: center !important;
    padding: 0 !important;
  }

  /* Título: proporcional, nunca desborda, centrado */
  .hero__title {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem) !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: keep-all !important;
    margin-bottom: 0.9rem !important;
  }

  /* La línea shimmer "LEGEND OF GUABINA" también centrada */
  .hero__title em.text-shimmer {
    display: block !important;
    text-align: center !important;
    font-size: inherit !important;
  }

  /* Subtítulo */
  .hero__subtitle {
    font-size: clamp(0.82rem, 3.2vw, 0.95rem) !important;
    line-height: 1.65 !important;
    text-align: center !important;
    max-width: 100% !important;
    margin-bottom: 1.4rem !important;
  }

  /* Botón PLAY NOW: centrado, no más ancho que 320px */
  .btn--hero-play {
    display: flex !important;
    width: 100% !important;
    max-width: 300px !important;
    justify-content: center !important;
    margin: 0 auto !important;
    font-size: 0.9rem !important;
    padding: 0.8rem 1.6rem !important;
  }

  /* ─────────────────────────────────────────────────────────────────────────
     3. CAJA DE CRISTAL (video + stats) — 100% ancho
     ───────────────────────────────────────────────────────────────────────── */
  .hero-video-col {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 4px !important;
  }

  .hero-glass-box {
    width: 100% !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    /* Glassmorphism (blur + borde) se preserva tal como está en desktop */
  }

  /* Video: ratio 16/9 garantizado, no se desborda */
  .hero-glass-video {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
  }

  .hero-glass-video video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Separador dorado entre video y stats */
  .hero-glass-divider {
    width: 100% !important;
    height: 1px !important;
    flex-shrink: 0 !important;
  }

  /* ─────────────────────────────────────────────────────────────────────────
     4. ESTADÍSTICAS — tres paneles apilados verticalmente (columna)
     Datos exactos: 1.069 ONLINE USERS | 1.739 CONNECTED TODAY (24H) | 732.730 REGISTERED ACCOUNTS
     ───────────────────────────────────────────────────────────────────────── */
  .hero-stats-premium-bar {
    display: flex !important;
    flex-direction: column !important;  /* apilado vertical */
    align-items: stretch !important;
    width: 100% !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  /* Divisores verticales: ocultos (reemplazados por bordes horizontales) */
  .hero-stat-divider {
    display: none !important;
  }

  /* Cada panel de stat: fila horizontal interna (número + etiqueta en dos líneas) */
  .hero-stat-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 14px 12px !important;
    gap: 3px !important;
    width: 100% !important;
    /* Separador horizontal dorado entre paneles */
    border-bottom: 1px solid rgba(212, 175, 55, 0.20) !important;
  }

  /* Quitar borde inferior del último panel */
  .hero-stat-item:last-child {
    border-bottom: none !important;
  }

  /* Indicador LIVE + número en la misma fila */
  .stat-live-status {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  /* Números dorados */
  .stat-value {
    font-size: clamp(1.15rem, 5vw, 1.5rem) !important;
    line-height: 1 !important;
  }

  /* Etiquetas: tamaño legible en móvil */
  .stat-label {
    font-size: clamp(0.6rem, 2.4vw, 0.72rem) !important;
    letter-spacing: 0.08em !important;
    line-height: 1.3 !important;
  }

  /* Punto pulsante LIVE */
  .pulse-dot {
    width: 7px !important;
    height: 7px !important;
  }

} /* ── FIN HERO MÓVIL ≤ 768px ── */


/* ==========================================================================
   SETS ÚNICOS + FAQ — RESPONSIVE MÓVIL (≤ 768px)
   ========================================================================== */
@media (max-width: 768px) {

  /* ── SETS ÚNICOS ── */
  #ms-sets-section {
    height: auto !important;
    min-height: 420px !important;
    padding: 40px 0 !important;
  }

  .ms-sets-bg-video {
    object-fit: cover !important;
    object-position: 80% center !important;
  }

  .ms-sets-panel {
    width: 92% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 28px 20px !important;
    border-radius: 12px !important;
    gap: 14px !important;
    box-sizing: border-box !important;
  }

  .ms-sets-panel .ms-card__title {
    font-size: clamp(1.3rem, 5.5vw, 1.8rem) !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .ms-sets-panel .ms-card__desc {
    font-size: clamp(0.82rem, 3.2vw, 0.95rem) !important;
    text-align: center !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  .ms-sets-panel .ms-features {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 4px !important;
    text-align: left !important;
  }

  .ms-sets-panel .ms-feature {
    font-size: clamp(0.8rem, 3vw, 0.9rem) !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .ms-cta--sets {
    width: 100% !important;
    max-width: 280px !important;
    justify-content: center !important;
    margin: 4px auto 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  /* ── FAQ ── */
  #faq-section {
    padding: 40px 0 !important;
    overflow-x: hidden !important;
  }

  .faq-container {
    width: 92% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 24px 20px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .faq-container .ms-card__title {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .faq-accordion {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }

  .faq-item {
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .faq-question {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 12px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    font-size: clamp(0.82rem, 3.2vw, 0.95rem) !important;
    text-align: left !important;
  }

  .faq-answer,
  .faq-answer p,
  .faq-answer span {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    font-size: clamp(0.8rem, 3vw, 0.9rem) !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  .faq-icon {
    flex-shrink: 0 !important;
    margin-left: 8px !important;
  }

} /* ── FIN SETS ÚNICOS + FAQ MÓVIL ≤ 768px ── */


/* ==========================================================================
   NAVBAR MÓVIL — Header + Menú Full-Screen Overlay (≤ 768px)
   ========================================================================== */

/* Base desktop: ocultar controles exclusivos de móvil */
.navbar__mobile-actions { display: none; }
.navbar__mobile-icon    { display: none; }

@media (max-width: 768px) {

  /* ── 1. HEADER — Logo izquierda | [icono-login + hamburguesa] derecha ── */
  .navbar__inner {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    padding: 8px 16px !important;
    gap: 0 !important;
  }

  .navbar__brand {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    margin-right: auto !important;
  }

  /* Contenedor [icono-login + hamburguesa] */
  .navbar__mobile-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
    /* Por encima del overlay */
    position: relative !important;
    z-index: 10000 !important;
  }

  /* ── 2. ICONO LOGIN / USUARIO ── */
  .navbar__mobile-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(212, 175, 55, 0.12) !important;
    border: 1px solid rgba(212, 175, 55, 0.40) !important;
    color: #d4af37 !important;
    font-size: 1.3rem !important;
    text-decoration: none !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 10000 !important;
  }

  .navbar__mobile-icon:hover,
  .navbar__mobile-icon:focus {
    background: rgba(212, 175, 55, 0.25) !important;
    border-color: rgba(212, 175, 55, 0.70) !important;
    outline: none !important;
  }

  /* Hamburguesa también por encima del overlay */
  #nav-toggle {
    position: relative !important;
    z-index: 10000 !important;
  }

  /* ── 3. MENÚ FULL-SCREEN OVERLAY ── */

  /* Estado CERRADO — invisible, fuera del flujo visual */
  #mobile-nav-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(10, 10, 10, 0.97) !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 80px 24px 40px !important; /* 80px top para no tapar el navbar */
    box-sizing: border-box !important;
    overflow-y: auto !important;
    /* Animación */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-12px) !important;
    transition: opacity 0.35s ease-in-out,
                transform 0.35s ease-in-out,
                visibility 0s linear 0.35s !important;
    pointer-events: none !important;
    /* Decoración sutil */
    background-image:
      radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
      radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 60%) !important;
  }

  /* Estado ABIERTO — jQuery añade .active */
  #mobile-nav-wrapper.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    transition: opacity 0.35s ease-in-out,
                transform 0.35s ease-in-out,
                visibility 0s linear 0s !important;
  }

  /* ── 4. ÍTEMS DEL MENÚ PRINCIPAL — grandes y centrados ── */
  #mobile-nav-wrapper .navbar__nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 4px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #mobile-nav-wrapper .nav-item {
    width: 100% !important;
    max-width: 360px !important;
    text-align: center !important;
  }

  /* Enlace principal grande */
  #mobile-nav-wrapper .navbar__link,
  #mobile-nav-wrapper .navbar__link--dropdown,
  #mobile-nav-wrapper .navbar__link--tienda {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 1.15rem !important;
    font-family: var(--font-display, 'Cinzel', serif) !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #e8e8e8 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    border: 1px solid rgba(212, 175, 55, 0.12) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease !important;
    position: static !important;
    gap: 10px !important;
  }

  #mobile-nav-wrapper .navbar__link--tienda {
    color: #d4af37 !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
    background: rgba(212, 175, 55, 0.06) !important;
    font-size: 1.15rem !important;
  }

  #mobile-nav-wrapper .navbar__link:hover,
  #mobile-nav-wrapper .navbar__link--dropdown:hover {
    color: #d4af37 !important;
    background: rgba(212, 175, 55, 0.08) !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
  }

  /* ── 5. DESCARGA + CTAs (Login / Registro) ── */
  #mobile-nav-wrapper .navbar__download-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 360px !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    font-family: var(--font-display, 'Cinzel', serif) !important;
    background: rgba(212, 175, 55, 0.08) !important;
    border: 1px solid rgba(212, 175, 55, 0.40) !important;
    border-radius: 8px !important;
    color: #d4af37 !important;
    text-decoration: none !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin: 4px 0 !important;
    position: static !important;
    box-sizing: border-box !important;
    gap: 8px !important;
  }

  #mobile-nav-wrapper .navbar__actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 360px !important;
    gap: 10px !important;
    margin-top: 8px !important;
    position: static !important;
  }

  #mobile-nav-wrapper .navbar__actions .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 13px 20px !important;
    font-size: 1rem !important;
    font-family: var(--font-display, 'Cinzel', serif) !important;
    border-radius: 8px !important;
    letter-spacing: 1.5px !important;
    margin: 0 !important;
    position: static !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* Línea divisora dorada entre secciones del menú */
  #mobile-nav-wrapper .navbar__nav::after {
    content: '' !important;
    display: block !important;
    width: 60px !important;
    height: 1px !important;
    background: rgba(212, 175, 55, 0.35) !important;
    margin: 8px auto 4px !important;
  }

  /* ── 6. SUBMENÚS dentro del overlay ── */
  .nav-item--dropdown .nav-dropdown {
    display: none;              /* jQuery slideToggle — sin !important */
    width: 100% !important;
    max-width: 360px !important;
    box-sizing: border-box !important;
    padding: 4px 0 4px 0 !important;
    background: rgba(212, 175, 55, 0.05) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-top: 4px !important;
    text-align: center !important;
  }

  .navbar__link--dropdown .dropdown-chevron {
    transition: transform 0.28s ease !important;
  }

  .nav-item--dropdown.is-open > .navbar__link--dropdown .dropdown-chevron {
    transform: rotate(180deg) !important;
  }

  .nav-dropdown .nav-dropdown__item {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    padding: 11px 16px !important;
    font-size: 0.95rem !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #ccc !important;
    text-decoration: none !important;
  }

  .nav-dropdown .nav-dropdown__item:hover {
    color: #d4af37 !important;
    background: rgba(212, 175, 55, 0.08) !important;
  }

} /* ── FIN NAVBAR MÓVIL FULL-SCREEN ≤ 768px ── */


/* ==========================================================================
   SERVER STATUS WIDGET — Base layout (sin inline styles en el HTML)
   Estilos de layout que antes vivían en inline styles del template.
   ========================================================================== */
.server-status-widget .info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.server-status-widget .child {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* ==========================================================================
   NEWS SIDEBAR MÓVIL — Centrado total y números legibles (≤ 768px)
   ========================================================================== */
@media (max-width: 768px) {

  /* ── 1. ASIDE CONTENEDOR — centrado completo ── */
  .news-sidebar-column {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 50px auto !important;
    padding: 30px 15px !important;
    box-sizing: border-box !important;
  }

  /* Cada widget dentro del sidebar: ancho completo */
  .news-sidebar-column .sidebar-widget {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ── 2. WIDGET SERVER STATUS — centrado ── */
  .server-status-widget {
    width: 100% !important;
    text-align: center !important;
  }

  /* Bloque verde "Usuarios conectados": ya tiene flex column centrado en inline */
  .server-status-widget .title {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Número grande de usuarios online */
  .server-status-widget .online {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
  }

  /* Contenedor de filas de stats */
  .server-status-widget .info {
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 0 !important;
  }

  /* Cada fila: COLUMNA VERTICAL — label arriba, número abajo, centrados */
  .server-status-widget .child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 10px 4px !important;
    gap: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Label de cada stat (.stat-label) */
  .server-status-widget .child .stat-label {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.5px !important;
  }

  /* Número de cada stat (.stat-value) — línea propia, centrado, legible */
  .server-status-widget .child .stat-value {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 1.15rem !important;
    font-weight: bold !important;
    color: #e0e0e0 !important;
    margin: 0 !important;
    margin-top: 2px !important;
  }

  /* ── 3. LOGIN SIDEBAR — centrar formulario y links ── */
  .not-authorized {
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  #frmLogin {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #frmLogin input[type="text"],
  #frmLogin input[type="password"] {
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
  }

  /* reCAPTCHA centrado */
  .codesidebar {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  /* Links "Forgot password" / "Forgot account" — centrados */
  .account-recovery-links {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .account-recovery-links a {
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
  }

  /* ── 4. NAV DE LINKS DEL SIDEBAR (Videos, Learn to Play...) ── */
  .news-sidebar-column .secondary-nav {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .news-sidebar-column .secondary-nav a {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    text-align: center !important;
  }

} /* ── FIN NEWS SIDEBAR MÓVIL ≤ 768px ── */


/* ==========================================================================
   MOBILE-FORCE-CENTER-WRAPPER — Centrado implacable del sidebar en móvil
   (≤ 768px). La clase está en el <aside> de las páginas de noticias.
   ========================================================================== */
@media (max-width: 768px) {

  .mobile-force-center-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 50px auto !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
    padding: 25px 15px !important;
  }

  /* Todos los hijos directos del wrapper: centrados y con ancho controlado */
  .mobile-force-center-wrapper > * {
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

} /* ── FIN MOBILE-FORCE-CENTER-WRAPPER ≤ 768px ── */


/* ==========================================================================
   LAYOUT GENERAL — DESKTOP (estilos base, antes vivían inline en layout.php)
   ========================================================================== */
.guabina-unified-main-block {
  display: block;
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding-top: 190px;
  padding-bottom: 60px;
  box-sizing: border-box;
  position: relative;
}

.guabina-columns-flex-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 40px;
  box-sizing: border-box;
}

.guabina-col-main {
  width: 65%;
  box-sizing: border-box;
}

.guabina-col-sidebar {
  width: 35%;
  background: rgba(15, 15, 15, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 25px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


/* ==========================================================================
   UPDATES PAGE + LAYOUT GENERAL — RESPONSIVE MÓVIL (≤ 768px)
   Apila las columnas (main + sidebar) verticalmente. No afecta escritorio.
   ========================================================================== */
@media (max-width: 768px) {

  /* ── 1. WRAPPER EXTERIOR — reduce padding-top en móvil ── */
  .guabina-unified-main-block {
    padding-top: 110px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* ── 2. CONTENEDOR FLEX-ROW — fuerza apilado vertical ── */
  .guabina-columns-flex-row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 15px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    gap: 0 !important;
  }

  /* ── 3. COLUMNA PRINCIPAL (Updates, contenido) — ancho total ── */
  .guabina-col-main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 30px auto !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
  }

  /* ── 4. COLUMNA SIDEBAR — ancho total, debajo del contenido ── */
  .guabina-col-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 30px auto !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Hijos directos del sidebar: centrados */
  .guabina-col-sidebar > * {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Links dentro del sidebar: centrar el contenido */
  .guabina-col-sidebar .menu-links li a {
    justify-content: flex-start !important;
  }

  /* ── 5. TIMELINE / HISTORIAL DE UPDATES (#workOuterShell) ── */
  /* Respira horizontalmente para que la línea decorativa no toque el borde */
  #workOuterShell {
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 25px !important;
    padding-right: 10px !important;
    overflow-x: hidden !important;
  }

  /* Cada ítem del timeline: texto no se corta */
  #workOuterShell .item {
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* Nombre del autor/desarrollador en móvil */
  #workOuterShell .item .location {
    position: relative !important;
    display: block !important;
    z-index: 10 !important;
    text-align: right !important;
    margin-bottom: 5px !important;
    margin-top: 20px !important;
    right: 0 !important;
    top: 0 !important;
  }

  /* Listas de cambios: no desbordan */
  #workOuterShell .item ul.fa-ul {
    padding-left: 20px !important;
    margin-left: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  #workOuterShell .item ul.fa-ul li {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  /* Links dentro de los items: no desbordan */
  #workOuterShell .item ul.fa-ul li a {
    word-break: break-all !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  /* Bloque de texto translúcido enmarcado */
  #workOuterShell .item > div:last-child {
    padding: 12px 15px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  /* ── 6. BOTÓN "SEE MORE" — ancho completo en móvil ── */
  .center-btn-wrapper {
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  #loadMore {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  /* ── 7. HEADER BOX PREMIUM — padding reducido en móvil ── */
  .news-section__header-box-premium {
    padding: 20px 15px !important;
    box-sizing: border-box !important;
    margin-bottom: 20px !important;
  }

} /* ── FIN UPDATES + LAYOUT GENERAL MÓVIL ≤ 768px ── */


/* ==========================================================================
   CONTACT US PAGE — RESPONSIVE MÓVIL (≤ 768px)
   Solo afecta la vista de contacto. Desktop intacto.
   ========================================================================== */
@media (max-width: 768px) {

  /* ── 1. CONTENEDOR PRINCIPAL — padding reducido, ancho total ── */
  .guabina-contact-container {
    padding: 30px 18px !important;
    margin: 0 auto 40px auto !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
  }

  /* ── 2. TÍTULO — tamaño proporcional al móvil ── */
  .guabina-contact-container h1 {
    font-size: clamp(1.4rem, 5.5vw, 2rem) !important;
    margin-bottom: 28px !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* ── 3. GRID DE MÉTODOS — ya es flex-column, asegurar ancho total ── */
  .contact-methods-grid {
    width: 100% !important;
    gap: 20px !important;
    box-sizing: border-box !important;
  }

  /* ── 4. TARJETAS DE CONTACTO — ancho total, centradas, con max-width elegante ── */
  .contact-card {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto 20px auto !important;
    padding: 25px 18px !important;
    box-sizing: border-box !important;
  }

  /* Icono: tamaño ligeramente reducido en móvil */
  .contact-card i {
    font-size: 2.8rem !important;
    margin-bottom: 12px !important;
  }

  /* Título de la tarjeta */
  .contact-card h2 {
    font-size: 1.1rem !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* Texto descriptivo */
  .contact-card p.desc {
    font-size: 13px !important;
    margin-bottom: 16px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* Dirección de email — no desborda en pantallas angostas */
  .contact-card .email-address {
    font-size: 13px !important;
    word-break: break-all !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    padding: 8px 12px !important;
  }

  /* ── 5. BOTÓN DISCORD — ancho completo, centrado ── */
  .discord-btn {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
    font-size: 13px !important;
  }

} /* ── FIN CONTACT US MÓVIL ≤ 768px ── */


/* ==========================================================================
   RANKINGS PAGE — RESPONSIVE MÓVIL (≤ 768px)
   Corrige desbordamiento horizontal en todas las secciones de Rankings.
   Solo afecta móvil. Desktop intacto.
   ========================================================================== */
@media (max-width: 768px) {

  /* ── 1. WRAPPER GIGANTE — padding reducido para que entre en pantalla ── */
  .new-ranking-wrapper {
    padding: 18px 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* ── 2. GRID DE RANKINGS COMPETITIVOS — rompe el grid y apila en columna ── */
  .ranking-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 20px !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    box-sizing: border-box !important;
  }

  /* ── 3. CARD DE MAZMORRAS — span 3 cancelado ── */
  .ranking-card--dungeons {
    grid-column: span 1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ── 4. TODAS LAS RANKING CARDS — ancho total, apiladas, sin desbordamiento ── */
  .ranking-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    padding: 15px 12px !important;
    overflow-x: hidden !important;
  }

  /* ── 5. CABECERA DE CARD — apila título y botón compartir ── */
  .ranking-card-header {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .ranking-card-header h3 {
    font-size: 1rem !important;
    word-break: break-word !important;
  }

  /* ── 6. GRUPOS DE BOTONES (TABS) — wrap para que no desborden ── */
  .ranking-tabs,
  .dungeon-tablist {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .ranking-tab,
  .dungeon-tab {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    flex-shrink: 0 !important;
  }

  /* ── 7. BOTONES DE PESTAÑA DE LEADERBOARD (top-tab-btn) ── */
  .top-players-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .top-tab-btn {
    flex: 1 1 auto !important;
    min-width: 60px !important;
    font-size: 10px !important;
    padding: 4px 8px !important;
    text-align: center !important;
  }

  /* ── 8. WRAPPERS DE TABLAS — scroll horizontal sin romper el ancho ── */
  .ranking-table-wrapper,
  .dungeon-table-wrapper {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }

  /* ── 9. TABLAS — respetan el wrapper scrollable ── */
  .ranking-table,
  .dungeon-table {
    min-width: 360px;
    width: 100%;
  }

  /* ── 10. LEADERBOARDS GRID — de 2 columnas a 1 columna ── */
  .leaderboards-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Cards de leaderboard (tienen estilos inline, los !important ganan) */
  .leaderboards-grid .ranking-card {
    padding: 15px 12px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Cabecera del card de Top Gremios/Players */
  .leaderboards-grid .ranking-card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  /* ── 11. TABLAS SUELTAS (top-players & top-guilds) — scroll horizontal ── */
  /* Las tablas dentro de los leaderboards no tienen un wrapper, se crea visualmente */
  .leaderboards-grid .ranking-card > table,
  .top-players-panel > table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }

  /* ── 12. CONTROLES DE MAZMORRA ── */
  .dungeon-controls {
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .dungeon-card {
    padding: 12px 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .dungeon-card-header {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  /* ── 13. TÍTULO LEADERBOARDS — tamaño responsivo ── */
  h2[style*="LEADERBOARDS"],
  .leaderboards-grid + h2 {
    font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
  }

  /* ── 14. BOTÓN COMPARTIR — más compacto ── */
  .share-button {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
  }

  .share-label {
    display: none !important;
  }

  /* ── 15. PANEL INFO — se mueve a columna ── */
  .ranking-panel-info {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

} /* ── FIN RANKINGS MÓVIL ≤ 768px ── */


/* ==========================================================================
   ITEM SHOP PAGE — RESPONSIVE MÓVIL (≤ 768px)
   Apila barra de filtros, banners, grid de ítems y sidebar verticalmente.
   Solo afecta móvil. Desktop intacto.
   ========================================================================== */
@media (max-width: 768px) {

  /* ── 1. BARRA DE FILTROS — apila título, form e inputs en columna ── */
  .shop-filter-premium {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding: 15px !important;
    overflow: visible !important;    /* permite que el dropdown salga de la caja */
  }

  /* El formulario de búsqueda también en columna */
  .shop-filter-premium form {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Input de búsqueda: ancho total */
  .shop-filter-premium input[type="text"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Dropdown de categoría: ancho total */
  .custom-dropdown-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    flex-grow: 0 !important;
  }

  .custom-dropdown-selected {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Botón buscar: ancho total */
  .shop-filter-premium .btn-search-premium {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px !important;
  }

  /* ── 2. BANNERS PROMOCIONALES — apila en columna ── */
  .shop-banners-flex {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    margin-bottom: 20px !important;
  }

  .shop-banners-flex .banner-box {
    width: 100% !important;
    flex: none !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .shop-banners-flex .banner-box img {
    width: 100% !important;
    height: auto !important;
    max-height: 160px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 6px !important;
  }

  /* ── 3. GRID DE ÍTEMS — 1 columna centrada ── */
  .shop-items-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
  }

  /* ── 4. TARJETAS INDIVIDUALES ── */
  .item-card-premium {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    position: relative !important;   /* vital: evita que badges vuelen */
    box-sizing: border-box !important;
    padding: 16px !important;
  }

  /* Badges (etiqueta "Permanent" y descuento): ajuste en móvil */
  .item-card-premium .badges-container {
    left: -6px !important;
    right: -6px !important;
    top: -8px !important;
  }

  /* Acciones (botones Comprar / +Coins) */
  .item-card-premium .item-actions {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  /* ── 5. PAGINACIÓN — centrada y con wrapping ── */
  .pagination-premium {
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }

  /* ── 6. SIDEBAR DEL SHOP (.guabina-col-sidebar) ── */
  /* Ya manejado por el bloque UPDATES PAGE del mismo archivo. */
  /* Si hay un sidebar específico de la shop, también cae en columna. */

  /* ── 7. OCULTAR BOTÓN HAMBURGUESA (inútil en móvil) ── */
  .btn-toggle-sidebar {
    display: none !important;
  }

  /* ── 8. DROPDOWN DE CATEGORÍAS — superposición libre sobre el contenido inferior ── */
  .custom-dropdown-options {
    position: absolute !important;
    z-index: 9999 !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    top: 100% !important;
    height: auto !important;         /* no limita la altura: el OS la maneja */
    max-height: 60vh !important;     /* evita que tape toda la pantalla */
    overflow-y: auto !important;
    box-sizing: border-box !important;
  }

} /* ── FIN ITEM SHOP MÓVIL ≤ 768px ── */


/* ==========================================================================
   SEGURIDAD / 2FA PAGE — RESPONSIVE MÓVIL (≤ 768px)
   Apila el panel principal y el sidebar. Ajusta tipografía y switch.
   Solo afecta móvil. Desktop intacto.
   ========================================================================== */
@media (max-width: 768px) {

  /* ── 1. CONTENEDOR FLEX-ROW — fuerza apilado vertical ── */
  /* (La regla !important en el template queda cancelada por el @media min-width: 769px) */
  .guabina-columns-flex-row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    gap: 0 !important;
  }

  /* ── 2. COLUMNAS HIJAS — ancho total, apiladas ── */
  .guabina-columns-flex-row > div:nth-child(1),
  .guabina-columns-flex-row > div:nth-child(2) {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 30px auto !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
  }

  /* ── 3. CAJA PRINCIPAL DE SEGURIDAD — padding reducido ── */
  .security-premium-box {
    padding: 20px 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* ── 4. FIX TIPOGRÁFICO — título gigante proporcional en móvil ── */
  .box-title h2 {
    font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
    line-height: 1.2 !important;
    text-align: center !important;
    margin-bottom: 20px !important;
    letter-spacing: 1px !important;
    word-break: break-word !important;
  }

  /* ── 5. TARJETA DE ESTADO MFA — centra y ajusta en columna ── */
  .mfa-status-card {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 18px 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    margin-bottom: 25px !important;
  }

  .mfa-status-card p {
    font-size: 0.95rem !important;
    text-align: center !important;
  }

  /* ── 6. SWITCH DE ACTIVACIÓN — centrado y visible ── */
  .account-switch {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    gap: 15px !important;
  }

  /* ── 7. AVISO "Requiere verificación de correo" ── */
  .mfa-warning {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 0 10px !important;
    margin-bottom: 15px !important;
  }

  /* ── 8. TABLA DE DISPOSITIVOS — scroll horizontal ── */
  .table-container {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }

  .ranked {
    min-width: 480px;     /* tabla no colapsa, el usuario desliza */
  }

  .ranked th,
  .ranked td {
    padding: 10px 8px !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
  }

  /* ── 9. MENSAJE VACÍO ── */
  .empty-message {
    padding: 20px 15px !important;
    font-size: 0.95rem !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
  }

} /* ── FIN SEGURIDAD / 2FA MÓVIL ≤ 768px ── */


/* ==========================================================================
   RECUPERAR CONTRASEÑA PAGE — RESPONSIVE MÓVIL (≤ 768px)
   Apila formulario y sidebar, ajusta tipografía, centra reCAPTCHA y botón.
   Solo afecta móvil. Desktop intacto.
   ========================================================================== */
@media (max-width: 768px) {

  /* ── 1. CONTENEDOR FLEX-ROW — apila en columna ── */
  /* (Template ahora limita el flex-row a min-width: 769px) */

  /* ── 2. CAJA PRINCIPAL — padding gigante reducido ── */
  /* .security-premium-box ya tiene max-width: 650px; en móvil queda
     contraída por el viewport, solo hay que soltar el padding */
  .security-premium-box {
    padding: 20px 15px !important;
    margin: 20px auto !important;
    width: calc(100% - 20px) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* ── 3. FIX TIPOGRÁFICO — título proporcional ── */
  .box-title h2 {
    font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
    line-height: 1.2 !important;
    text-align: center !important;
    margin-bottom: 20px !important;
    letter-spacing: 1px !important;
    word-break: break-word !important;
  }

  /* ── 4. BLOQUE INFORMATIVO — texto centrado, no desborda ── */
  .info-block {
    padding: 15px 12px !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
  }

  /* ── 5. INPUT DE USUARIO — ancho total ── */
  .input-wrapper input {
    font-size: 1rem !important;
    padding: 13px 13px 13px 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ── 6. reCAPTCHA — centrado, sin overflow ── */
  .captcha-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* El widget de reCAPTCHA tiene width fija de ~300px, se escala al viewport */
  .g-recaptcha {
    transform-origin: center top !important;
    max-width: 100% !important;
  }

  /* ── 7. BOTÓN RECOVER — ancho total y centrado ── */
  .form-actions {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-gold {
    width: 100% !important;
    max-width: 320px !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
  }

} /* ── FIN RECUPERAR CONTRASEÑA MÓVIL ≤ 768px ── */


/* ==========================================================================
   CAMBIO DE CORREO / ACCOUNT SECURITY PAGE — RESPONSIVE MÓVIL (≤ 768px)
   Apila panel y sidebar, protege desbordamiento de correos largos, ajusta form.
   Los selectores compartidos (.security-premium-box, .box-title h2,
   .input-wrapper input, .form-actions, .btn-gold) ya están cubiertos
   por el bloque RECUPERAR CONTRASEÑA de arriba.
   ========================================================================== */
@media (max-width: 768px) {

  /* ── 1. SUBTÍTULO DE LA CAJA — proporcional en móvil ── */
  .box-subtitle {
    font-size: clamp(0.85rem, 3.5vw, 1rem) !important;
    line-height: 1.3 !important;
    text-align: center !important;
    word-break: break-word !important;
    padding-bottom: 15px !important;
    margin-bottom: 20px !important;
  }

  /* ── 2. EMAIL ACTUAL — anti-overflow para correos largos ── */
  .info-block .current-email {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
    padding: 8px 12px !important;
    white-space: normal !important;
  }

  /* ── 3. INPUT NEW EMAIL — ancho total ── */
  #newEmail {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.95rem !important;
  }

  /* ── 4. COSTO 800 COINS — no desborda ── */
  .cost-highlight {
    display: inline !important;
    word-break: keep-all !important;
  }

} /* ── FIN CAMBIO DE CORREO MÓVIL ≤ 768px ── */

/* ==========================================================================
   PULIDO VISUAL GLOBAL — DETALLES Y ALINEACIONES EN MÓVIL (≤ 768px)
   Aplica a todas las páginas de cuenta, seguridad y recuperación.
   Solo afecta móvil. Desktop intacto.
   ========================================================================== */
@media (max-width: 768px) {

  /* ── 1. ESPACIADOS (GAPS/MARGINS) ── */
  .security-premium-box input,
  .account-premium-box input,
  .security-premium-box select,
  .account-premium-box select,
  .security-premium-box textarea,
  .account-premium-box textarea,
  .input-group,
  .rc-field-group,
  .captcha-container,
  .rc-captcha-block,
  .g-recaptcha,
  .btn-gold,
  .rc-submit-btn,
  .btnGuardar,
  .all-btn,
  button,
  input[type="submit"],
  .form-actions,
  .info-block,
  .mfa-status-card,
  .mfa-warning,
  .empty-message,
  .flash-error,
  .flash-notice,
  .alert {
    margin-bottom: 15px !important;
  }

  /* Evitar dobles márgenes en inputs anidados dentro de grupos */
  .input-group input,
  .input-group select,
  .input-group textarea,
  .input-group .input-wrapper,
  .rc-field-group input,
  .rc-field-group .input-wrapper {
    margin-bottom: 0 !important;
  }

  /* ── 2. ALINEACIÓN (CENTERING) DE TEXTOS E ICONOS ── */
  .security-premium-box p,
  .security-premium-box label,
  .security-premium-box span,
  .security-premium-box .box-subtitle,
  .account-premium-box p,
  .account-premium-box label,
  .account-premium-box span,
  .account-premium-box .box-subtitle,
  .account-premium-box .amount,
  .account-premium-box .label,
  .info-block,
  .info-block p,
  .info-block span,
  .mfa-status-card,
  .mfa-status-card p,
  .empty-message,
  .empty-message p,
  .mfa-warning,
  .rc-field-group label,
  .rc-captcha-label {
    text-align: center !important;
  }

  /* Centrar iconos */
  .security-premium-box i,
  .security-premium-box svg,
  .security-premium-box img,
  .account-premium-box i,
  .account-premium-box svg,
  .account-premium-box img,
  .info-block i,
  .mfa-status-card i,
  .empty-message i {
    text-align: center !important;
    display: inline-block !important;
    margin: 0 auto !important;
    float: none !important;
  }

  /* Proteger iconos con posición absoluta dentro de inputs */
  .input-wrapper i,
  .input-wrapper svg {
    position: absolute !important;
    left: 15px !important;
    margin: 0 !important;
    transform: none !important;
    display: inline-block !important;
  }

  /* ── 3. BORDES Y PADDINGS (PREVENIR CONTACTO CON BORDES DE LA PANTALLA) ── */
  .guabina-unified-main-block {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }

  .security-premium-box,
  .account-premium-box,
  .guabina-col-sidebar {
    padding: 20px 15px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* ── 4. BOTONES DE ACCIÓN PRINCIPALES (ANCHO TOTAL CENTRADO) ── */
  .btn-gold,
  .rc-submit-btn,
  .btnGuardar,
  button[type="submit"],
  input[type="submit"] {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .btn-gold,
  .rc-submit-btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* ── 5. OPTIMIZACIÓN DE LAYOUT PARA "MI CUENTA" ── */
  .account-premium-box .currency-cards {
    flex-direction: column !important;
    gap: 15px !important;
    align-items: center !important;
    width: 100% !important;
  }

  .account-premium-box .currency-card {
    width: 100% !important;
    max-width: 280px !important;
    padding: 15px 20px !important;
    box-sizing: border-box !important;
  }

  .account-premium-box .info-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    width: 100% !important;
  }

  .account-premium-box .info-item,
  .account-premium-box .toggle-item {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center !important;
    align-items: center !important;
    padding: 15px 15px !important;
    box-sizing: border-box !important;
  }

  .account-premium-box .info-item .left,
  .account-premium-box .toggle-item .left {
    justify-content: center !important;
    width: 100% !important;
  }

  .account-premium-box .info-item .right,
  .account-premium-box .toggle-item .right {
    text-align: center !important;
    width: 100% !important;
    word-break: break-all !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
  }

  /* ── 6. ALINEACIÓN VERTICAL DEL MENÚ HAMBURGUESA ── */
  .navbar__toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-sizing: border-box !important;
    align-self: center !important;
  }

} /* ── FIN PULIDO VISUAL MÓVIL ≤ 768px ── */


/* ==========================================================================
   INGAMESHOP IFRAME WRAPPER — RESPONSIVE MÓVIL (≤ 768px)
   Solo afecta al <div> que envuelve el <iframe> en la página web normal.
   NO modifica ningún archivo de /ingameshop. Desktop intacto.
   ========================================================================== */

/* ── Desktop: iframe con altura fija, sin bordes ── */
.ingameshop-iframe-wrapper {
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background-color: transparent !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.ingameshop-iframe-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 80vh;
  border: none;
  overflow: hidden;
  background: transparent !important;
}

@media (max-width: 768px) {

  /* ── Wrapper sin padding lateral ── */
  .ingameshop-iframe-wrapper {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* ── Iframe: se vuelve scroll-able y más alto en móvil ── */
  .ingameshop-iframe-wrapper iframe {
    width: 100% !important;
    min-height: 100vh !important;
    border: none !important;
    display: block !important;
  }

} /* ── FIN INGAMESHOP IFRAME MÓVIL ≤ 768px ── */