* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #252b3a;
  background: #f3f6fb;
  line-height: 1.6;
  padding-top: 75px; /* Empuja el contenido hacia abajo para que el header fijo no lo tape */
}

/* ==========================================
   HEADER FIJO ARRIBA DE TODO (FIXED ABSOLUTO)
   ========================================== */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid #e3e7f1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999; /* Por encima de cualquier elemento */
  box-shadow: 0 4px 15px rgba(25, 43, 76, 0.08);
}

.header-container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  position: relative;
}

/* LOGO Y BANDERA */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.argentina-flag {
  width: 36px;
  height: 24px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
}

.text-sky-blue {
  color: #74ACDF;
}

.text-gold {
  color: #f1c40f;
}

/* BOTON HAMBURGUESA */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  z-index: 1300;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #000000;
  border-radius: 2px;
}

/* NAVEGACION HORIZONTAL EN PC */
.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  padding-left: 25px;
}

.menu-header {
  display: none;
}

.menu-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.menu-links li a {
  color: #333333;
  font-size: 0.85rem;
  font-weight: 400;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.menu-links li a:hover {
  color: #e74c3c;
}

.menu-divider-vertical {
  width: 1px;
  height: 20px;
  background-color: #dcdfe6;
  margin: 0 5px;
}

/* CONTADOR EN VIVO + BOTON CHAT */
.nav-right-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.live-activity-card {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

.activity-header {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.activity-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.5px;
}

.activity-body {
  font-size: 0.85rem;
  font-weight: bold;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* BOTON CHAT BAHIENSES MÁS GRANDE Y REFORZADO */
.menu-chat-btn-container {
  list-style: none;
}

.btn-chat-bahienses {
  background: linear-gradient(135deg, #d93829, #c0392b) !important;
  color: #ffffff !important;
  border: none;
  padding: 0.65rem 1.3rem; /* Botón más grande y visible */
  border-radius: 25px;
  font-size: 0.95rem; /* Tipografía más grande */
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(192, 57, 43, 0.35);
  white-space: nowrap;
}

.btn-chat-bahienses i {
  font-size: 1.1rem;
}

.btn-chat-bahienses:hover {
  background: linear-gradient(135deg, #e74c3c, #a93226) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(192, 57, 43, 0.45);
}

.menu-overlay {
  display: none;
}


/* ==========================================
   HERO Y FLECHA/INDICADOR DE SCROLL
   ========================================== */
.karaoke-container {
  width: 100%;
  max-width: 960px;
  margin: 35px auto;
  padding: 0 18px;
}

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 48px 25px 35px 25px;
  color: #ffffff;
  border-radius: 20px;
  background: linear-gradient(135deg, #172e68, #612c85 65%, #a32d83);
  box-shadow: 0 12px 32px rgba(49, 35, 105, 0.17);
}

.hero-icon {
  font-size: 53px;
  margin-bottom: 12px;
  color: #ffb8e8;
}

.hero-label {
  display: inline-block;
  padding: 5px 13px;
  margin-bottom: 15px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.10);
  border-radius: 30px;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 45px);
  line-height: 1.2;
}

.hero h1 span {
  color: #ffb8e8;
}

.hero p {
  max-width: 620px;
  margin: 0 auto;
  color: #f0eafa;
  font-size: 16px;
}

/* Indicador con flecha animada en la portada */
.scroll-indicator {
  margin-top: 30px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #ffb8e8;
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity 0.3s;
}

.scroll-indicator:hover {
  opacity: 0.8;
}

.scroll-arrow {
  font-size: 1.2rem;
  animation: bounceArrow 1.8s infinite;
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* MINI BOT / BADGE FLOTANTE ABAJO */
.scroll-floating-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffffff;
  color: #263451;
  border: 1px solid #e3e7f1;
  border-left: 4px solid #c0392b;
  padding: 10px 16px;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 1000;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.scroll-floating-badge.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.scroll-floating-badge .badge-icon {
  color: #c0392b;
  font-size: 1.1rem;
}

.scroll-floating-badge .badge-arrow {
  color: #612c85;
  font-size: 1rem;
  animation: pulseBadge 1.5s infinite;
}

@keyframes pulseBadge {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}


/* POLITICAS Y PANEL DE REGISTRO */
.politicas-box-top {
  background: #ffffff;
  border: 1px solid #e3e7f1;
  border-left: 5px solid #a32d83;
  border-radius: 12px;
  padding: 24px;
  margin-top: 25px;
  box-shadow: 0 4px 14px rgba(25, 43, 76, 0.04);
}

.politicas-box-top h3 {
  margin: 0 0 12px;
  color: #612c85;
  font-size: 19px;
}

.politicas-box-top ul {
  margin: 0;
  padding-left: 20px;
  color: #514567;
  font-size: 14px;
}

.politicas-box-top li {
  margin-bottom: 6px;
}

.panel-card {
  background: #ffffff;
  border: 1px solid #e3e7f1;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 5px 18px rgba(25, 43, 76, 0.04);
  margin-top: 25px;
}

.panel-card h2 {
  margin: 0 0 10px;
  color: #263451;
  font-size: 22px;
}

.panel-card p {
  color: #596277;
  margin: 0 0 20px;
  font-size: 14px;
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #263451;
  font-size: 13px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #dcdfe6;
  border-radius: 10px;
  font-size: 14px;
  color: #252b3a;
  background: #fafbfd;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #743ba3;
  box-shadow: 0 0 0 3px rgba(116, 59, 163, 0.12);
  background: #ffffff;
}

.btn-action {
  background: linear-gradient(135deg, #612c85, #a32d83);
  color: #ffffff;
  border: none;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(97, 44, 133, 0.2);
  width: 100%;
  transition: opacity 0.2s;
}

.btn-action:hover {
  opacity: 0.9;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 15px;
}

.modal-content {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-content h3 {
  margin-top: 0;
  color: #612c85;
  font-size: 22px;
}

.modal-content p {
  color: #596277;
  font-size: 14px;
  text-align: left;
  margin-bottom: 20px;
}

.footer {
  text-align: center;
  padding: 25px 15px;
  color: #7b8498;
  font-size: 13px;
}

.footer i {
  color: #a44c9b;
}


/* ==========================================
   RESPONSIVE DESIGN (MÓVILES)
   ========================================== */
@media (max-width: 992px) {
  .nav-center,
  .nav-menu > .menu-links {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .header-container {
    height: 68px;
    padding: 0 1rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 2000;
  }

  .nav-menu.active {
    left: 0;
  }

  .menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
  }

  .menu-title {
    font-weight: 700;
    color: #000000;
    font-size: 1.1rem;
  }

  .close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #000000;
  }

  .nav-right-container {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-left: 0;
    gap: 12px;
    margin-top: 10px;
  }

  .live-activity-card {
    justify-content: center;
    width: 100%;
    padding: 8px;
  }

  .btn-chat-bahienses {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px;
  }

  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
  }

  .menu-overlay.active {
    display: block;
  }

  .scroll-floating-badge {
    bottom: 15px;
    right: 15px;
    padding: 8px 12px;
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-menu,
  .menu-overlay {
    transition: none;
  }
}