:root{
  /* Base clara */
  --bg:#F6F7F9;
  --surface:#FFFFFF;
  --text:#1F2430;
  --muted:#5E6A7D;

  /* Acentos */
  --primary:#00AEEF;
  --primary-2:#0BBBF7;
  --accent:#7A5CFF;
  --success:#2EBD85;
  --danger:#E05252;

  /* Bordes/sombra/radios */
  --border:#E5E9F1;
  --shadow:0 6px 24px rgba(20,40,80,.08), 0 1px 2px rgba(20,40,80,.06);
  --radius:12px;

  /* Layout */
  --container:1040px;
}

/* Reset y base */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 450px at 80% -10%, rgba(0,174,239,.08), transparent),
    linear-gradient(180deg, #FAFBFD, #F6F7F9);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

/* ========== HERO MEJORADO CON MÁS IMPACTO VISUAL ========== */

.hero-enhanced {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 174, 239, 0.15), 0 0 0 1px rgba(0, 174, 239, 0.1);
  background: var(--surface);
  border: 2px solid transparent;
  background-clip: padding-box;
  overflow: hidden;
  position: relative;
  min-height: 480px;
  transition: all 0.3s ease;
}

.hero-enhanced:hover {
  box-shadow: 0 15px 50px rgba(0, 174, 239, 0.25), 0 0 0 2px rgba(0, 174, 239, 0.2);
  transform: translateY(-2px);
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  filter: saturate(1.1) contrast(1.05) brightness(0.95);
  transition: filter 0.3s ease;
}

.hero-enhanced:hover .hero-img {
  filter: saturate(1.2) contrast(1.1) brightness(1);
}

.hero-overlay-enhanced {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(
      135deg,
      rgba(0, 174, 239, 0.15) 0%,
      rgba(122, 92, 255, 0.1) 50%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(31, 36, 48, 0.95) 100%
    );
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.4), transparent);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.particle-1 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 15%;
  animation-delay: 0s;
}

.particle-2 {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.particle-3 {
  width: 100px;
  height: 100px;
  bottom: 15%;
  left: 70%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) scale(1.1);
    opacity: 0.6;
  }
}

.hero-caption-enhanced {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 3;
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.2), rgba(122, 92, 255, 0.2));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3);
}

.hero-title {
  margin: 0;
  font-size: clamp(28px, 5vw, 48px);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 174, 239, 0.3);
}

.hero-accent {
  background: linear-gradient(135deg, #00AEEF, #7A5CFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.3);
  }
}

.hero-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-hero-primary,
.btn-hero-secondary {
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #00AEEF, #0BBBF7);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-hero-primary:hover::before {
  left: 100%;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 174, 239, 0.4);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.2);
}

@media (min-width: 992px) {
  .hero-enhanced {
    min-height: 540px;
  }

  .hero-img {
    height: 540px;
  }
}

@media (max-width: 768px) {
  .hero-enhanced {
    min-height: 420px;
  }

  .hero-img {
    height: 420px;
  }

  .hero-caption-enhanced {
    left: 20px;
    right: 20px;
    bottom: 20px;
    gap: 12px;
  }
}

@media (max-width: 576px) {
  .hero-enhanced {
    min-height: 380px;
  }

  .hero-img {
    height: 380px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .particle {
    display: none;
  }
}

/* ========== NAVBAR - COMPACTO CON LOGO RECTANGULAR ========== */
.navbar {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  padding: 0.35rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar .navbar-brand {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  padding: 0.25rem 0;
  margin-right: 2rem;
  display: flex;
  align-items: center;
}

/* Logo - RECTANGULAR (proporción 3:1) */
.navbar-brand img {
  width: 210px;
  height: 70px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar .nav-link {
  color: var(--muted);
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  margin: 0 0.2rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 0.95rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary);
  background: rgba(0,174,239,0.08);
}

.navbar-nav.me-auto .nav-item {
  margin-right: 0.3rem;
}

.navbar-nav.mx-auto .nav-item {
  margin: 0 0.3rem;
}

/* Botones sociales - MÁS SEPARADOS */
.navbar .btn-discord,
.navbar .btn-success,
.navbar .btn-tiktok {
  background: #5865F2;
  color: #fff;
  border: 1px solid #5865F2;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-size: 0.88rem;
  white-space: nowrap;
}

.navbar .btn-success {
  background: #25D366;
  border-color: #25D366;
}

.navbar .btn-tiktok {
  background: #000000;
  border-color: #000000;
}

.navbar .btn-discord:hover {
  background: #7289DA;
  border-color: #7289DA;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(88,101,242,0.3);
}

.navbar .btn-success:hover {
  background: #128C7E;
  border-color: #128C7E;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}

.navbar .btn-tiktok:hover {
  background: #EE1D52;
  border-color: #EE1D52;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(238, 29, 82, 0.3);
}

.navbar .bi {
  font-size: 1em;
  width: 1em;
}

/* SEPARACIÓN ENTRE BOTONES SOCIALES */
.navbar-nav.ms-auto .nav-item {
  margin-left: 0.5rem;
}

.navbar-nav.ms-auto .nav-item:first-child {
  margin-left: 0;
}

/* ========== CORRECCIONES NAVBAR RESPONSIVE ========== */
.navbar-toggler {
  border-color: var(--border);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(31, 36, 48, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991px) {
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand img {
    width: 180px;
    height: 60px;
  }
  
  .navbar-nav .nav-item {
    margin: 0.25rem 0;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    margin: 0;
  }

  .navbar-nav .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0 !important;
    justify-content: center;
    padding: 0.75rem 1rem !important;
  }

  .navbar-nav .btn-discord,
  .navbar-nav .btn-success,
  .navbar-nav .btn-tiktok {
    margin: 0.5rem 0 !important;
    padding: 0.75rem 1rem !important;
  }

  .navbar-nav .btn-discord {
    margin-top: 1rem !important;
  }

  .navbar-nav .btn-success {
    margin-bottom: 0.5rem !important;
  }

  .navbar-collapse {
    padding: 1rem 0;
  }
  
  .navbar-nav.ms-auto .nav-item {
    margin-left: 0 !important;
  }
}

@media (max-width: 576px) {
  .navbar-brand img {
    width: 150px;
    height: 50px;
  }
}

/* ========== Cards y paneles ========== */
.card,
.neon-card,
.neon-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.neon-border {
  border-color: var(--border) !important;
  box-shadow: none;
}

.card p.lead {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

/* ========== AVISO ALPHA - VERSIÓN LIMPIA ========== */
.alert-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #FFF9E6;
  border: 1px solid #FFD93D;
  border-left: 4px solid #FF9500;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.alert-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.alert-content {
  flex: 1;
}

.alert-content strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.alert-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ========== REPRODUCTOR MUSICAL - VERSIÓN LIMPIA ========== */
.music-player {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.player-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-family: 'Montserrat', sans-serif;
}

.player-title i {
  font-size: 1.3rem;
  color: var(--primary);
}

.player-visualizer-wrapper {
  width: 100%;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.08), rgba(122, 92, 255, 0.05));
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  position: relative;
}

.player-canvas {
  width: 100% !important;
  height: 80px !important;
  display: block !important;
}

.song-info {
  text-align: center;
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  background: rgba(0, 174, 239, 0.03);
  border-radius: 8px;
}

.song-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-status {
  font-size: 0.8rem;
  color: var(--muted);
}

.player-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.control-btn {
  width: 50px;
  height: 50px;
  border: 2px solid var(--border);
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.3rem;
  color: var(--primary);
}

.control-btn:hover {
  background: rgba(0, 174, 239, 0.1);
  border-color: var(--primary);
  transform: scale(1.05);
}

.control-btn:active {
  transform: scale(0.98);
}

.play-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: var(--primary);
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3);
}

.play-btn:hover {
  background: linear-gradient(135deg, var(--primary-2), var(--accent));
  transform: scale(1.08);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 174, 239, 0.05);
  border-radius: 8px;
}

.volume-icon {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.volume-icon:hover {
  transform: scale(1.1);
}

.volume-range {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, 
    var(--primary) 0%, 
    var(--primary) 50%, 
    rgba(0, 174, 239, 0.2) 50%, 
    rgba(0, 174, 239, 0.2) 100%
  );
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.volume-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: white;
  border: 2px solid var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.volume-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 2px 8px rgba(0, 174, 239, 0.4);
}

.volume-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: white;
  border: 2px solid var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.volume-range::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 2px 8px rgba(0, 174, 239, 0.4);
}

/* ========== TOP 3 JUGADORES - REDISEÑADO ========== */

.top-players-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

.section-title i {
  font-size: 1.6rem;
  color: #FFD700;
}

.podium-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.podium-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.podium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.podium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 174, 239, 0.15);
  border-color: var(--primary);
}

.podium-card:hover::before {
  opacity: 1;
}

.podium-card.position-1 {
  border-color: #FFD700;
}

.podium-card.position-1::before {
  background: linear-gradient(90deg, #FFD700, #FFA500);
}

.podium-card.position-1:hover {
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.podium-card.position-2 {
  border-color: #C0C0C0;
}

.podium-card.position-2::before {
  background: linear-gradient(90deg, #C0C0C0, #A9A9A9);
}

.podium-card.position-3 {
  border-color: #CD7F32;
}

.podium-card.position-3::before {
  background: linear-gradient(90deg, #CD7F32, #D2691E);
}

.podium-rank {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.podium-rank.gold {
  background: linear-gradient(135deg, #FFD700, #FFA500);
}

.podium-rank.silver {
  background: linear-gradient(135deg, #C0C0C0, #A9A9A9);
}

.podium-rank.bronze {
  background: linear-gradient(135deg, #CD7F32, #D2691E);
}

.rank-number {
  font-size: 1.8rem;
}

.rank-icon {
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 1.2rem;
  color: #FFD700;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.player-info {
  padding-top: 0.5rem;
}

.player-avatar {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.player-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem 0;
  word-break: break-word;
}

.player-level {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.1), rgba(122, 92, 255, 0.05));
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.player-level i {
  font-size: 1rem;
}

/* ========== ESTADÍSTICAS DEL SERVIDOR - REDISEÑADO ========== */

.server-stats-section {
  margin-bottom: 2rem;
}

.stats-card {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 174, 239, 0.3);
  position: relative;
  overflow: hidden;
}

.stats-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 50%;
}

.stats-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stats-content {
  flex: 1;
  color: white;
}

.stats-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stats-label {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.95;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stats-badge {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

/* ========== Formularios ========== */
.form-label {
  color: var(--muted);
  font-weight: 500;
}

.form-control.custom {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
}

.form-control.custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(0,174,239,.14);
}

/* ========== Alertas ========== */
.alert-soft {
  background: #F9FBFE;
  border: 1px solid #E8F5FD;
  color: #2A4050;
  border-radius: 10px;
}

.alert-success {
  background: #E9FBF3;
  border: 1px solid #D2F5E6;
  color: #1F6E53;
}

.alert-danger {
  background: #FDECEC;
  border: 1px solid #F8D7DA;
  color: #7A2222;
}

/* ========== Utilidades ========== */
.text-muted {
  color: var(--muted) !important;
}

.text-center {
  text-align: center !important;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-unstyled li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}

.list-unstyled li:last-child {
  border-bottom: none;
}

/* ========== Footer ========== */
footer {
  margin-top: auto !important;
  padding: 2rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: block !important;
  visibility: visible !important;
}

footer .container {
  max-width: var(--container);
}

/* ========== Grid Bootstrap ========== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
  margin-left: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
}

.col-md-3 {
  flex: 0 0 auto;
  width: 25%;
}

/* ========== LOGIN Y PERFIL - DISEÑO MINIMALISTA ========== */

/* Login Container */
.login-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 420px;
  width: 100%;
  padding: 2.5rem;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header i {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}

.login-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem 0;
  font-family: 'Montserrat', sans-serif;
}

.login-header p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Login Form */
.login-form {
  margin-bottom: 1.5rem;
}

.login-form .form-group {
  margin-bottom: 1.25rem;
}

.login-form .form-label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.login-form .form-control.custom {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.login-form .form-control.custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
  outline: none;
}

.btn-login {
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 174, 239, 0.4);
}

.login-footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.login-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.login-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.login-footer a:hover {
  text-decoration: underline;
}

/* ========== PERFIL PAGE ========== */

/* Profile Header */
.profile-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 6px 20px rgba(0, 174, 239, 0.25);
  position: relative;
  overflow: hidden;
}

.profile-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
  border-radius: 50%;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  flex-shrink: 0;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1;
  position: relative;
}

.avatar-badge {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
}

.profile-info {
  flex: 1;
  color: white;
  z-index: 1;
}

.profile-name {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  font-family: 'Montserrat', sans-serif;
}

.profile-level {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-logout {
  padding: 0.7rem 1.3rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid white;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  z-index: 1;
}

.btn-logout:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-2px);
}

/* Stats Grid */
.stats-grid-profile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 174, 239, 0.15);
}

.stat-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
}

.stat-icon.experience {
  background: linear-gradient(135deg, #FFD700, #FFA500);
}

.stat-icon.games {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.stat-icon.wins {
  background: linear-gradient(135deg, #2EBD85, #1FA568);
}

.stat-icon.losses {
  background: linear-gradient(135deg, #E05252, #C93434);
}

.stat-icon.points {
  background: linear-gradient(135deg, #9C27B0, #7B1FA2);
}

.stat-icon.coins {
  background: linear-gradient(135deg, #FF9800, #F57C00);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Performance Section */
.performance-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.performance-card,
.accuracy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.performance-title,
.accuracy-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1.5rem 0;
  font-family: 'Montserrat', sans-serif;
}

.performance-title i,
.accuracy-title i {
  color: var(--primary);
}

.performance-stats {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.performance-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.performance-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.performance-bar {
  width: 100%;
  height: 10px;
  background: rgba(0, 174, 239, 0.1);
  border-radius: 5px;
  overflow: hidden;
}

.performance-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 1s ease;
}

.performance-fill.wins-fill {
  background: linear-gradient(90deg, #2EBD85, #1FA568);
}

.performance-fill.perfects-fill {
  background: linear-gradient(90deg, #FFD700, #FFA500);
}

.performance-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

/* Accuracy Grid */
.accuracy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.accuracy-item {
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.accuracy-item:hover {
  transform: scale(1.03);
}

.accuracy-item.perfect {
  background: linear-gradient(135deg, rgba(46, 189, 133, 0.1), rgba(31, 165, 104, 0.05));
}

.accuracy-item.cool {
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.1), rgba(122, 92, 255, 0.05));
}

.accuracy-item.bad {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(245, 124, 0, 0.05));
}

.accuracy-item.miss {
  background: linear-gradient(135deg, rgba(224, 82, 82, 0.1), rgba(201, 52, 52, 0.05));
}

.accuracy-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.accuracy-item.perfect .accuracy-icon {
  color: #2EBD85;
}

.accuracy-item.cool .accuracy-icon {
  color: var(--primary);
}

.accuracy-item.bad .accuracy-icon {
  color: #FF9800;
}

.accuracy-item.miss .accuracy-icon {
  color: #E05252;
}

.accuracy-count {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.accuracy-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .profile-name {
    font-size: 1.4rem;
  }

  .stats-grid-profile {
    grid-template-columns: 1fr;
  }

  .performance-section {
    grid-template-columns: 1fr;
  }

  .accuracy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .alert-box {
    flex-direction: column;
    text-align: center;
  }

  .alert-icon {
    font-size: 2rem;
  }

  .music-player {
    padding: 1.25rem;
  }

  .top-players-section {
    padding: 1.5rem;
  }

  .podium-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .stats-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .stats-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .login-card {
    padding: 2rem 1.5rem;
  }

  .profile-avatar {
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
  }

  .avatar-badge {
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
  }
  
  .music-player {
    padding: 1rem;
  }

  .player-visualizer-wrapper {
    height: 60px;
  }

  .player-canvas {
    height: 60px !important;
  }

  .player-controls {
    gap: 0.75rem;
  }

  .control-btn {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .play-btn {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }

  .top-players-section {
    padding: 1rem;
  }

  .podium-rank {
    width: 50px;
    height: 50px;
  }

  .rank-number {
    font-size: 1.5rem;
  }

  .player-avatar {
    font-size: 2.5rem;
  }

  .player-name {
    font-size: 1rem;
  }

  .stats-card {
    padding: 1.25rem;
  }

  .stats-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .stats-number {
    font-size: 2rem;
  }

  .stats-label {
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .music-player {
    padding: 0.875rem;
  }
}

/* ========== REGISTRO PAGE - DISEÑO MINIMALISTA ========== */

.register-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.register-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem;
}

.register-header {
  text-align: center;
  margin-bottom: 2rem;
}

.register-header i {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}

.register-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem 0;
  font-family: 'Montserrat', sans-serif;
}

.register-header p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Register Form */
.register-form {
  margin-bottom: 1.5rem;
}

.register-form .form-group {
  margin-bottom: 1.25rem;
}

.register-form .form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.register-form .form-label i {
  color: var(--primary);
  font-size: 1rem;
}

.register-form .form-control.custom {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.register-form .form-control.custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
  outline: none;
}

/* Gender Options */
.gender-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.gender-option {
  cursor: pointer;
  margin: 0;
}

.gender-option input[type="radio"] {
  display: none;
}

.gender-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: white;
  transition: all 0.2s ease;
}

.gender-box i {
  font-size: 2rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.gender-box span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.gender-option:hover .gender-box {
  border-color: var(--primary);
  background: rgba(0, 174, 239, 0.05);
}

.gender-option input[type="radio"]:checked + .gender-box {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.1), rgba(122, 92, 255, 0.05));
}

.gender-option input[type="radio"]:checked + .gender-box i {
  color: var(--primary);
}

/* Turnstile Container */
.cf-turnstile {
  display: flex;
  justify-content: center;
}

/* Register Button */
.btn-register {
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 174, 239, 0.4);
}

.btn-register i {
  font-size: 1.1rem;
}

/* Register Footer */
.register-footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.register-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.register-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.register-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 576px) {
  .register-card {
    padding: 2rem 1.5rem;
  }

  .register-header i {
    font-size: 3rem;
  }

  .register-header h1 {
    font-size: 1.5rem;
  }

  .gender-box {
    padding: 0.875rem;
  }

  .gender-box i {
    font-size: 1.75rem;
  }
}

/* ========== PÁGINA DE DESCARGAS - MINIMALISTA ========== */

.download-header {
  text-align: center;
  margin-bottom: 3rem;
}

.download-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  box-shadow: 0 6px 20px rgba(0, 174, 239, 0.3);
}

.download-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem 0;
  font-family: 'Montserrat', sans-serif;
}

.download-header p {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

/* Download Cards */
.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.download-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.download-card:hover:not(.disabled) {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 174, 239, 0.15);
  border-color: var(--primary);
}

.download-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.05), rgba(122, 92, 255, 0.02));
}

.download-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.download-card-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.download-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.download-card.disabled .download-card-icon {
  background: linear-gradient(135deg, var(--muted), #8E99A8);
}

.download-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem 0;
  font-family: 'Montserrat', sans-serif;
}

.download-card-description {
  color: var(--muted);
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.btn-download {
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 174, 239, 0.4);
  color: white;
}

.btn-download-disabled {
  width: 100%;
  padding: 0.875rem;
  background: var(--border);
  color: var(--muted);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* System Requirements */
.system-requirements {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.requirements-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.requirements-header i {
  font-size: 1.8rem;
  color: var(--primary);
}

.requirements-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.requirement-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(0, 174, 239, 0.05);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.requirement-item:hover {
  background: rgba(0, 174, 239, 0.1);
  transform: translateX(3px);
}

.requirement-item i {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.requirement-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

/* Help Section */
.download-help {
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.08), rgba(122, 92, 255, 0.05));
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.help-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  flex-shrink: 0;
}

.help-content {
  flex: 1;
}

.help-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem 0;
  font-family: 'Montserrat', sans-serif;
}

.help-content p {
  color: var(--muted);
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.btn-help {
  padding: 0.7rem 1.3rem;
  background: #5865F2;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-help:hover {
  background: #7289DA;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .download-header h1 {
    font-size: 2rem;
  }

  .download-cards {
    grid-template-columns: 1fr;
  }

  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .download-help {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .download-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .download-header h1 {
    font-size: 1.75rem;
  }

  .download-card {
    padding: 1.5rem;
  }

  .system-requirements {
    padding: 1.5rem;
  }
}

/* ========== FOOTER REDISEÑADO - MINIMALISTA ========== */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

/* Footer Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  width: 180px;
  height: 60px;
  object-fit: contain;
}

.footer-tagline {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  max-width: 280px;
  font-size: 0.95rem;
}

/* Footer Sections */
.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem 0;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-list li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-list li a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

/* Footer Social */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon.discord {
  background: #5865F2;
}

.social-icon.whatsapp {
  background: #25D366;
}

.social-icon.tiktok {
  background: #000000;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-icon.discord:hover {
  background: #7289DA;
}

.social-icon.whatsapp:hover {
  background: #128C7E;
}

.social-icon.tiktok:hover {
  background: #EE1D52;
}

/* Footer Badge */
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.1), rgba(122, 92, 255, 0.05));
  border: 1px solid var(--primary);
  border-radius: 20px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

.footer-badge i {
  font-size: 1rem;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-note i {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 576px) {
  .site-footer {
    padding: 2rem 0 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-logo {
    width: 150px;
    height: 50px;
    margin: 0 auto;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-links,
  .footer-community {
    text-align: center;
  }

  .footer-list {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-badge {
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .footer-list li a:hover {
    transform: translateX(0);
  }
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */

@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }
}

@media (max-width: 768px) {
  .col-md-3 {
    width: 100%;
  }
}
