/* MOBILE-FIRST APPROACH - Prioridad total a móvil */

/* Mejorar experiencia móvil por defecto */
@media (max-width: 768px) {
  /* Header más espacioso */
  nav {
    padding: 2rem 0;
    min-height: 88px;
  }
  
  /* Menú hamburguesa mejorado */
  .menu-toggle {
    display: flex !important;
  }
  
  /* Navegación más amigable */
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Menú móvil pegado al header */
  .mobile-menu {
    top: 80px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }
  
  .mobile-menu nav {
    padding: 1.5rem;
    gap: 1.2rem;
  }
  
  /* Botones más grandes y táctiles */
  .btn, .tab-btn, .tab-button, .filter-btn, .date-tab {
    min-height: 44px;
    font-size: 0.9rem;
    padding: 12px 16px;
    touch-action: manipulation;
  }
  
  /* Tabs responsivos centrados */
  .category-tabs {
    justify-content: center !important;
    align-items: center;
    gap: 0.8rem;
    padding: 0;
    width: 100%;
    text-align: center;
  }
  
  .tab-button {
    flex: 1;
    max-width: calc(50% - 0.4rem);
    margin: 4px 0;
    white-space: nowrap;
  }
  
  .tab-button:nth-child(3) {
    flex: 1;
    max-width: 100%;
    margin-top: 8px;
  }
  
  /* Botones de categoría específicos */
  .category-tabs .tab-button {
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .category-tabs .tab-button.active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 208, 132, 0.3);
  }
  
  /* Tipografía optimizada para móvil */
  h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  h3 { font-size: clamp(1.2rem, 4vw, 1.5rem); }
  
  /* Espaciado optimizado */
  .container {
    padding: 0 16px;
  }
  
  section {
    padding: 1.5rem 0;
  }
  
  /* Cards más espaciosos */
  .stat-card, .match-card, .date-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Match teams VERTICAL - 3 filas */
  .match-teams {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.8rem !important;
    text-align: center !important;
  }
  
  /* Fila 1: Logo-Nombre-Goles */
  .team.home {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0.8rem !important;
    background: rgba(255,255,255,0.05) !important;
    border-radius: 8px !important;
  }
  
  /* Fila 3: Goles-Nombre-Logo */
  .team.away {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0.8rem !important;
    background: rgba(255,255,255,0.05) !important;
    border-radius: 8px !important;
  }
  
  /* Mejor legibilidad */
  body {
    font-size: 16px;
    line-height: 1.6;
  }
  
  /* Interacciones táctiles mejoradas */
  .expandable-card .card-header {
    min-height: 50px;
    font-size: 1.1rem;
  }
  
  /* Scroll suave en tabs */
  .category-tabs, .filter-tabs, .date-tabs {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
}

/* Escritorio - Versión básica pero funcional */
@media (min-width: 769px) {
  /* Mantener funcionalidad básica */
  .stats-table table {
    display: table;
  }
  
  .mobile-friendly-cards {
    display: none;
  }
  
  /* Mensaje sutil para escritorio */
  .desktop-hint {
    background: rgba(0, 208, 132, 0.1);
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
  }
}