/* ============================================ */
/* RESPONSIVE DESIGN                             */
/* ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .timeline-vertical {
      padding-left: 1rem;
    }
    
    .countdown-box {
      padding: 1.2rem 1.5rem;
      min-width: 100px;
    }
    
    .countdown-number {
      font-size: 2.8rem;
    }
  }
  
  /* Móvil */
  @media (max-width: 768px) {
    /* Navbar */
    .menu-toggle {
      display: block;
    }
    
    .nav-links {
      position: fixed;
      top: var(--navbar-height);
      left: -100%;
      width: 75%;
      height: calc(100vh - var(--navbar-height));
      background: rgba(255,255,255,0.98);
      flex-direction: column;
      align-items: center;
      padding: 2rem;
      transition: left 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
      z-index: 998;
      gap: 1.8rem;
      backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
      left: 0;
    }
    
    /* Secciones */
    section {
      padding: 3rem 1.2rem;
    }
    
    .section-title {
      font-size: 2rem;
    }
    
    /* Hero */
    .hero {
      height: 100svh;
      background-attachment: scroll;
    }
    
    .hero-content {
      padding: 1.5rem;
    }
    
    /* Timeline */
    .timeline-vertical {
      padding-left: 0.5rem;
    }
    
    .timeline-vertical::before {
      left: 20px;
    }
    
    .timeline-item-v {
      gap: 1rem;
    }
    
    .timeline-marker {
      width: 40px;
    }
    
    /* Game */
    .game-preview {
      flex-direction: column;
      padding: 1.5rem;
    }
    
    .game-mockup {
      min-height: 200px;
    }
    
    /* Reportaje */
    .reportaje-hero-img {
      height: 220px;
    }
    
    /* Countdown */
    .countdown-timer {
      gap: 1rem;
    }
    
    .countdown-box {
      padding: 1rem 1.2rem;
      min-width: 80px;
    }
    
    .countdown-number {
      font-size: 2.2rem;
    }
    
    .countdown-label {
      font-size: 0.7rem;
      letter-spacing: 1px;
    }
    
    /* Gallery */
    .gallery-grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1rem;
    }
    
    .gallery-item {
      height: 250px;
    }
    
    /* Social */
    .social-icons {
      gap: 2rem;
    }
    
    /* Modales */
    .modal-container {
      width: 95%;
      max-height: 90vh;
      border-radius: 24px;
    }
    
    .modal-body {
      padding: 1.5rem;
    }
  }
  
  /* Móvil pequeño */
  @media (max-width: 480px) {
    .hero-title {
      font-size: 2rem;
    }
    
    .hero-subtitle {
      font-size: 0.9rem;
    }
    
    .btn {
      padding: 0.7rem 1.5rem;
      font-size: 0.9rem;
    }
    
    .countdown-timer {
      flex-direction: column;
      align-items: center;
    }
    
    .countdown-box {
      width: 100%;
      max-width: 200px;
    }
    
    .credits-grid {
      gap: 1.5rem;
    }
    
    .credit-card {
      width: 100%;
      max-width: 280px;
    }
  }
  
  /* Ajustes para pantallas táctiles */
  @media (hover: none) {
    .timeline-card-v:hover,
    .game-preview:hover,
    .gallery-item:hover,
    .reportaje-destacado:hover {
      transform: none;
    }
    
    .btn:active {
      transform: scale(0.95);
    }
  }
  
  /* Alto contraste y accesibilidad */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
  
  /* Modo oscuro del sistema (opcional) */
  @media (prefers-color-scheme: dark) {
    /* Descomentar si quieres soporte para modo oscuro automático */
    /*
    :root {
      --color-background: #1a1a1a;
      --color-surface: #2d2d2d;
      --color-surface-alt: #252525;
      --color-text: #f0e9df;
      --color-text-light: #b0b0b0;
    }
    */
  }