:root {
    --primary: #ff7b7b;
    --primary-color: #833ab4;
    --secondary-color: #fd1d1d;
    --accent-color: #fcb045;
    --text-color: #333;
    --text-light: #666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(90deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);
    --gradient-light: linear-gradient(135deg, rgba(131,58,180,0.1) 0%, rgba(253,29,29,0.1) 50%, rgba(252,176,69,0.1) 100%);
    --border-radius: 15px;
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  }
  
  body {
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    padding: 0px;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .header {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
  }
  
  .header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
  }
  
  .partido-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 30px;
    transition: var(--transition);
  }
  
  .partido-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  
  .equipos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .equipo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
  }
  
  .equipo .logo {
    width: 100px;
    height: 100px;
    padding: 10px 10px 4px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    img {
        width: 100%; 
    }
  }
  
  .equipo .logo:hover {
    transform: scale(1.05);
  }
  
  .equipo .nombre {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-color);
  }
  
  .marcador {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
  }
  
  .marcador .resultado {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .marcador .estado {
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
  }
  
  .estado.programado {
    background-color: var(--light-gray);
    color: var(--text-color);
  }
  
  .estado.jugado {
    background: var(--gradient);
    color: white;
  }
  
  .estado.suspendido {
    background-color: #e74c3c;
    color: white;
  }
  
  .estado.postergado {
    background-color: #f39c12;
    color: white;
  }

  #competicion-info {
    margin-top: 20px;
  }
  
  .partido-detalles {
    margin-top: 50px;
  }

  .detalles-partido {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 30px;
    transition: var(--transition);
  }
  
  .detalles-partido:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  
  .detalles-grupo {
    margin-bottom: 25px;
  }
  
  .detalles-grupo:last-child {
    margin-bottom: 0;
  }
  
  .detalles-titulo {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
  }
  
  .detalles-titulo::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
  }
  
  .detalle-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
  }
  
  .detalle-item:not(:last-child) {
    border-bottom: 1px dashed var(--light-gray);
  }
  
  .eventos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 70%;
    margin-left: 15%;
    gap: 12px;
  }
  
  .evento {
    display: flex;
    align-items: center;
    flex-direction: row;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition);
    .evento-tipo {
      margin-right: 25px;
    }
  }
  .evento2 {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    text-align: right;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition);
    .evento-tipo {
          margin-left: 25px;
    }
  }
  
  .evento:hover {
    background-color: #eaeaea;
    transform: translateX(3px);
  }
  
  .evento-tiempo {
    width: 80px;
    font-weight: 700;
    color: var(--primary-color);
  }
  
  .evento-tipo {
    width: 30px;
    height: 30px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
  }
  
  .evento-gol {
    background: linear-gradient(90deg, #cc2e70 0%, #ae2dff 100%);
  }
  
  .evento-info {
    font-weight: 500;
  }
  
  .estadisticas-container {
    margin-top: 25px;
  }
  
  .estadistica {
    margin-bottom: 20px;
  }
  
  .estadistica-nombre {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
  }
  
  .estadistica-nombre span {
    font-weight: 600;
  }
  
  .barra-estadistica {
    display: flex;
    height: 10px;
    background-color: var(--light-gray);
    border-radius: 5px;
    overflow: hidden;
  }
  
  .barra-local {
    background: var(--primary);
    height: 100%;
    transition: width 1s ease-in-out;
  }
  
  .barra-visitante {
    background: var(--accent-color);
    height: 100%;
    transition: width 1s ease-in-out;
  }
  
  .incidentes {
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
    margin-top: 15px;
    border-left: 4px solid var(--primary-color);
  }
  
  .no-data {
    text-align: center;
    padding: 25px;
    color: var(--text-light);
    font-style: italic;
    background-color: var(--light-gray);
    border-radius: 10px;
  }
  
  .mvp-section {
    display: flex;
    align-items: center;
    background: var(--gradient-light);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
  }
  
  .mvp-badge {
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 700;
    margin-right: 20px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
  }
  
  .mvp-player {
    font-weight: 700;
    font-size: 1.1rem;
  }
  
  .destacados-section {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .destacado-badge {
    background-color: var(--light-gray);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
  }
  
  .destacado-badge:hover {
    background: var(--gradient-light);
    transform: translateY(-2px);
  }
  
  .transmision-badge {
    background: var(--gradient);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(253, 29, 29, 0.3);
    transition: var(--transition);
  }
  
  .transmision-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(253, 29, 29, 0.4);
  }
  
  .transmision-icon {
    font-size: 1.1rem;
  }
  
  @media (max-width: 768px) {
    .partido-info {
      flex-direction: column;
      padding: 20px;
    }
    
    .equipos {
      flex-direction: column;
      gap: 25px;
      margin-bottom: 25px;
    }
    
    .equipo {
      width: 100%;
    }
    
    .marcador {
      width: 100%;
      order: -1;
      margin-bottom: 25px;
    }
    
    .header h1 {
      font-size: 2rem;
    }
    
    .detalles-partido {
      padding: 20px;
    }
    
    .equipo .logo {
      width: 60px;
      height: 60px;
    }
    
    .equipo .nombre {
      font-size: 1.3rem;
    }
    
    .marcador .resultado {
      font-size: 2.2rem;
    }
  }
  
  @media (max-width: 480px) {
    .container {
      padding: 10px;
    }
    
    .header h1 {
      font-size: 1.8rem;
    }
    
    .mvp-section, 
    .evento {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .mvp-badge {
      margin-right: 0;
      margin-bottom: 10px;
    }
    
    .evento-tiempo,
    .evento-tipo {
      margin-bottom: 5px;
    }
  }

.links-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.5rem 0 1rem;
}

.link-item {
  padding: 1rem 1.5rem;
  font-size: 18px;
  color: black;
  display: flex;
  align-items: center;
  gap: 0.5rem;

  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: white;
  transition: transform 0.2s ease, background 0.3s ease;
  cursor: pointer;

  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.link-item:hover {
  transform: translateY(-4px);
}

.link-btn {
  text-decoration: none;
  font-weight: 500;
}

.link-btn:hover {
  text-decoration: underline;
}

.link-icon {
  font-size: 24px;
}

.youtube {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    padding: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.youtube iframe {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}