/* NUBE — responsive */

@media (max-width: 1099px) {
  #mensajes {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 900px) {
  header {
    padding: 0 20px;
    height: 76px;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .player-container {
    min-height: auto;
    padding: 16px 20px 32px;
  }

  .now-card {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .cover-wrap {
    justify-self: center;
  }

  .meta {
    text-align: center;
    padding-left: 0;
  }

  .meta::before {
    display: none;
  }

  .meta small {
    justify-content: center;
  }

  .meta small::after {
    display: none;
  }

  .hour-feature {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hour-feature__cover {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  main {
    padding-top: 84px;
  }

  .menu-btn {
    padding: 0;
    width: 40px;
    height: 40px;
    justify-content: center;
  }

  .menu-btn span {
    display: none;
  }

  .social a {
    width: 34px;
    height: 34px;
  }

  .brand-badge img {
    height: 36px;
  }

  .atmosphere-picker__grid {
    gap: 8px;
  }

  .atmosphere-chip {
    padding: 9px 12px;
    font-size: 0.72rem;
  }

  #volume-arc {
    display: none !important;
  }

  .player-ctrl {
    width: 60px;
    height: 60px;
  }

  .player-ctrl svg {
    width: 28px;
    height: 28px;
  }

  .section {
    margin-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
  }

  .footer-bottom .copyright {
    font-size: 0.58rem;
  }

  .rs-logo {
    height: 18px;
  }

  .song-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .modo-card {
    padding: 18px;
  }

  .vote-option {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  .menu-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* Mobile: reducir capas visuales */
@media (max-width: 768px) {
  .atmosphere__glow {
    opacity: 0.65;
  }

  html[data-theme="deep-blue"] .atmosphere__stars,
  html[data-theme="electric-calm"] .atmosphere__stars {
    opacity: 0.35;
  }
}


@media (max-width: 900px) {
  .hero-copy {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-badges {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .atmosphere::before {
    top: 120px;
    width: 110vw;
    height: 34vh;
    opacity: calc(var(--cloud-opacity, .72) * .72);
  }
  .atmosphere::after {
    height: 30vh;
    opacity: calc(var(--sea-opacity, .55) * .70);
  }
  .commercial-actions {
    flex-direction: column;
  }
  .commercial-actions .btn {
    justify-content: center;
  }
}
