/* ========================================
   UKV Radio — Responsive
   ======================================== */

/* Tablet */
@media (max-width: 900px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }

  .hero-banner {
    display: none !important;
  }

  .hero-player-layout {
    gap: 0 !important;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --space-lg: 1rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
    --space-4xl: 3.5rem;
  }

  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl); }

  .header-weather {
    display: flex;
  }

  .hw-tooltip {
    display: none !important;
  }

  .header-inner {
    overflow: visible;
  }

  /* Nav mobile */
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-lg);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-base), opacity var(--transition-base);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav a {
    font-size: var(--text-base);
    padding: var(--space-sm) 0;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero — плеер на весь экран */
  .hero {
    height: calc(100vh - 70px) !important;
    min-height: calc(100vh - 70px) !important;
    padding-top: 10vh;
    padding-bottom: 0;
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
  }

  .hero-subtitle {
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
  }

  .hero-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .hero-badges {
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  /* Hide banners on mobile */
  .hero-banner {
    display: none !important;
  }

  .hero-player-layout {
    gap: 0 !important;
    width: 100%;
  }

  /* Player */
  .player {
    padding: var(--space-sm) var(--space-md);
    width: 100%;
    max-width: 320px;
  }

  .player-visualizer {
    max-height: 100px;
  }

  .player-controls {
    gap: var(--space-md);
  }

  .play-btn {
    width: 48px;
    height: 48px;
  }

  /* Grid */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .features-section {
    padding-top: var(--space-lg);
  }

  /* Убираем neon-line между hero и features */
  .neon-line {
    display: none !important;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  /* Cards */
  .card {
    padding: var(--space-lg);
  }

  /* Schedule table */
  .schedule-table {
    font-size: var(--text-xs);
  }

  .schedule-table th,
  .schedule-table td {
    padding: var(--space-sm);
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .header-inner {
    height: 60px;
  }

  .main {
    padding-top: 60px;
  }

  .logo {
    font-size: var(--text-base);
  }

  .player-visualizer .logo-display {
    font-size: var(--text-2xl);
  }
}
