/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Reset global de imágenes para evitar deformaciones por ancho/alto explícito */
img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

body {
  font-family: Arial, sans-serif;
  background: black;
  color: white;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Asegurarnos de que el contenido principal empuje el footer hacia abajo */
#main-content {
  flex: 1;
}

/* Animaciones de fondo → assets/css/animations.css */

/* Encabezado */
header {
  background: black;
  padding: 20px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #c800c8 0%, #ff5cf0 52%, #ff9aeb 100%);
  box-shadow: 0 8px 28px rgba(255, 92, 240, 0.35);
}

/* Logo — escala por altura (proporción correcta, sin ensanchar el header) */
.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.logo picture {
  display: block;
  line-height: 0;
}

.logo img,
.logo .logo-main-img {
  display: block;
  width: auto;
  height: clamp(96px, 10vw, 138px);
  max-height: 138px;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

@media (min-width: 851px) {
  .header-content {
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
  }

  .logo img,
  .logo .logo-main-img {
    height: 200px;
    max-height: 200px;
  }

  .radio-title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 8px;
  }

  .info-container {
    flex: 0 1 650px;
    width: auto;
  }
}

.radio-title {
  flex: 1;
  text-align: center;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: bold;
  color: white;
  margin: 10px 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Contenedor reproductor: sin caja de fondo (avatar + controles sueltos sobre el header) */
.info-container {
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  max-width: 650px;
  margin: 0;
}

/* Solo en pantallas grandes (Desktop) aplicamos un ancho mínimo de 500px */
@media (min-width: 851px) {
  .info-container {
    min-width: 500px;
  }
}

.img-container {
  flex-shrink: 0;
  margin-right: 15px;
}

.dj-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #333;
}

.player-box {
  flex: 1;
}

#radioPlayer {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.vibra-player {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 6px 0 16px;
  padding: 12px 16px;
  border-radius: 16px;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 8px 32px rgba(90, 0, 160, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
}

.vibra-play-ring {
  position: relative;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  transition: transform 0.2s ease;
}

.vibra-play-ring:hover {
  transform: scale(1.06);
}

.vibra-play-ring:active {
  transform: scale(0.95);
}

.vibra-player-btn {
  position: relative;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f472b6;
  box-shadow:
    0 4px 16px rgba(200, 0, 200, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  transition: box-shadow 0.2s ease;
}

/* Capa que gira (CSS); el icono play/pause no se mueve */
.vibra-vinyl-rotor {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 0;
  transform-origin: 50% 50%;
  animation: vibraVinylSpin 7s linear infinite;
}

.vibra-player.is-playing .vibra-vinyl-rotor {
  animation-duration: 2.4s;
}

@keyframes vibraVinylSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.vibra-vinyl-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(255, 255, 255, 0.42) 0deg 2deg,
      transparent 2deg 9deg,
      rgba(255, 154, 235, 0.35) 9deg 11deg
    ),
    conic-gradient(
      from 20deg,
      #ff9aeb,
      #ff5cf0,
      #ec4899,
      #f9a8d4,
      #c800c8,
      #ff9aeb
    ),
    radial-gradient(circle at 50% 50%, #ffb8f0 0%, #ff5cf0 42%, #db2777 78%, #be185d 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22);
}

.vibra-vinyl-disc::after {
  content: "";
  position: absolute;
  top: 5%;
  left: 50%;
  width: 4px;
  height: 16%;
  margin-left: -2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

.vibra-vinyl-disc::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24%;
  height: 24%;
  margin: -12% 0 0 -12%;
  border-radius: 50%;
  background: radial-gradient(circle, #ff9aeb 0%, #ec4899 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 1;
}

.vibra-player-btn .vibra-ico {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.vibra-player.is-playing .vibra-player-btn {
  box-shadow:
    0 4px 20px rgba(255, 92, 240, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.vibra-player-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.vibra-ico {
  width: 26px;
  height: 26px;
  display: block;
}

.vibra-ico-play {
  margin-left: 3px;
}

.vibra-ico-pause {
  display: none;
}

.vibra-player.is-playing .vibra-ico-play {
  display: none;
}

.vibra-player.is-playing .vibra-ico-pause {
  display: block;
}

.vibra-player-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.vibra-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.vibra-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #888;
  flex-shrink: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.vibra-player.is-playing .vibra-live-dot {
  background: #ff3d8a;
  box-shadow: 0 0 10px #ff3d8a, 0 0 18px rgba(255, 61, 138, 0.5);
  animation: livePulse 1.6s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.88); }
}

.vibra-player-volume-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 6px 10px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.vibra-player-mute {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.vibra-player-mute .vibra-ico {
  width: 22px;
  height: 22px;
}

.vibra-ico-vol-off {
  display: none;
}

.vibra-player.is-muted .vibra-ico-vol {
  display: none;
}

.vibra-player.is-muted .vibra-ico-vol-off {
  display: block;
}

.vibra-player-mute:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.06);
}

.vibra-player-mute:focus-visible {
  outline: 2px solid #ff87e2;
  outline-offset: 2px;
}

.vibra-player-volume {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  outline: none;
}

.vibra-player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f0abfc, #e879f9);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.vibra-player-volume::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}

.vibra-player-volume::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
}

.vibra-player-volume::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f0abfc, #e879f9);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.5);
  cursor: pointer;
}

@media (max-width: 480px) {
  .vibra-player {
    flex-wrap: wrap;
    padding: 12px 14px;
    gap: 10px;
  }

  .vibra-player-volume {
    width: 64px;
  }

  .vibra-player-volume-wrap {
    width: 100%;
    justify-content: center;
  }
}

.info p {
  margin: 5px 0;
}

.listener-count {
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Navbar principal */
.nav-container {
  max-width: 720px;
  margin: 1rem auto 1.35rem;
  padding: 0 12px;
  box-sizing: border-box;
}

.navbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 10px;
  background: linear-gradient(
    135deg,
    rgba(200, 0, 200, 0.38) 0%,
    rgba(255, 92, 240, 0.28) 50%,
    rgba(255, 154, 235, 0.22) 100%
  );
  border: 1px solid rgba(255, 154, 235, 0.4);
  border-radius: 16px;
  box-shadow:
    0 10px 28px rgba(200, 0, 200, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.navbar li {
  margin: 0;
  min-width: 0;
}

.navbar a,
.navbar .nav-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 8px;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(
    180deg,
    rgba(255, 228, 248, 0.28) 0%,
    rgba(255, 154, 235, 0.18) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.navbar a:hover,
.navbar .nav-tab:hover {
  background: linear-gradient(180deg, rgba(255, 154, 235, 0.55) 0%, rgba(255, 92, 240, 0.42) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 14px rgba(255, 92, 240, 0.3);
}

.navbar a[aria-current="page"],
.navbar .nav-tab[aria-current="page"] {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: linear-gradient(90deg, #c800c8 0%, #ff5cf0 55%, #ff9aeb 100%);
  box-shadow:
    0 4px 16px rgba(255, 92, 240, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Secciones principales */
.content-section {
  max-width: 1000px;
  margin: 20px auto;
  padding: 20px;
  /* background: #fff; */
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Espaciado y estructura para el contenedor inferior */
.request-timeline-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  margin-top: 70px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}

.request-timeline-container > .song-request,
.request-timeline-container > .chat-container {
  height: 580px;
  min-height: 580px;
  max-height: 580px;
  margin: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.song-request,
.chat-container {
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.song-request {
  flex: 0 1 46%;
  min-width: 300px;
  max-width: 480px;
  padding: 18px 18px 16px;
  text-align: center;
  overflow: hidden;
  justify-content: flex-start;
  background: rgba(14, 8, 22, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 69, 0, 0.45);
  box-shadow: 0 8px 32px rgba(255, 69, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.song-request-title {
  margin: 0 0 1rem;
  flex-shrink: 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 0 14px rgba(255, 69, 0, 0.35);
}

#song-request-form {
  text-align: left;
  flex: 0 0 auto;
  overflow: visible;
}

.keko-verify-hint {
  margin: 6px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.35;
}

.keko-verify-hint--error {
  color: #ffb4c8;
  background: rgba(220, 53, 69, 0.18);
  border: 1px solid rgba(255, 100, 120, 0.45);
}

.keko-verify-hint--ok {
  color: #b8ffd9;
  background: rgba(40, 167, 69, 0.15);
  border: 1px solid rgba(72, 220, 120, 0.4);
}

.song-request img {
  width: 100%;
  height: 130px;
  max-height: 130px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: auto;
  flex-shrink: 0;
  border: 1px solid rgba(255, 69, 0, 0.5);
}

.song-request .form-group {
  margin-bottom: 1.1rem;
  text-align: left;
}

.song-request .form-group:last-of-type {
  margin-bottom: 0.85rem;
}

.song-request label {
  font-weight: 600;
  color: #f2f2f8;
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

/* Botón peticiones (naranja) */
.song-request button {
  background: linear-gradient(135deg, #ff5500, #ff7722);
  color: white;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  font-weight: bold;
  margin-top: 0.25rem;
  box-shadow: 0 4px 16px rgba(255, 69, 0, 0.25);
}

.song-request button:hover {
  background-color: #e03e00;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 69, 0, 0.4);
}

.song-request input,
.song-request textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 0;
  background: rgba(8, 8, 14, 0.85);
  border: 1px solid rgba(255, 69, 0, 0.35);
  border-radius: 10px;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.45;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-sizing: border-box;
}

.song-request textarea {
  min-height: 88px;
  resize: vertical;
}

.song-request input:focus,
.song-request input:focus-visible,
.song-request textarea:focus,
.song-request textarea:focus-visible {
  outline: none;
  border-color: #ff6a2b;
  box-shadow: 0 0 0 2px rgba(255, 105, 40, 0.25), 0 0 14px rgba(255, 69, 0, 0.2);
  background: rgba(0, 0, 0, 0.55);
}

/* Panel Premium de Información de Alianza */
.alianza-hover-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 8, 25, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9) translateY(10px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
  border: 2px solid #8000ff;
  box-shadow: inset 0 0 15px rgba(128, 0, 255, 0.4);
  box-sizing: border-box;
}

.alianza-card:hover .alianza-hover-panel {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.alianza-reps-container {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
}

.alianza-rep-avatar {
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s ease;
}

.alianza-rep-avatar:hover {
  transform: scale(1.15) translateY(-5px);
}

.alianza-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  width: 95px;
  box-sizing: border-box;
}

.alianza-btn.web-btn {
  background: rgba(128, 0, 255, 0.3);
  border: 1px solid #8000ff;
  box-shadow: 0 0 10px rgba(128, 0, 255, 0.2);
}

.alianza-btn.web-btn:hover {
  background: #8000ff;
  box-shadow: 0 0 15px rgba(128, 0, 255, 0.6);
}

.alianza-btn.discord-btn {
  background: rgba(88, 101, 242, 0.3);
  border: 1px solid #5865f2;
  box-shadow: 0 0 10px rgba(88, 101, 242, 0.2);
}

.alianza-btn.discord-btn:hover {
  background: #5865f2;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.6);
}


.song-request button:hover {
  background-color: #e03e00;
}

.chat-container {
  flex: 1 1 50%;
  min-width: 300px;
  max-width: 520px;
  width: 100%;
  background: rgba(10, 5, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  padding: 15px 15px 18px;
  border: 1px solid rgba(128, 0, 255, 0.2);
  box-shadow: 0 8px 32px rgba(128, 0, 255, 0.15);
  overflow: hidden;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.chat-live-title {
  margin: 0;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(100deg, #9b6dff 0%, #e8a8ff 35%, #8ee8ff 65%, #b06bff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: #e8d4ff;
  -webkit-text-fill-color: transparent;
  animation: chatTitleNeon 14s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(128, 0, 255, 0.22));
}

@keyframes chatTitleNeon {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.chat-compose-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 10px;
  align-items: center;
  position: relative;
  flex-shrink: 0;
  overflow: visible;
}

.chat-input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-input-wrap #chat-input {
  flex: 1;
  min-width: 0;
  width: 100%;
}

#chat-interface {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

#chat-interface .chat-compose-row {
  overflow: visible;
  z-index: 5;
}

#chat-box {
  flex: 1;
  /* Ocupa el espacio restante para empujar el input hacia abajo */
  overflow-y: auto;
  overflow-x: hidden; /* Oculta el scrollbar horizontal por completo */
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 5px; /* Clean spacing directly above the integrated input */
  scrollbar-width: thin; /* Firefox: barra delgada */
  scrollbar-color: rgba(128, 0, 255, 0.3) transparent; /* Firefox: morado traslúcido */
}

/* Personalización premium del scrollbar para WebKit (Chrome, Edge, Safari) */
#chat-box::-webkit-scrollbar {
  width: 6px;
}

#chat-box::-webkit-scrollbar-track {
  background: transparent;
}

#chat-box::-webkit-scrollbar-thumb {
  background: rgba(128, 0, 255, 0.3); /* Morado elegante */
  border-radius: 10px;
  transition: background 0.3s ease;
}

#chat-box::-webkit-scrollbar-thumb:hover {
  background: rgba(128, 0, 255, 0.7); /* Brillo interactivo */
}

.message {
  position: relative;
  padding: 6px 4px 6px 2px;
  margin: 2px 0;
  background: transparent;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: 13.5px;
  line-height: 1.5;
  color: #efeff1;
  border-radius: 4px;
  transition: background-color 0.15s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.message-row {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
}

.message-body {
  flex: 1;
  min-width: 0;
}

.message:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.message.message--highlight {
  background-color: rgba(255, 135, 226, 0.14);
  box-shadow: inset 3px 0 0 #ff87e2;
}

.chat-reply-btn {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  opacity: 0.55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease, color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  touch-action: manipulation;
}

.chat-reply-btn__icon {
  display: block;
  pointer-events: none;
}

.message:hover .chat-reply-btn,
.message:focus-within .chat-reply-btn,
.message-row:hover .chat-reply-btn {
  opacity: 1;
  color: #ff87e2;
  border-color: rgba(255, 135, 226, 0.45);
  background: rgba(255, 135, 226, 0.14);
}

.chat-reply-btn:hover {
  color: #fff;
  background: rgba(255, 135, 226, 0.28);
  border-color: #ff87e2;
}

@media (hover: none) {
  .chat-reply-btn {
    opacity: 0.85;
  }
}

.chat-reply-quote {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  width: 100%;
  max-width: 100%;
  margin: 0 0 4px 0;
  padding: 4px 8px 4px 10px;
  border: none;
  border-left: 3px solid #ff87e2;
  border-radius: 0 6px 6px 0;
  background: rgba(255, 135, 226, 0.08);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.chat-reply-quote:hover {
  background: rgba(255, 135, 226, 0.16);
}

.chat-reply-quote__user {
  font-size: 11px;
  font-weight: 700;
  color: #ff87e2;
  line-height: 1.3;
}

.chat-reply-quote__text {
  font-size: 11px;
  color: rgba(239, 239, 241, 0.72);
  line-height: 1.35;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Barra “Respondiendo a…” — encima del input, ancho completo */
.chat-reply-bar {
  display: none;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 8px;
  padding: 8px 10px 8px 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(28, 10, 48, 0.98), rgba(38, 16, 62, 0.95));
  border: 1px solid rgba(255, 135, 226, 0.42);
  box-shadow: 0 4px 18px rgba(128, 0, 255, 0.2);
  animation: fadeInFast 0.18s ease-out;
  flex-shrink: 0;
}

.chat-reply-bar:not([hidden]) {
  display: flex;
}

.chat-reply-bar__accent {
  width: 3px;
  align-self: stretch;
  flex-shrink: 0;
  border-radius: 3px;
  background: linear-gradient(180deg, #ff87e2, #8000ff);
  min-height: 40px;
}

.chat-reply-bar__avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: contain;
  object-position: center bottom;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 135, 226, 0.2);
}

.chat-reply-bar__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}

.chat-reply-bar__kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 235, 255, 0.5);
}

.chat-reply-bar__user {
  font-size: 13px;
  font-weight: 700;
  color: #ff87e2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-reply-bar__snippet {
  font-size: 12px;
  color: rgba(239, 239, 241, 0.78);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-reply-bar__cancel {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-left: 4px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.chat-reply-bar__cancel:hover {
  background: rgba(220, 53, 69, 0.35);
  color: #fff;
  transform: scale(1.05);
}

.message-divider {
  background: linear-gradient(to right, rgba(255,135,226,0), rgba(255,135,226,0.4) 15%, rgba(255,135,226,0.4) 85%, rgba(255,135,226,0));
  height: 1px;
  margin: 6px 0;
  opacity: 0.7;
}

/* Hover moderation buttons container */
.v-hv-a {
  display: none;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 10, 35, 0.98);
  border: 1px solid #FF87E2;
  border-radius: 6px;
  padding: 3px 8px;
  gap: 8px;
  align-items: center;
  box-shadow: 0 4px 15px rgba(255, 135, 226, 0.25);
  z-index: 100;
  animation: fadeInFast 0.15s ease-out;
}

/* Moderación estilo Twitch: clic en nombre (sin cajas en cada mensaje) */
#chat-box .v-hv-a {
  display: none !important;
}

#chat-box .chat-user-card-trigger {
  text-decoration: underline;
  text-decoration-color: rgba(255, 135, 226, 0.45);
  text-underline-offset: 2px;
}

#chat-box .chat-user-card-trigger:hover {
  text-decoration-color: #ff87e2;
  filter: brightness(1.15);
}

.message-deleted-by-mod {
  color: rgba(255, 180, 220, 0.85) !important;
  font-style: italic;
  font-size: 0.92em;
}

.chat-mod-hint-row {
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  background: rgba(128, 0, 255, 0.15);
  border: 1px dashed rgba(255, 135, 226, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.chat-mod-hint {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 235, 255, 0.9);
}

.chat-mod-hint-row.is-hidden {
  display: none !important;
}

.chat-slash-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 6px);
  max-height: 220px;
  overflow-y: auto;
  background: #18181b;
  border: 1px solid rgba(255, 135, 226, 0.35);
  border-radius: 8px;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.55);
  z-index: 500;
  padding: 6px 0;
}

.chat-slash-panel__group {
  padding: 6px 12px 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 180, 235, 0.65);
}

.chat-slash-panel__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: #efeff1;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.chat-slash-panel__item:hover,
.chat-slash-panel__item.is-selected {
  background: rgba(128, 0, 255, 0.35);
}

.chat-slash-panel__cmd {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
}

.chat-slash-panel__desc {
  font-size: 0.75rem;
  color: rgba(255, 235, 255, 0.65);
  line-height: 1.3;
}

.v-mod-popover {
  position: fixed;
  z-index: 10060;
  width: min(280px, calc(100vw - 24px));
  background: #18181b;
  border: 1px solid rgba(255, 135, 226, 0.45);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(255, 92, 240, 0.2);
  font-family: 'Outfit', sans-serif;
  animation: fadeInFast 0.15s ease-out;
}

.v-mod-popover__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.v-mod-popover__avatar {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center bottom;
  background: rgba(255, 255, 255, 0.06);
}

.v-mod-popover__name {
  display: block;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.v-mod-popover__hint {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 235, 255, 0.55);
}

.v-mod-popover__close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.v-mod-popover__actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 10px;
}

.v-mod-popover__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #efeff1;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  touch-action: manipulation;
}

.v-mod-popover__btn:hover {
  background: rgba(128, 0, 255, 0.45);
  transform: translateY(-1px);
}

.v-mod-popover__btn--del:hover {
  background: rgba(220, 53, 69, 0.55);
}

.v-mod-popover__ico {
  font-size: 1.1rem;
  line-height: 1;
}

@media (max-width: 400px) {
  .v-mod-popover__actions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@keyframes fadeInFast {
  from { opacity: 0; transform: translateY(-50%) scale(0.95); }
  to { opacity: 1; transform: translateY(-50%) scale(1); }
}

.v-hv-b {
  cursor: pointer;
  font-size: 14px;
  opacity: 0.8;
  transition: all 0.15s ease;
  user-select: none;
  min-width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.v-hv-b:hover {
  opacity: 1;
  transform: scale(1.2);
}

#chat-input {
  flex: 1;
  height: 42px;
  padding: 10px 40px 10px 15px; /* Prevent text overlapping the emoji picker inside */
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15); /* Clean border, no gray container wrapper */
  background: rgba(255, 255, 255, 0.05); /* Fully integrated Twitch style */
  color: #fff;
  font-size: 15px;
  box-sizing: border-box;
  margin: 0;
  transition: all 0.3s ease;
}

#chat-input:focus,
#chat-input:focus-visible {
  outline: none;
  border-color: #ff87e2;
  box-shadow: 0 0 0 2px rgba(255, 135, 226, 0.45), 0 0 14px rgba(128, 0, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  transform: none;
}

#send-btn {
  height: 42px;
  padding: 0 20px;
  border: none;
  background-color: #8000ff; /* Purple to match the theme */
  color: white;
  cursor: pointer;
  border-radius: 8px;
  font-weight: bold;
  font-size: 15px;
  box-sizing: border-box;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#send-btn:hover {
  background-color: #9933ff;
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(128, 0, 255, 0.4);
}

#emoji-picker-btn {
  height: 34px !important; /* Integrated beautifully inside the relative wrapper */
  width: 34px !important;
  min-width: 34px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  color: white;
  cursor: pointer;
  font-size: 18px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 !important;
  transition: all 0.3s ease;
}

#emoji-picker-btn:hover {
  transform: scale(1.15);
}

#chat-settings-btn {
  height: 42px !important;
  width: 42px !important;
  min-width: 42px !important;
  display: flex !important; /* Make it visible always */
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  color: #e0e0e8 !important;
  cursor: pointer;
  font-size: 18px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 !important;
  transition: all 0.3s ease;
  transform-origin: center !important; /* Center the transformation pivot perfectly */
}

#chat-settings-btn:hover {
  color: #FF87E2 !important;
  border-color: #FF87E2 !important;
  background: rgba(255, 135, 226, 0.1) !important;
  transform: rotate(20deg) !important; /* Clean sutil rotation, no warp/desborde */
}

/* Estilo para el widget de X (Twitter) */
/* Contenedor Inferior: Widgets de X y Discord */
.bottom-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Diseño Premium para ambos contenedores */
.twitter-timeline-container,
.discord-widget-container {
  flex: 1;
  min-width: 320px;
  max-width: 500px;
  height: 550px;
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(128, 0, 255, 0.15);
  padding: 15px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  /* Permite scroll interno si es muy largo, en vez de cortarlo */
}

/* Widget de X (Twitter) — tarjeta social sin API */
.twitter-timeline-container {
  padding: 0;
  justify-content: stretch;
  align-items: stretch;
  overflow: hidden;
}

.twitter-social-card {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: 15px;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(255, 92, 240, 0.22), transparent 60%),
    linear-gradient(155deg, rgba(12, 4, 22, 0.98), rgba(80, 0, 160, 0.45));
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
  overflow: hidden;
}

.twitter-social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 92, 240, 0.12), transparent 45%);
  pointer-events: none;
}

.twitter-social-card__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 24px rgba(255, 92, 240, 0.4);
}

.twitter-social-card__x-logo {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  color: #fff;
}

.twitter-social-card__title {
  position: relative;
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  animation: twitterTitleFadeUp 0.55s ease both;
}

.twitter-social-card__highlights {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 22rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: left;
}

.twitter-social-card__highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 154, 235, 0.14);
  line-height: 1.5;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  animation: twitterHighlightFadeUp 0.55s ease both;
  animation-delay: calc(0.12s + var(--i, 0) * 0.14s);
  contain: layout style;
}

.twitter-social-card__emoji {
  flex-shrink: 0;
  display: block;
  font-size: 1.15rem;
  line-height: 1.35;
  animation: twitterEmojiGlow 2.8s ease-in-out infinite;
  animation-delay: calc(0.5s + var(--i, 0) * 0.35s);
  backface-visibility: hidden;
}

.twitter-social-card__highlight-text {
  flex: 1;
  min-width: 0;
  font-size: 0.88rem;
  color: rgba(255, 228, 255, 0.92);
  line-height: 1.55;
}

.twitter-social-card__highlight-text strong {
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 14px rgba(255, 92, 240, 0.45);
  animation: twitterKeywordGlow 3.2s ease-in-out infinite;
  animation-delay: calc(0.6s + var(--i, 0) * 0.4s);
}

@keyframes twitterTitleFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes twitterHighlightFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes twitterEmojiGlow {
  0%, 100% {
    filter: drop-shadow(0 0 2px rgba(255, 154, 235, 0.35));
    transform: scale3d(1, 1, 1);
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(255, 92, 240, 0.75));
    transform: scale3d(1.08, 1.08, 1);
  }
}

@keyframes twitterKeywordGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(255, 92, 240, 0.35);
  }
  50% {
    text-shadow: 0 0 16px rgba(255, 154, 235, 0.65), 0 0 4px rgba(255, 255, 255, 0.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  .twitter-social-card__title,
  .twitter-social-card__highlight {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .twitter-social-card__emoji,
  .twitter-social-card__highlight-text strong {
    animation: none;
    filter: none;
    text-shadow: none;
  }

  .twitter-social-card__highlight-text strong {
    color: #ff9aeb;
  }
}

.twitter-social-card__actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  width: 100%;
  max-width: 18rem;
  margin-top: 0.5rem;
}

.twitter-social-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border: 1px solid transparent;
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  line-height: 1.2;
}

.twitter-social-card__btn svg {
  display: block;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.twitter-social-card__btn--follow {
  background: #000;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.twitter-social-card__btn--follow:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}

.twitter-social-card__btn--profile {
  background: linear-gradient(135deg, #8000ff, #ff5cf0);
  border-color: rgba(255, 154, 235, 0.45);
  box-shadow: 0 4px 16px rgba(128, 0, 255, 0.35);
}

.twitter-social-card__btn--profile:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 92, 240, 0.45);
}

.desban-chat-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 320px;
  overflow-y: auto;
  margin-top: 0.75rem;
}

.desban-chat-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 92, 240, 0.25);
}

.desban-chat-item__meta {
  font-size: 0.8rem;
  color: rgba(255, 235, 255, 0.75);
  flex: 1 1 100%;
}

.desban-chat-item__name {
  font-weight: 700;
  color: #ff9aeb;
}

.vibra-mod-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  background: rgba(10, 5, 20, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.vibra-mod-confirm-box {
  width: min(100%, 380px);
  background: rgba(20, 10, 30, 0.98);
  border: 1px solid #ff87e2;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 8px 32px rgba(255, 135, 226, 0.35);
  font-family: 'Outfit', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vibra-mod-confirm-box label {
  font-size: 0.8rem;
  color: rgba(255, 235, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.vibra-mod-confirm-box select,
.vibra-mod-confirm-box input,
.vibra-mod-confirm-box textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 135, 226, 0.4);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font: inherit;
}

.vibra-mod-confirm-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.vibra-mod-confirm-actions button {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.vibra-mod-btn-yes {
  background: linear-gradient(135deg, #c800c8, #ff5cf0);
  color: #fff;
}

.vibra-mod-btn-no {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.discord-widget-container iframe {
  width: 100%;
  height: 500px;
  border-radius: 8px;
}

.discord-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #5865F2;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.discord-button svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.discord-button:hover {
  background-color: #4752C4;
  transform: scale(1.1);
}

/* Estilo de los botones de las redes sociales */
.discord-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 15px;
  font-size: 16px;
  color: white;
  background-color: #5865F2;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

.discord-button svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.discord-button:hover {
  background-color: #4752C4;
  transform: scale(1.05);
}

/* ─── Sección Equipo (rediseño) ─── */
#equipoSection.team-page {
  text-align: center;
}

.team-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 0.75rem 3.5rem;
}

.team-hero {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 34rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    rgba(200, 0, 200, 0.42) 0%,
    rgba(255, 92, 240, 0.32) 48%,
    rgba(255, 154, 235, 0.28) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 12px 36px rgba(200, 0, 200, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.team-hero-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.team-hero h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #fff 0%, #ff9aeb 45%, #ff5cf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.team-hero-lead {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #fff;
  text-shadow: 0 1px 3px rgba(120, 0, 120, 0.35);
}

.team-tiers,
.team-custom-tiers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.team-custom-tiers {
  margin: 0 auto;
  max-width: 820px;
}

.team-tier--custom {
  --tier-accent: #a5f3fc;
  --tier-glow: rgba(165, 243, 252, 0.45);
  --tier-head-bg: linear-gradient(90deg, rgba(6, 182, 212, 0.55), rgba(255, 92, 240, 0.45), rgba(34, 211, 238, 0.48));
}

.team-area-manager {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 92, 240, 0.45);
  background: rgba(0, 0, 0, 0.2);
}

.team-area-manager__summary {
  cursor: pointer;
  font-weight: 700;
  color: #ff9aeb;
}

.team-area-manager__hint {
  margin: 0.5rem 0 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.team-area-create-btn {
  width: 100%;
  margin-top: 0.25rem;
}

.team-custom-areas-list {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.team-custom-areas-list__title {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.team-custom-areas-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.88rem;
}

.team-area-delete-warn {
  margin: 0.5rem 0;
  font-size: 0.85rem;
  color: #ffb347;
}

.team-area-delete-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
  font-size: 0.88rem;
  cursor: pointer;
}

.team-area-delete-btn {
  width: 100%;
}

.update-char-counter {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: rgba(255, 200, 120, 0.95);
}

.update-char-counter.is-over {
  color: #ff6b6b;
  font-weight: 700;
}

.team-tier {
  --tier-glow: rgba(255, 92, 240, 0.45);
  --tier-accent: #ff5cf0;
  --tier-head-bg: linear-gradient(90deg, rgba(200, 0, 200, 0.65), rgba(255, 92, 240, 0.55), rgba(255, 154, 235, 0.5));
  --tier-panel-bg: linear-gradient(
    155deg,
    rgba(200, 0, 200, 0.38) 0%,
    rgba(255, 92, 240, 0.28) 55%,
    rgba(255, 154, 235, 0.22) 100%
  );
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 1.25rem 1.15rem 1.4rem;
  border-radius: 22px;
  background: var(--tier-panel-bg);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 12px 32px rgba(200, 0, 200, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.team-tier::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 55% at 50% 0%, var(--tier-glow), transparent 70%);
  opacity: 0.85;
}

.team-tier[data-tier="duenos"] {
  --tier-accent: #fde047;
  --tier-glow: rgba(253, 224, 71, 0.4);
  --tier-head-bg: linear-gradient(90deg, rgba(180, 120, 0, 0.55), rgba(255, 92, 240, 0.5), rgba(255, 200, 100, 0.45));
}

.team-tier[data-tier="administradores"] {
  --tier-accent: #fbcfe8;
  --tier-glow: rgba(251, 207, 232, 0.45);
  --tier-head-bg: linear-gradient(90deg, rgba(219, 39, 119, 0.6), rgba(255, 92, 240, 0.55), rgba(255, 154, 235, 0.48));
}

.team-tier[data-tier="coordinadores"] {
  --tier-accent: #ddd6fe;
  --tier-glow: rgba(221, 214, 254, 0.4);
  --tier-head-bg: linear-gradient(90deg, rgba(124, 58, 237, 0.55), rgba(200, 0, 200, 0.5), rgba(167, 139, 250, 0.48));
}

.team-tier[data-tier="djs"] {
  --tier-accent: #ff9aeb;
  --tier-glow: rgba(255, 154, 235, 0.5);
  --tier-head-bg: linear-gradient(90deg, rgba(200, 0, 200, 0.62), rgba(255, 92, 240, 0.58), rgba(255, 154, 235, 0.52));
}

.team-tier[data-tier="guias"] {
  --tier-accent: #a5f3fc;
  --tier-glow: rgba(165, 243, 252, 0.38);
  --tier-head-bg: linear-gradient(90deg, rgba(6, 182, 212, 0.45), rgba(200, 0, 200, 0.5), rgba(255, 154, 235, 0.45));
}

.team-tier[data-tier="publicistas"] {
  --tier-accent: #fdba74;
  --tier-glow: rgba(253, 186, 116, 0.4);
  --tier-head-bg: linear-gradient(90deg, rgba(234, 88, 12, 0.5), rgba(255, 92, 240, 0.52), rgba(255, 154, 235, 0.48));
}

.team-tier-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 1.2rem;
  padding: 1rem 1.25rem;
  text-align: center;
  border-radius: 16px;
  background: var(--tier-head-bg);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 6px 20px rgba(255, 92, 240, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.team-tier-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 18px var(--tier-glow);
}

.team-tier-label h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 1px 4px rgba(120, 0, 120, 0.35);
}

.team-tier-label p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.92);
}

#equipoSection .team-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  margin: 0 auto;
}

.team-tier[data-tier="duenos"] .team-grid {
  max-width: 520px;
}

#equipoSection .team-card {
  position: relative;
  flex: 0 1 128px;
  width: 128px;
  max-width: 132px;
  min-height: 188px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 154, 235, 0.35) 45%,
    rgba(200, 0, 200, 0.5) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 22px rgba(200, 0, 200, 0.25);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

#equipoSection .team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tier-accent, #ff5cf0);
  z-index: 2;
}

#equipoSection .team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(160, 0, 160, 0.72) 90%);
  pointer-events: none;
  z-index: 1;
}

#equipoSection .team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 14px 28px rgba(255, 92, 240, 0.4),
    0 0 22px var(--tier-glow);
}

#equipoSection .team-card img {
  width: 100%;
  height: 130px;
  margin-top: 0.35rem;
  object-fit: contain;
  object-position: center bottom;
  border: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

#equipoSection .team-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 0.45rem;
  width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

#equipoSection .team-card p:first-of-type {
  margin-top: auto;
  padding: 0.35rem 0.5rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

#equipoSection .team-card p + p,
#equipoSection .team-card .team-card-role {
  margin: -0.15rem 0.4rem 0.45rem;
  padding: 0.2rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1a0a2e;
  background: var(--tier-accent, #ff9aeb);
  border-radius: 6px;
  display: inline-block;
  max-width: calc(100% - 0.8rem);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

#equipoSection .team-card .team-card-name {
  margin-top: auto;
  padding: 0.35rem 0.5rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

@media (max-width: 520px) {
  .team-tier {
    padding: 1rem 0.75rem 1.15rem;
  }

  .team-tier-head {
    max-width: 100%;
  }

  #equipoSection .team-grid {
    gap: 0.75rem;
  }

  #equipoSection .team-card {
    flex: 0 1 108px;
    width: 108px;
    max-width: 108px;
    min-height: 170px;
  }

  #equipoSection .team-card img {
    height: 115px;
  }
}

/* ─── Sección Vacantes ─── */
#vacantesSection.vacantes-page {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.vacantes-hero {
  margin: 0 auto 2rem;
  max-width: 34rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    rgba(200, 0, 200, 0.42) 0%,
    rgba(255, 92, 240, 0.32) 48%,
    rgba(255, 154, 235, 0.28) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 12px 36px rgba(200, 0, 200, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.vacantes-hero-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.vacantes-hero h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(120deg, #fff 0%, #ff9aeb 45%, #ff5cf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vacantes-hero-lead {
  margin: 0 auto;
  max-width: 26rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #fff;
  text-shadow: 0 1px 3px rgba(120, 0, 120, 0.35);
}

.vacantes-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  margin: 0 auto;
}

.vacantes-logo {
  display: flex;
  justify-content: center;
  width: 100%;
}

.vacantes-logo picture,
.vacantes-logo__img {
  display: block;
  width: clamp(160px, 28vw, 240px);
  max-width: min(240px, 72vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(255, 92, 240, 0.5));
}

.vacantes-form-panel {
  width: 100%;
  max-width: 520px;
  padding: 1.75rem 1.5rem 1.85rem;
  border-radius: 22px;
  background: linear-gradient(
    155deg,
    rgba(200, 0, 200, 0.38) 0%,
    rgba(255, 92, 240, 0.28) 55%,
    rgba(255, 154, 235, 0.22) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 12px 32px rgba(200, 0, 200, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#vacantesForm {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: 100%;
  text-align: left;
}

.vacantes-form-title,
#vacantesForm .vacantes-form-title {
  margin: 0 0 0.25rem;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(120, 0, 120, 0.35);
}

.vacantes-required-note {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 228, 248, 0.95);
}

.vacantes-required-note span {
  color: #fbcfe8;
  font-weight: 800;
}

.vacantes-label-required::after {
  content: " *";
  color: #f9a8d4;
  font-weight: 800;
}

.vacantes-php-hint {
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #fff;
  background: rgba(234, 88, 12, 0.35);
  border: 1px solid rgba(255, 200, 100, 0.45);
}

.vacantes-php-hint code {
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.vacantes-discord-badge {
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.22);
  border: 1px solid rgba(134, 239, 172, 0.45);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

.vacantes-discord-badge.is-linked {
  display: flex;
}

.vacantes-discord-badge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22c55e;
  font-size: 0.75rem;
}

.vacantes-discord-change {
  border: none;
  background: transparent;
  color: #fce7f3;
  font-size: 0.78rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.vacantes-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.vacantes-field label {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.vacantes-field--habbo { --field-accent: #f9a8d4; --field-glow: rgba(249, 168, 212, 0.35); }
.vacantes-field--dept { --field-accent: #ff5cf0; --field-glow: rgba(255, 92, 240, 0.4); }
.vacantes-field--tz { --field-accent: #f9a8d4; --field-glow: rgba(249, 168, 212, 0.35); }
.vacantes-field--schedule { --field-accent: #f9a8d4; --field-glow: rgba(249, 168, 212, 0.35); }
.vacantes-field--experience { --field-accent: #f9a8d4; --field-glow: rgba(249, 168, 212, 0.35); }

.vacantes-habbo-status {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  padding-left: 0.25rem;
}

.vacantes-habbo-status.is-checking {
  color: rgba(255, 255, 255, 0.75);
}

.vacantes-habbo-status.is-ok {
  color: #86efac;
}

.vacantes-habbo-status.is-error {
  color: #fca5a5;
}

.vacantes-field-hint {
  margin: 0.2rem 0 0;
  padding-left: 0.25rem;
  font-size: 0.72rem;
  color: rgba(255, 228, 248, 0.85);
  line-height: 1.35;
}

.vacantes-input-shell {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.85rem 0.35rem 0.65rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 240, 252, 0.96) 0%, rgba(255, 214, 245, 0.92) 100%);
  border: 2px solid rgba(255, 192, 235, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 14px rgba(200, 0, 160, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.vacantes-input-shell:focus-within {
  border-color: var(--field-accent, #ff9aeb);
  background: linear-gradient(180deg, #fff 0%, rgba(255, 228, 248, 0.98) 100%);
  box-shadow:
    0 0 0 3px var(--field-glow, rgba(255, 92, 240, 0.28)),
    0 8px 20px rgba(255, 92, 240, 0.2);
}

.vacantes-input-shell--area {
  align-items: flex-start;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.vacantes-input-shell--single {
  align-items: center;
  min-height: 52px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.vacantes-field--habbo .vacantes-input-shell,
.vacantes-field--tz .vacantes-input-shell,
.vacantes-field--schedule .vacantes-input-shell,
.vacantes-field--experience .vacantes-input-shell {
  border: 2px solid rgba(255, 192, 235, 0.95);
  background: linear-gradient(180deg, rgba(255, 240, 252, 0.96) 0%, rgba(255, 214, 245, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 14px rgba(200, 0, 160, 0.12);
}

.vacantes-field--habbo .vacantes-input-shell:focus-within,
.vacantes-field--tz .vacantes-input-shell:focus-within,
.vacantes-field--schedule .vacantes-input-shell:focus-within,
.vacantes-field--experience .vacantes-input-shell:focus-within {
  border-color: #f9a8d4;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 228, 248, 0.98) 100%);
  box-shadow:
    0 0 0 3px rgba(249, 168, 212, 0.35),
    0 8px 20px rgba(255, 92, 240, 0.2);
}

.vacantes-input-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.1rem;
  background: linear-gradient(145deg, var(--field-accent, #ff5cf0), rgba(0, 0, 0, 0.15));
  box-shadow: 0 4px 12px var(--field-glow, rgba(255, 92, 240, 0.25));
}

.vacantes-input-icon--top {
  margin-top: 0.15rem;
}

.vacantes-input-shell input,
.vacantes-input-shell textarea,
.vacantes-input-shell select {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.25rem;
  border: none;
  background: transparent;
  color: #831843;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  box-shadow: none;
}

/* Sin flecha de desplegable en campos de texto */
.vacantes-field--tz .vacantes-input-shell input {
  padding-right: 0.25rem;
  cursor: text;
}

.vacantes-field--tz .vacantes-input-shell::after {
  display: none;
}

.vacantes-input-shell input::placeholder,
.vacantes-input-shell textarea::placeholder {
  color: rgba(131, 24, 67, 0.45);
  font-weight: 400;
}

.vacantes-input-shell input:focus,
.vacantes-input-shell textarea:focus,
.vacantes-input-shell select:focus {
  outline: none;
}

.vacantes-input-shell input.is-habbo-valid {
  color: #166534;
}

.vacantes-input-shell input.is-habbo-invalid {
  color: #991b1b;
}

.vacantes-input-shell textarea {
  min-height: 100px;
  resize: vertical;
}

/* Select personalizado (departamento) */
.vacantes-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.vacantes-custom-select {
  position: relative;
}

.vacantes-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, rgba(200, 0, 200, 0.45), rgba(255, 92, 240, 0.35));
  border: 2px solid rgba(255, 154, 235, 0.5);
  box-shadow: 0 6px 18px rgba(200, 0, 200, 0.25);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.vacantes-select-trigger:hover {
  border-color: #ff9aeb;
  box-shadow: 0 8px 24px rgba(255, 92, 240, 0.4);
}

.vacantes-custom-select.is-open .vacantes-select-trigger {
  border-color: #ff5cf0;
  box-shadow: 0 0 0 3px rgba(255, 92, 240, 0.35);
}

.vacantes-select-trigger-text {
  flex: 1;
}

.vacantes-select-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s ease;
}

.vacantes-custom-select.is-open .vacantes-select-chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.vacantes-select-menu {
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  border-radius: 14px;
  background: linear-gradient(165deg, #4a044e 0%, #701a75 50%, #86198f 100%);
  border: 2px solid rgba(255, 154, 235, 0.55);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.vacantes-select-menu:not([hidden]) {
  display: block;
}

.vacantes-select-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  color: #fce7f3;
  transition: background 0.15s ease, transform 0.15s ease;
}

.vacantes-select-option:hover,
.vacantes-select-option.is-focused {
  background: linear-gradient(90deg, rgba(255, 92, 240, 0.55), rgba(255, 154, 235, 0.4));
  transform: translateX(4px);
}

.vacantes-select-option.is-selected {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 154, 235, 0.6);
}

.vacantes-option-emoji {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.vacantes-option-emoji--dual {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.2rem;
  font-size: 1.05rem;
  white-space: nowrap;
}

.vacantes-option-emoji--dual span {
  display: inline-block;
  line-height: 1;
}

.vacantes-option-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
}

.vacantes-option-text strong {
  font-size: 0.95rem;
  color: #fff;
}

.vacantes-option-text small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.vacantes-submit {
  margin-top: 0.35rem;
  padding: 13px 18px;
  width: 100%;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #c800c8 0%, #ff5cf0 50%, #ff9aeb 100%);
  box-shadow: 0 6px 22px rgba(255, 92, 240, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}

.vacantes-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 92, 240, 0.55);
}

.vacantes-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Modal vincular Discord */
.vacantes-discord-modal__box {
  max-width: 420px;
  text-align: center;
  border: 1px solid rgba(255, 154, 235, 0.45) !important;
  background: linear-gradient(
    155deg,
    rgba(200, 0, 200, 0.55) 0%,
    rgba(255, 92, 240, 0.45) 50%,
    rgba(255, 154, 235, 0.35) 100%
  ) !important;
  box-shadow: 0 16px 48px rgba(200, 0, 200, 0.45) !important;
}

.vacantes-discord-modal__icon {
  color: #fff;
  margin-bottom: 0.5rem;
}

.vacantes-discord-modal__box h3 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 1.25rem;
}

.vacantes-discord-modal__text,
.vacantes-discord-modal__hint {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.vacantes-discord-modal__hint {
  font-size: 0.78rem;
  opacity: 0.85;
  margin-bottom: 0;
}

.vacantes-btn-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.vacantes-btn-discord:hover:not([aria-disabled="true"]) {
  background: linear-gradient(135deg, #4752c4 0%, #5865f2 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(88, 101, 242, 0.55);
}

.vacantes-btn-discord[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ─── Sección Alianzas ─── */
#alianzasSection.alianzas-page {
  text-align: center;
  max-width: min(1320px, 96vw);
  margin-left: auto;
  margin-right: auto;
  padding: 0 0.5rem 2.5rem;
}

.alianzas-hero {
  margin: 0 auto 2.25rem;
  max-width: 34rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    rgba(200, 0, 200, 0.42) 0%,
    rgba(255, 92, 240, 0.32) 48%,
    rgba(255, 154, 235, 0.28) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 12px 36px rgba(200, 0, 200, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.alianzas-hero-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.alianzas-hero h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(120deg, #fff 0%, #ff9aeb 45%, #ff5cf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.alianzas-hero-lead {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #fff;
  text-shadow: 0 1px 3px rgba(120, 0, 120, 0.35);
}

.alianzas-page .alianzas-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  justify-items: stretch;
  align-items: stretch;
  gap: 2rem 1.75rem;
  padding: 0 0.75rem 2rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.alianzas-page .alianzas-container--solo {
  grid-template-columns: 1fr;
  max-width: min(760px, 100%);
}

.alianzas-page .alianzas-container--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1100px;
}

.alianzas-page .alianza-card-wrap {
  position: relative;
  width: 100%;
  max-width: none;
  padding-top: 14px;
  margin-bottom: 0.5rem;
}

.alianzas-page .alianza-card-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 28px;
  z-index: 4;
}

.alianzas-page .alianza-expand-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 8px);
  z-index: 6;
  padding: 1rem 0.85rem 0.9rem;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(20, 6, 32, 0.97) 0%, rgba(128, 0, 255, 0.55) 100%);
  border: 1px solid rgba(255, 154, 235, 0.45);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(255, 92, 240, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.96);
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    transform 0.38s cubic-bezier(0.34, 1.35, 0.64, 1),
    visibility 0.32s;
}

.alianzas-page .alianza-expand-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(120deg, #fff, #ff9aeb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.alianzas-page .alianza-expand-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 200, 255, 0.85);
  font-weight: 700;
}

.alianzas-page .alianza-expand-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}

.alianzas-page .alianza-card-wrap:hover .alianza-expand-panel,
.alianzas-page .alianza-card-wrap:focus-within .alianza-expand-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.alianzas-page .alianza-card-wrap:hover .alianza-card,
.alianzas-page .alianza-card-wrap:focus-within .alianza-card {
  transform: translateY(4px);
}

.alianzas-page .alianza-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255, 92, 240, 0.22), transparent 55%),
    linear-gradient(
      168deg,
      rgba(14, 4, 26, 0.98) 0%,
      rgba(36, 8, 58, 0.96) 42%,
      rgba(72, 12, 98, 0.94) 100%
    );
  border: 1px solid rgba(255, 92, 240, 0.38);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 154, 235, 0.1) inset,
    0 0 28px rgba(128, 0, 255, 0.18);
  transition:
    transform 0.32s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}

.alianzas-page .alianza-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8000ff, #c800c8, #ff5cf0, #ff9aeb);
  z-index: 4;
}

.alianzas-page .alianza-card-wrap:hover .alianza-card {
  border-color: rgba(255, 154, 235, 0.72);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.62),
    0 0 32px rgba(255, 92, 240, 0.42),
    0 0 0 1px rgba(255, 154, 235, 0.22) inset;
}

.alianzas-page .alianza-card__glow {
  position: absolute;
  inset: 18% 12% 28%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 240, 0.35) 0%, rgba(128, 0, 255, 0.12) 45%, transparent 72%);
  filter: blur(8px);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.alianzas-page .alianza-card-wrap:hover .alianza-card__glow,
.alianzas-page .alianza-card-wrap:focus-within .alianza-card__glow {
  opacity: 1;
  transform: scale(1.06);
}

.alianzas-page .alianza-card__media {
  position: relative;
  width: 100%;
  min-height: clamp(200px, 28vw, 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 1.25rem 0.75rem;
  background:
    radial-gradient(ellipse 90% 75% at 50% 40%, rgba(255, 92, 240, 0.14), transparent 68%),
    linear-gradient(180deg, rgba(8, 2, 16, 0.35) 0%, rgba(22, 6, 36, 0.55) 100%);
  box-sizing: border-box;
  isolation: isolate;
}

.alianzas-page .alianza-card__media::before {
  content: "";
  position: absolute;
  inset: 0.75rem 0.75rem 0.35rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 154, 235, 0.2);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(128, 0, 255, 0.06));
  box-shadow: inset 0 0 24px rgba(128, 0, 255, 0.12);
  pointer-events: none;
  z-index: 0;
}

.alianzas-page .alianza-card__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  height: clamp(160px, 24vw, 240px);
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.alianzas-page .alianza-card-wrap:hover .alianza-card__media img,
.alianzas-page .alianza-card-wrap:focus-within .alianza-card__media img {
  transform: scale(1.04) translateY(-2px);
}

.alianzas-page .alianza-card__footer {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 1.15rem 1rem 1.25rem;
  box-sizing: border-box;
  background: linear-gradient(
    180deg,
    rgba(128, 0, 255, 0.28) 0%,
    rgba(200, 0, 200, 0.72) 35%,
    rgba(255, 92, 240, 0.78) 100%
  );
  border-top: 1px solid rgba(255, 154, 235, 0.35);
}

.alianzas-page .alianza-card__footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
}

.alianzas-page .alianza-card__name,
.alianzas-page .alianza-card p {
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(40, 0, 60, 0.45);
}

.alianzas-page .alianza-card--featured {
  border-color: rgba(255, 154, 235, 0.55);
}

.alianzas-page .alianza-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: linear-gradient(120deg, #8000ff, #c800c8, #ff5cf0);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 16px rgba(255, 92, 240, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.alianzas-page .alianza-card__shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.alianzas-page .alianza-card-wrap:hover .alianza-card__shine,
.alianzas-page .alianza-card-wrap:focus-within .alianza-card__shine {
  opacity: 1;
  animation: alianzaShine 1.8s ease-in-out infinite;
}

@keyframes alianzaShine {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.alianzas-cta-wrap {
  width: 100%;
  text-align: center;
  margin: 0.5rem auto 2.5rem;
  padding: 0 1rem;
}

.alianzas-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #8000ff, #ff5cf0, #ff9aeb);
  box-shadow: 0 0 28px rgba(255, 92, 240, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.alianzas-cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 36px rgba(255, 92, 240, 0.65);
}

.alianzas-cta-hint {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 220, 255, 0.85);
}

.alianzas-empty {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  border-radius: 16px;
  font-size: 0.95rem;
  font-style: italic;
  color: #fff;
  background: rgba(255, 92, 240, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

@media (max-width: 520px) {
  .vacantes-form-panel {
    padding: 1.35rem 1.1rem 1.5rem;
  }

  .alianzas-page .alianzas-container--duo {
    grid-template-columns: 1fr;
  }

  .alianzas-page .alianza-card-wrap {
    max-width: 100%;
  }
}

/* Carrusel */
.carousel-container {
  position: relative;
  max-width: 900px;
  height: 400px;
  /* Altura fija para que no sea gigante */
  margin: 20px auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.carousel-item {
  min-width: 100%;
  height: 100%;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Se recorta elegante sin deformarse */
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* Footer → assets/css/legal.css (.site-footer) */

/* Adaptabilidad para dispositivos móviles */
@media (max-width: 768px) {
  .logo img,
  .logo .logo-main-img {
    height: clamp(88px, 24vw, 112px);
    max-height: 112px;
  }

  .radio-title {
    font-size: clamp(1rem, 4.2vw, 1.25rem);
    margin: 8px 10px;
  }

  .header-content {
    flex-direction: column;
    align-items: center;
  }

  .info-container {
    flex-direction: column;
    align-items: center;
    min-width: auto;
  }

  .img-container {
    margin: 0 0 15px 0;
  }
}

/* Notificación Premium (Glassmorphism) */
.notification {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px) scale(0.95);
  background: rgba(20, 20, 20, 0.65);
  /* Fondo oscuro transparente */
  backdrop-filter: blur(15px);
  /* Efecto vidrio (Glassmorphism) */
  -webkit-backdrop-filter: blur(15px);
  color: #ffffff;
  padding: 16px 28px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(128, 0, 255, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Animación de rebote */
  pointer-events: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Barra de progreso de la notificación */
.notification::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #8000ff, #ff4500);
  /* Degradado Morado a Naranja */
  transform-origin: left;
  transform: scaleX(0);
}

.notification.show::after {
  animation: shrinkProgress 4s linear forwards;
}

@keyframes shrinkProgress {
  0% {
    transform: scaleX(1);
  }

  100% {
    transform: scaleX(0);
  }
}

/* Chat header y botón de reglas */
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.btn-reglas {
  background: rgba(255, 69, 0, 0.2);
  color: #ff4500;
  border: 1px solid #ff4500;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-reglas:hover {
  background: #ff4500;
  color: white;
}

/* Botones de Entrada del Chat */
#btn-anonimo,
#btn-verificado {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#btn-anonimo:hover {
  background: #444 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

#btn-verificado:hover {
  background: #9d33ff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(128, 0, 255, 0.5);
}

.saved-verified-account {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 6px;
  background: rgba(128, 0, 255, 0.12);
  border: 1px solid rgba(128, 0, 255, 0.35);
}

.saved-verified-account__text {
  margin: 0 0 8px;
  font-size: 12px;
  color: #ddd;
}

.saved-verified-account__enter,
.saved-verified-account__new {
  flex: 1;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 12px;
}

.saved-verified-account__enter {
  background: #8000ff;
  color: #fff;
}

.saved-verified-account__new {
  background: #333;
  color: #fff;
  border: 1px solid #555;
}

/* Modal de Reglas */
.modal {
  display: none;
  /* Oculto por defecto */
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  /* Fondo oscuro semitransparente */
  backdrop-filter: blur(5px);
}

.glass-panel {
  background: rgba(30, 30, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 30px;
  width: 90%;
  max-width: 500px;
  color: white;
}

.modal-content h2 {
  color: #ff4500;
  margin-bottom: 15px;
  text-align: center;
}

.modal-content ul {
  margin-top: 15px;
  padding-left: 20px;
  line-height: 1.6;
}

.modal-content li {
  margin-bottom: 10px;
}

.close {
  color: #d4d4dc;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  margin-top: -15px;
  background: transparent;
  border: none;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
}

.close:hover,
.close:focus-visible {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  outline: 2px solid #ff87e2;
  outline-offset: 2px;
}

/* =========================================================================
   📱 RESPONSIVIDAD (MÓVILES Y TABLETS)
   ========================================================================= */
@media (max-width: 850px) {

  /* Cabecera y Reproductor */
  .header-content {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }

  .info-container {
    flex-direction: column;
    text-align: center;
    padding: 15px;
    max-width: 100%;
    min-width: auto;
  }

  .img-container {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .dj-img {
    width: 100px;
    height: 100px;
  }

  /* Menú de navegación — 2×2 en móvil, todos con fondo rosa */
  .nav-container {
    margin: 0.75rem auto 1rem;
    padding: 0 10px;
  }

  .navbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
  }

  .navbar a,
  .navbar .nav-tab {
    min-height: 44px;
    padding: 10px 6px;
    font-size: 0.85rem;
  }

  /* Carrusel */
  .carousel-container {
    height: 200px;
    /* Más pequeño en pantallas chicas */
  }

  .carousel-item img {
    height: 200px;
  }

  /* Chat y Peticiones */
  .request-timeline-container {
    flex-direction: column;
  }

  .request-timeline-container > .song-request,
  .request-timeline-container > .chat-container {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 480px;
    max-height: none;
    margin: 0;
  }

  /* Widgets Sociales (X y Discord) */
  .bottom-container {
    flex-direction: column;
    gap: 15px;
  }

  .twitter-timeline-container,
  .discord-widget-container {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 400px;
    /* Reducir altura en móvil */
  }

  .twitter-social-card {
    padding: 1.35rem 1rem;
    gap: 0.75rem;
  }

  .twitter-social-card__title {
    font-size: 1.15rem;
  }

  .twitter-social-card__highlights {
    max-width: 100%;
    gap: 0.45rem;
  }

  .twitter-social-card__highlight {
    padding: 0.45rem 0.55rem;
    gap: 0.45rem;
  }

  .twitter-social-card__emoji {
    font-size: 1rem;
  }

  .twitter-social-card__highlight-text {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .twitter-social-card__actions {
    max-width: 100%;
    margin-top: 0.25rem;
  }

  .twitter-social-card__btn {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }

  /* Formularios y Equipo */
  .vacantes-container {
    padding: 15px;
  }

  .equipo-grid,
  .grid-alianzas {
    grid-template-columns: 1fr;
    /* Una sola columna para las fotos */
    gap: 15px;
  }
}

/* Animaciones y estilos premium para los Stickers del Chat */
@keyframes popSticker {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.chat-sticker {
  display: block;
  max-width: 60px;
  max-height: 60px;
  margin-top: 5px;
  animation: popSticker 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Twitch-style pending moderation message styling */
.message-pending {
  border-left: 3px solid #8000ff !important;
  background: transparent !important;
  padding: 6px 10px !important;
  margin: 5px 0 !important;
  box-shadow: none !important;
  animation: popSticker 0.3s ease-out forwards;
}

.message-pending strong {
  color: inherit !important;
}

/* Custom iOS-style toggle slider switches with color #FF87E2 */
.vibra-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .vibra-slider {
  background-color: #FF87E2 !important;
  box-shadow: 0 0 8px rgba(255, 135, 226, 0.6);
}

input:checked + .vibra-slider:before {
  transform: translateX(20px);
}

/* Chat settings panel styling */
#chat-settings-panel {
  position: absolute !important;
  bottom: 52px !important;
  right: 0 !important;
  background: rgba(20, 10, 35, 0.98) !important;
  border: 1px solid #FF87E2 !important;
  border-radius: 12px !important;
  padding: 15px !important;
  width: 280px !important;
  box-shadow: 0 10px 30px rgba(255, 135, 226, 0.25) !important;
  z-index: 1001 !important;
  display: none; /* Starts cleanly hidden */
  flex-direction: column !important;
  gap: 12px !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  box-sizing: border-box !important;
  font-family: 'Outfit', sans-serif !important;
  color: white !important;
}

/* Emoji picker panel styling */
#emoji-picker-panel {
  position: absolute !important;
  bottom: 52px !important;
  left: 0 !important;
  background: rgba(20, 10, 35, 0.96) !important;
  border: 1px solid #8000ff !important;
  border-radius: 12px !important;
  padding: 10px !important;
  width: min(100%, 336px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  z-index: 1000 !important;
  display: none;
  flex-direction: column !important;
  gap: 8px !important;
  overflow: hidden !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  box-sizing: border-box !important;
}

.emoji-picker-tabs {
  display: flex;
  gap: 6px;
  width: 100%;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.emoji-picker-tab {
  flex: 1;
  min-height: 44px;
  padding: 8px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #d8d8e4;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.emoji-picker-tab.is-active,
.emoji-picker-tab[aria-selected="true"] {
  background: rgba(128, 0, 255, 0.22);
  border-color: #8000ff;
  color: #fff;
}

.emoji-picker-tab:focus-visible {
  outline: 2px solid #ff87e2;
  outline-offset: 2px;
}

.emoji-picker-grid {
  --picker-cols: 6;
  --picker-rows: 3;
  --picker-gap: 6px;
  --picker-cell: 44px;
  display: grid;
  grid-template-columns: repeat(var(--picker-cols), minmax(0, 1fr));
  gap: var(--picker-gap);
  width: 100%;
  max-height: calc(var(--picker-rows) * var(--picker-cell) + (var(--picker-rows) - 1) * var(--picker-gap));
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  padding: 2px 0;
}

.emoji-picker-grid--stickers {
  --picker-cell: 48px;
}

.emoji-picker-grid:not(.is-visible) {
  display: none;
}

.emoji-picker-grid.is-visible {
  display: grid;
}

.emoji-picker-emoji-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--picker-cell);
  aspect-ratio: 1;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

/* Modal /rol — acabado premium */
#modal-rol-chat .modal-content {
  width: min(92vw, 560px);
  border: 1px solid rgba(255, 92, 240, 0.55);
  border-radius: 14px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 92, 240, 0.16), transparent 42%),
    radial-gradient(circle at 90% 100%, rgba(128, 0, 255, 0.14), transparent 45%),
    rgba(18, 10, 28, 0.96);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.65),
    0 0 24px rgba(255, 92, 240, 0.2);
}

#modal-rol-chat h2 {
  margin-bottom: 0.9rem;
  text-align: center;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, #ff9aeb, #ff5cf0 50%, #ff7f2a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#modal-rol-chat .close {
  color: #f4effa;
  font-size: 1.7rem;
  opacity: 0.9;
}

#modal-rol-chat .close:hover {
  color: #fff;
  transform: scale(1.08);
}

#rol-chat-form {
  display: grid;
  gap: 0.7rem;
}

#rol-chat-form label {
  font-weight: 700;
  color: rgba(250, 240, 255, 0.95);
}

#rol-chat-form .vibra-field-input {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 135, 226, 0.45);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
}

#rol-chat-form .vibra-field-input:focus {
  border-color: #ff87e2;
  box-shadow: 0 0 0 3px rgba(255, 92, 240, 0.2);
}

#rol-chat-form button[type="submit"] {
  margin-top: 0.35rem;
  min-height: 44px;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #c800c8 0%, #ff5cf0 56%, #ff9aeb 100%);
  box-shadow: 0 8px 18px rgba(255, 92, 240, 0.28);
}

#rol-chat-form button[type="submit"]:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

#rol-chat-list .desban-chat-item {
  border-radius: 10px;
  border-color: rgba(255, 135, 226, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

#rol-chat-list .desban-chat-item__name {
  color: #ff87e2;
  font-weight: 800;
}

.emoji-picker-emoji-btn:hover,
.emoji-picker-emoji-btn:focus-visible {
  background: rgba(128, 0, 255, 0.28);
}

.emoji-picker-sticker-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--picker-cell);
  aspect-ratio: 1;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
  overflow: hidden;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.emoji-picker-sticker-btn:hover,
.emoji-picker-sticker-btn:focus-visible {
  background: rgba(128, 0, 255, 0.22);
  border-color: #8000ff;
}

@media (hover: hover) {
  .emoji-picker-sticker-btn:hover,
  .emoji-picker-sticker-btn:focus-visible {
    transform: scale(1.04);
  }
}

.emoji-picker-sticker-btn img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

html.reduce-motion .chat-live-title {
  animation: none !important;
  -webkit-text-fill-color: #e8d4ff;
  color: #e8d4ff;
}

html.reduce-motion .vibra-live-dot {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .chat-live-title {
    animation: none !important;
    -webkit-text-fill-color: #e8d4ff;
    color: #e8d4ff;
    filter: none;
  }

  .vibra-live-dot {
    animation: none !important;
  }

  #wave-background svg {
    animation-duration: 16s !important;
  }

  #equalizer-background .bar {
    animation-duration: 2.8s !important;
  }
}

/* Accesibilidad y PageSpeed */
.text-help,
.text-muted {
  color: #d8d8e4;
  font-size: 10px;
  line-height: 1.4;
}

.text-muted {
  font-size: 12px;
}

.emoji-picker-trigger {
  position: absolute;
  right: 6px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.emoji-picker-trigger:hover {
  opacity: 1;
}

.emoji-picker-trigger:focus-visible,
#chat-settings-btn:focus-visible,
#send-btn:focus-visible,
.nav-tab:focus-visible,
.icon-close-btn:focus-visible {
  outline: 2px solid #ff87e2;
  outline-offset: 2px;
}

.icon-close-btn {
  background: transparent;
  border: none;
  color: #d4d4dc;
  cursor: pointer;
  font-size: 14px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-close-btn:hover {
  color: #fff;
}

.panel-close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 18px;
  font-weight: bold;
}

#chat-settings-btn {
  min-width: 44px;
  min-height: 44px;
  color: #e8e8ec !important;
}

/* --- Accesibilidad y rendimiento (Lighthouse) --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.carousel-item picture,
.carousel-item img {
  width: 100%;
  height: 100%;
  display: block;
}

main a[href]:not(.nav-tab):not(.vacantes-btn-discord):not(.vacantes-discord-change):not(.site-footer__social a):not(.site-footer__community-btn):not(.site-footer__links a):not(.twitter-social-card__btn) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-footer a[href]:focus-visible,
main a[href]:focus-visible,
.navbar .nav-tab:focus-visible,
.carousel-btn:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #ff9aeb;
  outline-offset: 2px;
}

.carousel-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 12px;
}

@media (max-width: 850px) {
  .navbar .nav-tab {
    min-height: 48px;
    padding: 12px 10px;
  }
}

.info-container .info p,
.info-container .info strong {
  color: #f4f4f8;
}

.radio-title {
  color: #fff;
}

.song-request-title,
.chat-live-title {
  font-size: inherit;
  margin: 0 0 0.75rem;
}

/* --- Trivia / preguntas en chat --- */
.trivia-modal__box {
  position: relative;
  max-width: 440px;
  overflow: hidden;
  border: 2px solid rgba(255, 135, 226, 0.55);
  box-shadow: 0 0 40px rgba(128, 0, 255, 0.45);
}

.trivia-modal__box > .close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 12;
  float: none;
  margin: 0;
  padding: 0;
  touch-action: manipulation;
}

.trivia-modal__glow {
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 92, 240, 0.35), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.trivia-modal__title,
.trivia-modal__lead,
.trivia-form {
  position: relative;
  z-index: 1;
}

.trivia-modal__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  background: linear-gradient(120deg, #fff, #ff9aeb, #ff5cf0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.trivia-modal__lead {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: #ddd;
  line-height: 1.45;
}

.trivia-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.trivia-field span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ff9aeb;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trivia-field textarea,
.trivia-field input[type="text"],
.trivia-field input[type="url"] {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 154, 235, 0.35);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-family: inherit;
}

.trivia-duration-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: #aaa;
}

.trivia-audience {
  margin: 0;
  padding: 0.75rem;
  border: 1px dashed rgba(128, 0, 255, 0.45);
  border-radius: 12px;
  background: rgba(128, 0, 255, 0.08);
}

.trivia-audience legend {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e8d4ff;
  padding: 0 0.25rem;
}

.trivia-radio {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #eee;
  cursor: pointer;
}

.trivia-radio input {
  margin-top: 3px;
  accent-color: #ff5cf0;
}

.trivia-submit {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #8000ff, #ff5cf0);
  box-shadow: 0 0 18px rgba(255, 92, 240, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trivia-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(255, 92, 240, 0.65);
}

.trivia-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.chat-trivia-sticky {
  position: sticky;
  top: 0;
  z-index: 3;
  margin-bottom: 8px;
}

.chat-trivia-live {
  position: relative;
  padding: 10px 12px 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(128, 0, 255, 0.35), rgba(255, 92, 240, 0.22));
  border: 1px solid rgba(255, 154, 235, 0.5);
  box-shadow: 0 0 16px rgba(255, 92, 240, 0.25);
  overflow: hidden;
}

.chat-trivia-live__pulse {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: triviaShine 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes triviaShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.chat-trivia-live__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 92, 240, 0.5);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.chat-trivia-live__q {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.chat-trivia-live__meta {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 220, 255, 0.9);
}

.message-trivia-system .message-content {
  background: rgba(128, 0, 255, 0.15);
  border-left: 3px solid #ff5cf0;
  padding-left: 8px;
  border-radius: 6px;
}

html.reduce-motion .chat-trivia-live__pulse {
  animation: none !important;
}

/* Olas/ecualizador reduce-motion → animations.css */

/* --- Anuncio de actualización en chat --- */
.message.message--update {
  padding: 0.35rem 0 0.65rem;
  background: transparent;
}

.message.message--update:hover {
  background: transparent;
}

.message-update-label {
  font-size: 0.72rem;
  color: rgba(255, 200, 255, 0.75);
  margin-bottom: 0.35rem;
}

.message-update-label strong {
  font-size: 0.8rem;
}

.vibra-update-announce {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.9rem 1rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 154, 235, 0.45);
  background: linear-gradient(145deg, rgba(30, 8, 45, 0.97), rgba(128, 0, 255, 0.32));
  box-shadow: 0 0 20px rgba(255, 92, 240, 0.22);
  overflow: hidden;
  box-sizing: border-box;
}

.vibra-update-announce__glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 20% 30%, rgba(255, 92, 240, 0.35), transparent 55%);
  pointer-events: none;
}

.vibra-update-announce__badge {
  position: relative;
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 92, 240, 0.55);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.vibra-update-announce__title {
  position: relative;
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  background: linear-gradient(120deg, #fff, #ff9aeb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vibra-update-announce__body {
  position: relative;
  max-height: min(280px, 45vh);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  margin-bottom: 0.45rem;
  padding-right: 0.15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 92, 240, 0.55) rgba(255, 255, 255, 0.06);
}

.vibra-update-announce__body::-webkit-scrollbar {
  width: 6px;
}

.vibra-update-announce__body::-webkit-scrollbar-thumb {
  background: rgba(255, 92, 240, 0.5);
  border-radius: 6px;
}

.vibra-update-announce__para {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #f0e6ff;
}

.vibra-update-announce__list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  list-style: none;
}

.vibra-update-announce__list li {
  position: relative;
  margin: 0 0 0.55rem;
  padding-left: 0.15rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #f0e6ff;
}

.vibra-update-announce__list li::before {
  content: "";
  position: absolute;
  left: -0.85rem;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff5cf0;
  box-shadow: 0 0 6px rgba(255, 92, 240, 0.8);
}

.vibra-update-announce__desc {
  position: relative;
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #f0e6ff;
}

.vibra-update-announce__hint {
  position: relative;
  margin: 0;
  font-size: 0.7rem;
  color: rgba(255, 200, 255, 0.8);
}

/* Toast fijo al publicar :actualizar */
.vibra-update-toast {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  width: min(520px, calc(100vw - 24px));
  max-height: min(85vh, 640px);
  animation: vibraUpdateToastIn 0.45s cubic-bezier(0.34, 1.35, 0.64, 1);
}

@keyframes vibraUpdateToastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.vibra-update-toast__inner {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 154, 235, 0.5);
  background: rgba(14, 6, 26, 0.98);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(128, 0, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  box-sizing: border-box;
}

.vibra-update-toast__head {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.vibra-update-toast__icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.vibra-update-toast__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  background: linear-gradient(120deg, #fff, #ff9aeb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vibra-update-toast__body {
  max-height: min(220px, 38vh);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 0.15rem 0.1rem 0.15rem 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 92, 240, 0.55) rgba(255, 255, 255, 0.06);
}

.vibra-update-toast__body .vibra-update-announce__list li {
  font-size: 0.82rem;
}

.vibra-update-toast__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vibra-update-toast__btn {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vibra-update-toast__btn {
  background: linear-gradient(135deg, #8000ff, #ff5cf0);
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 92, 240, 0.4);
}

.vibra-update-toast__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(255, 92, 240, 0.55);
}

.vibra-update-toast__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 235, 255, 0.9);
  border: 1px solid rgba(255, 154, 235, 0.35);
  box-shadow: none;
}

.vibra-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.vibra-emoji-trigger {
  border: 1px solid rgba(255, 154, 235, 0.4);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 0.15rem 0.45rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.vibra-inline-emoji-panel {
  position: fixed;
  z-index: 10060;
  display: none;
  padding: 10px;
  border-radius: 14px;
  background: rgba(14, 6, 26, 0.98);
  border: 1px solid rgba(255, 154, 235, 0.5);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.65),
    0 0 24px rgba(128, 0, 255, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-sizing: border-box;
}

.vibra-inline-emoji-panel.is-open,
.vibra-inline-emoji-panel:not([hidden]) {
  display: block;
}

.vibra-inline-emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
  max-height: min(220px, 50vh);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 92, 240, 0.65) rgba(255, 255, 255, 0.08);
}

.vibra-inline-emoji-grid::-webkit-scrollbar {
  width: 8px;
}

.vibra-inline-emoji-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.vibra-inline-emoji-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c800c8, #ff5cf0);
  border-radius: 8px;
}

.vibra-inline-emoji-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 2.35rem;
  min-height: 2.35rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.vibra-inline-emoji-btn:hover,
.vibra-inline-emoji-btn:focus-visible {
  background: rgba(128, 0, 255, 0.35);
  border-color: rgba(255, 154, 235, 0.45);
  transform: scale(1.08);
  outline: none;
}

.vibra-emoji-trigger.is-active {
  border-color: #ff5cf0;
  background: rgba(128, 0, 255, 0.35);
  box-shadow: 0 0 12px rgba(255, 92, 240, 0.45);
}

@media (max-width: 400px) {
  .vibra-inline-emoji-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.alliance-request-form select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 154, 235, 0.35);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-family: inherit;
}

/* ═══════════════════════════════════════════════════════════════
   SECCIÓN NOSOTROS — Quiénes somos / Historia Radio Vibra FM
   ═══════════════════════════════════════════════════════════════ */

#nosotrosSection.nosotros-page {
  position: relative;
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 4.5rem;
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(200, 0, 200, 0.28), transparent 58%),
    radial-gradient(ellipse 60% 40% at 100% 40%, rgba(255, 92, 240, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 35% at 0% 70%, rgba(255, 69, 0, 0.1), transparent 50%);
}

.nos-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.nos-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 92, 240, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 92, 240, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 15%, black 15%, transparent 78%);
  opacity: 0.65;
}

.nos-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: nos-orb-float 16s ease-in-out infinite;
}

.nos-orb--1 {
  width: min(560px, 90vw);
  height: min(560px, 90vw);
  top: -12%;
  left: -14%;
  background: radial-gradient(circle, rgba(200, 0, 200, 0.85), transparent 68%);
}

.nos-orb--2 {
  width: min(440px, 70vw);
  height: min(440px, 70vw);
  top: 22%;
  right: -14%;
  background: radial-gradient(circle, rgba(255, 92, 240, 0.7), transparent 70%);
  animation-delay: -5s;
}

.nos-orb--3 {
  width: min(380px, 58vw);
  height: min(380px, 58vw);
  bottom: 6%;
  left: 18%;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.4), transparent 72%);
  animation-delay: -9s;
}

@keyframes nos-orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -22px, 0) scale(1.06); }
}

.nos-hero-panel {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto 2.5rem;
  padding: 0 clamp(0.75rem, 3vw, 1.5rem);
}

.nos-hero-panel__bg {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  z-index: 0;
}

.nos-hero-panel__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(1.2) blur(1px);
}

.nos-hero-panel__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 5, 20, 0.92) 0%, rgba(80, 0, 80, 0.78) 45%, rgba(10, 5, 20, 0.88) 100%);
}

.nos-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem 2.5rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 28px;
  border: 1px solid rgba(255, 154, 235, 0.32);
  background: linear-gradient(145deg, rgba(200, 0, 200, 0.35) 0%, rgba(255, 92, 240, 0.22) 48%, rgba(255, 154, 235, 0.18) 100%);
  box-shadow: 0 20px 60px rgba(200, 0, 200, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nos-hero__kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 154, 235, 0.5);
}

.nos-hero h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 5.8vw, 3.5rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 8px 32px rgba(200, 0, 200, 0.4);
}

.nos-gradient-text {
  display: inline-block;
  background: linear-gradient(120deg, #fff 0%, #ff9aeb 38%, #ff5cf0 72%, #c800c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nos-hero__lead {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2.1vw, 1.14rem);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.nos-hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
}

.nos-vinyl {
  position: relative;
  width: clamp(170px, 30vw, 230px);
  aspect-ratio: 1;
}

.nos-vinyl__disc,
.nos-vinyl__label {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.nos-vinyl__disc {
  background:
    repeating-radial-gradient(circle at center, #111 0 2px, #1a1a1a 2px 4px),
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.1), transparent 45%);
  box-shadow: 0 0 0 4px rgba(255, 92, 240, 0.4), 0 24px 56px rgba(0, 0, 0, 0.55), inset 0 0 40px rgba(0, 0, 0, 0.6);
  animation: nos-vinyl-spin 14s linear infinite;
}

.nos-vinyl__label {
  inset: 28%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #c800c8, #ff5cf0 55%, #ff9aeb);
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.4);
}

.nos-vinyl__pulse {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  border: 2px solid rgba(255, 154, 235, 0.55);
  animation: nos-pulse 2.6s ease-out infinite;
}

.nos-vinyl__icon {
  font-size: 1.75rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  animation: nos-vinyl-spin 14s linear infinite reverse;
}

@keyframes nos-vinyl-spin {
  to { transform: rotate(360deg); }
}

@keyframes nos-pulse {
  0% { transform: scale(0.9); opacity: 0.95; }
  100% { transform: scale(1.4); opacity: 0; }
}

.nos-wave {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 56px;
  width: min(100%, 260px);
}

.nos-wave__bar {
  flex: 1;
  max-width: 7px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9aeb, #ff5cf0);
  box-shadow: 0 0 14px rgba(255, 92, 240, 0.5);
  animation: nos-wave-dance 1.1s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.06s);
}

@keyframes nos-wave-dance {
  0%, 100% { height: 12px; opacity: 0.55; }
  50% { height: calc(14px + (var(--i) % 5) * 8px); opacity: 1; }
}

.nos-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.nos-stat {
  text-align: center;
  padding: 1.1rem 0.75rem;
  border-radius: 18px;
  background: rgba(8, 4, 16, 0.72);
  border: 1px solid rgba(255, 154, 235, 0.28);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nos-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 92, 240, 0.6);
  box-shadow: 0 12px 28px rgba(255, 92, 240, 0.2);
}

.nos-stat strong {
  display: block;
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(120deg, #fff, #ff9aeb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nos-stat span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.74rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
}

.nos-story {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 3vw, 1.5rem) 1rem;
}

.nos-timeline {
  position: absolute;
  left: clamp(0.75rem, 3vw, 1.5rem);
  top: 0;
  bottom: 0;
  width: 4px;
  transform: translateX(20px);
  pointer-events: none;
}

.nos-timeline__line {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(255, 92, 240, 0.65) 10%, rgba(200, 0, 200, 0.5) 90%, transparent);
}

.nos-timeline__glow {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 92, 240, 0.4);
  filter: blur(10px);
}

.nos-chapter {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem 1.35rem;
  margin-bottom: 2.25rem;
  padding: 0 0 0 0.35rem;
  align-items: start;
}

.nos-chapter__marker {
  padding-top: 0.55rem;
}

.nos-chapter__stack {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;
}

.nos-chapter__head {
  padding: 1rem 1.35rem;
  border-radius: 18px;
  background: linear-gradient(
    105deg,
    rgba(200, 0, 200, 0.55) 0%,
    rgba(255, 92, 240, 0.32) 52%,
    rgba(255, 154, 235, 0.16) 100%
  );
  border: 1px solid rgba(255, 154, 235, 0.45);
  box-shadow:
    0 10px 32px rgba(200, 0, 200, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.nos-chapter__head h3 {
  margin: 0;
  font-size: clamp(1.18rem, 2.8vw, 1.58rem);
  font-weight: 800;
  line-height: 1.28;
  color: #fff;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.nos-chapter--accent .nos-chapter__head {
  background: linear-gradient(105deg, rgba(255, 69, 0, 0.38), rgba(200, 0, 200, 0.42));
  border-color: rgba(255, 69, 0, 0.42);
}

.nos-chapter__marker span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 0.74rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #c800c8, #ff5cf0);
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 24px rgba(255, 92, 240, 0.5);
}

.nos-chapter__body {
  position: relative;
  padding: 1.45rem 1.5rem;
  border-radius: 22px;
  background: rgba(8, 4, 18, 0.78);
  border: 1px solid rgba(255, 154, 235, 0.22);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.nos-chapter__body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #ff5cf0, #c800c8);
  border-radius: 4px 0 0 4px;
}

.nos-chapter--accent .nos-chapter__body {
  border-color: rgba(255, 69, 0, 0.38);
  background: linear-gradient(145deg, rgba(48, 10, 32, 0.82), rgba(8, 4, 18, 0.78));
}

.nos-chapter--accent .nos-chapter__body::before {
  background: linear-gradient(180deg, #ff4500, #ff5cf0);
}

.nos-chapter__body p {
  margin: 0 0 0.9rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

.nos-chapter__body p:last-child {
  margin-bottom: 0;
}

.nos-chapter__body strong {
  color: #ff5cf0;
}

.nos-quote {
  position: relative;
  margin: 0 0 2.25rem 4rem;
  padding: 1.5rem 1.65rem 1.5rem 2rem;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(200, 0, 200, 0.32), rgba(255, 92, 240, 0.18));
  border-left: 5px solid #ff5cf0;
  box-shadow: 0 14px 36px rgba(200, 0, 200, 0.22);
}

.nos-quote::before {
  content: "\201C";
  position: absolute;
  top: -0.2rem;
  left: 0.9rem;
  font-size: 3.2rem;
  line-height: 1;
  color: rgba(255, 154, 235, 0.5);
  font-family: Georgia, "Times New Roman", serif;
}

.nos-quote p {
  margin: 0;
  font-size: clamp(1.05rem, 2.3vw, 1.22rem);
  line-height: 1.62;
  font-style: italic;
  color: #fff;
}

.nos-quote--alt {
  border-left-color: #ff4500;
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.22), rgba(255, 92, 240, 0.14));
}

.nos-closing {
  position: relative;
  margin: 2.75rem 0 2.25rem;
  padding: 2.25rem 2rem;
  border-radius: 26px;
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(255, 154, 235, 0.32);
  background: rgba(8, 4, 18, 0.82);
  box-shadow: 0 18px 48px rgba(200, 0, 200, 0.18);
}

.nos-closing__glow {
  position: absolute;
  inset: -45%;
  background: radial-gradient(circle, rgba(255, 92, 240, 0.28), transparent 62%);
  animation: nos-orb-float 11s ease-in-out infinite;
}

.nos-closing__title {
  position: relative;
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ff9aeb;
  letter-spacing: 0.02em;
}

.nos-closing__text {
  position: relative;
  margin: 0;
  font-size: clamp(1.02rem, 2.3vw, 1.22rem);
  line-height: 1.68;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  text-wrap: balance;
}

.nos-signature {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2.25rem 0;
  padding: 1.65rem 1.85rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(200, 0, 200, 0.28), rgba(8, 4, 18, 0.85));
  border: 1px solid rgba(255, 154, 235, 0.28);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.nos-signature__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.nos-signature__avatar {
  display: block;
  width: auto;
  height: clamp(110px, 20vw, 150px);
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(255, 92, 240, 0.45));
}

.nos-signature__ring {
  position: absolute;
  inset: -10%;
  border-radius: 20px;
  border: 2px solid rgba(255, 154, 235, 0.5);
  animation: nos-pulse 3.2s ease-out infinite;
}

.nos-signature__role {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 154, 235, 0.9);
}

.nos-signature__name {
  margin: 0.3rem 0 0.4rem;
  font-size: clamp(1.65rem, 4.2vw, 2.1rem);
  font-weight: 900;
  background: linear-gradient(120deg, #fff, #ff9aeb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nos-signature__tagline {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.nos-cta {
  text-align: center;
  margin-top: 2.75rem;
  padding: 2.25rem 1.5rem 0.75rem;
  border-radius: 22px;
  background: rgba(8, 4, 18, 0.55);
  border: 1px solid rgba(255, 154, 235, 0.2);
}

.nos-cta__label {
  margin: 0 0 1.25rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 154, 235, 0.95);
}

.nos-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.nos-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nos-cta__btn--primary {
  color: #fff;
  background: linear-gradient(90deg, #c800c8 0%, #ff5cf0 55%, #ff9aeb 100%);
  box-shadow: 0 10px 32px rgba(255, 92, 240, 0.45);
}

.nos-cta__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(255, 92, 240, 0.6);
}

.nos-cta__btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 154, 235, 0.4);
}

.nos-cta__btn--ghost:hover {
  transform: translateY(-3px);
  background: rgba(255, 92, 240, 0.18);
}

.nos-reveal {
  opacity: 1;
  transform: none;
}

html.js-ready .nos-reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-ready .nos-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nos-reveal--delay { transition-delay: 0.12s; }
.nos-reveal--delay-2 { transition-delay: 0.22s; }

@media (max-width: 860px) {
  .nos-hero { grid-template-columns: 1fr; text-align: center; }
  .nos-hero__lead { margin-inline: auto; }
  .nos-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nos-timeline { display: none; }
  .nos-chapter { grid-template-columns: 1fr; padding-left: 0; }
  .nos-chapter__marker { display: none; }
  .nos-quote { margin-left: 0; }
  .nos-signature { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .nos-stats { grid-template-columns: 1fr 1fr; }
  .nos-cta__btn { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .nos-orb, .nos-vinyl__disc, .nos-vinyl__icon, .nos-vinyl__pulse, .nos-wave__bar, .nos-closing__glow, .nos-signature__ring {
    animation: none !important;
  }
  html.js-ready .nos-reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}