  /* ===== RESET Y VARIABLES ===== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  :root {
    --primary: #1e2b3c;
    --accent: #f39c12;
    --accent-dark: #e67e22;
    --light: #f8f9fa;
    --dark: #0f171e;
    --gray: #6c757d;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    --radius: 16px;
    --transition: all 0.3s ease;
  }

  body {
    background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 50%, #a8be9d 100%);
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1rem;
  }

  /* ===== CONTENEDOR PRINCIPAL ===== */
  .radio-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .logo-uab {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .logo-uab img {
    width: 100%;
    max-width: 100px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    display: block;
  }

  /* ===== HEADER ===== */
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 60px;
    box-shadow: var(--shadow);
    margin-top: 0.5rem;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
  }

  .logo i {
    color: var(--accent);
    font-size: 2rem;
  }

  .logo span {
    background: linear-gradient(135deg, var(--primary), #2c3e50);
    color: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
  }

  .status-badge .dot {
    width: 10px;
    height: 10px;
    background: #2e7d32;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
  }

  @keyframes pulse {
    0% {
      opacity: 1;
      transform: scale(1);
    }

    50% {
      opacity: 0.5;
      transform: scale(1.2);
    }

    100% {
      opacity: 1;
      transform: scale(1);
    }
  }

  /* ===== REPRODUCTOR PRINCIPAL ===== */
  .player-card {
    background-image: url('/image/ibare.png'), url('/image/fondo.png');
    background-position: center right, center center;
    background-repeat: no-repeat, no-repeat;
    background-size: 150px auto, cover;
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 1.8rem 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .now-playing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
  }

  .album-art {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), #2c3e50);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
  }

  .album-art i {
    font-size: 3.5rem;
    color: var(--accent);
  }

  .track-info {
    flex: 1;
  }

  .track-info h2 {
    color: #ffffff !important;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
  }

  .track-info p {
    color: #ffffff !important;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .track-info .show-name {
    background: #fff3e0;
    color: #b85e00;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
  }

  /* ===== CONTROLES DE AUDIO ===== */
  .audio-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .buttons-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .play-btn {
    background: var(--accent);
    color: white;
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(243, 156, 18, 0.4);
    transition: var(--transition);
  }

  .play-btn .fa-spinner {
    font-size: 1.6rem;
  }

  .play-btn:hover {
    background: var(--accent-dark);
    transform: scale(1.05);
  }

  .play-btn:active {
    transform: scale(0.98);
  }

  .secondary-btn {
    background: white;
    border: 2px solid #e0e7ef;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.3rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
  }

  .secondary-btn:hover {
    background: #f0f4fa;
    border-color: var(--accent);
    color: var(--accent);
  }

  /* Barra de volumen */
  .volume-container {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }

  .volume-container i {
    color: #ffffff;
    font-size: 1.2rem;
    width: 24px;
  }

  .volume-slider {
    flex: 1;
    -webkit-appearance: none;
    height: 6px;
    background: #dbe2eb;
    border-radius: 10px;
    outline: none;
  }

  .volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
  }

  .volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
  }

  /* ===== SECCIÓN DE PROGRAMACIÓN ===== */
  .schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 0.5rem;
  }

  .schedule-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border-left: 6px solid var(--accent);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .schedule-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  }

  .schedule-time {
    font-weight: 700;
    color: var(--accent-dark);
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .schedule-item h3 {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
  }

  .schedule-item p {
    color: var(--gray);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .schedule-item .host {
    font-weight: 500;
    color: var(--primary);
    font-size: 0.95rem;
    margin-top: 4px;
  }

  /* ===== FOOTER ===== */
  .footer {
    text-align: center;
    padding: 1.8rem 1rem 1rem;
    color: var(--gray);
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 1rem;
  }

  .footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
    margin-bottom: 1rem;
  }

  .footer .social-icons a {
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition);
  }

  .footer .social-icons a:hover {
    color: var(--accent);
    transform: translateY(-3px);
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 700px) {
    body {
      padding: 0.75rem;
    }

    .logo-uab img {
      max-width: 70px;
      max-height: 60px;
    }

    .header {
      justify-content: center;
    }

    .logo {
      font-size: 1.3rem;
    }

    .logo i {
      font-size: 1.7rem;
    }

    .status-badge {
      font-size: 0.75rem;
      padding: 0.3rem 0.8rem;
    }

    .player-card {
      padding: 1.5rem 1.2rem;
    }

    .now-playing {
      flex-direction: column;
      text-align: center;
      gap: 1rem;
    }

    .track-info h2 {
      font-size: 1.5rem;
    }

    .track-info p {
      justify-content: center;
    }

    .album-art {
      width: 90px;
      height: 90px;
    }

    .album-art i {
      font-size: 3rem;
    }

    .buttons-row {
      gap: 1.2rem;
    }

    .play-btn {
      width: 60px;
      height: 60px;
      font-size: 1.8rem;
    }

    .secondary-btn {
      width: 45px;
      height: 45px;
      font-size: 1.1rem;
    }

    .schedule {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 380px) {
    .logo-uab img {
      max-width: 55px;
      max-height: 50px;
    }

    .header {
      flex-direction: column;
      align-items: flex-start;
      border-radius: 20px;
    }

    .status-badge {
      align-self: flex-start;
    }

    .buttons-row {
      gap: 0.8rem;
    }

    .play-btn {
      width: 55px;
      height: 55px;
      font-size: 1.6rem;
    }

    .secondary-btn {
      width: 40px;
      height: 40px;
      font-size: 1rem;
    }
  }

  /* Accesibilidad y enfoque */
  button:focus-visible,
  input:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
  }