/* Estilos Generales */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0A0A0A;
    color: white;
}

/* Menú Flotante Minimalista */
.floating-menu {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    transition: width 0.4s cubic-bezier(0.4, 0.0, 0.2, 1), height 0.4s ease-in-out;
    text-align: center;
    cursor: pointer;
    width: 400px;
    height: 45px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Expansión elegante */
.floating-menu:hover {
    width: 600px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Animación del texto con efecto 3D */
.menu-text {
    font-size: 14px;
    font-weight: 400;
    transition: transform 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    text-align: center;
    white-space: nowrap; /* Evita saltos de línea */
}

/* Solución para el efecto visual de "TH-01" */
.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.1s ease-in-out;
    gap: 40px;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    visibility: hidden;
    transform: translateY(5px); /* Corrige el salto inicial */
}

/* Asegura que la animación sea estable */
.floating-menu:hover .menu-text {
    display: none;
}

.floating-menu:hover .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Evita el salto al aparecer */
}

/* Hover en los links - Círculo animado debajo */
.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 400;
    position: relative;
    padding: 5px 8px;
    transition: color 0.3s ease-in-out;
    white-space: nowrap; /* Evita que los textos largos se dividan */
}

.nav-links a::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    opacity: 0;
}

.nav-links a:hover {
    color: white;
    opacity: 0.9;
}

.nav-links a:hover::after {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}
/* Contenedor del texto con perspectiva 3D */
.menu-text {
    font-size: 14px;
    font-weight: 400;
    position: absolute;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 800px; /* Añade la profundidad 3D */
}

/* Estilo del span donde cambia el texto */
.menu-text span {
    display: inline-block;
    transform-origin: center;
    transition: transform 0.6s ease-in-out, opacity 0.3s ease-in-out;
}
/* Menú Flotante (Ahora sin cambios en el grosor al expandirse) */
.floating-menu {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    width: 400px; /* Tamaño base */
    height: 45px; /* Mantiene siempre el mismo grosor */
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out, width 0.4s ease-in-out;
}

/* Mostrar el menú después de hacer scroll */
.floating-menu.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Expansión ultra fluida sin cambios en el grosor */
.floating-menu:hover {
    width: 700px; /* Solo se alarga horizontalmente */
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}








/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Pantalla completa */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* Imagen de fondo */
.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Animación de entrada */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Contenido centrado */
.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1.2s ease-in-out;
    position: relative;
    z-index: 2;
}

/* Título */
.hero-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Slogan */
.hero-slogan {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.8;
    margin-bottom: 20px;
}

/* Botón */
.hero-button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid white;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

/* Hover del botón */
.hero-button:hover {
    background: white;
    color: black;
    transform: scale(1.05);
}









/* Sección de Historia con ajuste de imagen */
.history {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Se mantiene dentro de la vista */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinea el contenido a la izquierda */
    text-align: left;
    color: white;
    overflow: hidden;
    padding: 80px 10%;
}

/* Imagen de fondo corregida */
.history-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la imagen sin distorsión */
    z-index: -1;
    transform: none; /* Eliminamos el zoom innecesario */
}

/* Contenedor del texto */
.history-content {
    max-width: 600px;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5); /* Transparencia elegante */
    padding: 40px;
    border-radius: 12px;
    animation: fadeIn 1.2s ease-in-out;
    position: relative;
    z-index: 1; /* Asegura que esté sobre la imagen */
}

/* Asegurar que no haya espacios innecesarios */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Evita el desplazamiento horizontal */
}

/* Sección de Historia con efecto en palabras */
.history {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: white;
    overflow: hidden;
    padding: 80px 10%;
}

/* Imagen de fondo */
.history-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Contenedor del texto */
.history-content {
    max-width: 600px;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

/* Título */
.history-title {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Texto con palabras progresivas */
.history-text span {
    opacity: 0.3; /* Opacidad inicial gris */
    transition: opacity 0.5s ease-in-out;
}

/* Clase que se aplicará en JS */
.history-text span.visible {
    opacity: 1;
}
/* Contenedor general con disposición en filas */
.history-container {
    display: flex;
    gap: 50px; /* Espacio entre los bloques */
    align-items: center; /* Centra verticalmente los bloques */
    padding: 80px 10%;
}

/* Ajuste del bloque de historia (a la izquierda) */
.history {
    flex: 1.2;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: white;
    overflow: hidden;
}

/* Contenedor del texto */
.history-content {
    max-width: 600px;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

/* Sección de información del GP en la derecha */
.gp-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* Alinea al centro verticalmente */
    gap: 20px;
    justify-content: center; /* Mantiene los bloques centrados en la derecha */
}

/* Estilo de cada tarjeta */
.gp-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    color: white;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    width: 300px; /* Todas las tarjetas tienen el mismo ancho */
}

/* Efecto hover */
.gp-card:hover {
    transform: translateY(-5px);
}

/* Títulos */
.gp-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Tarjeta de clasificaciones */
.standings .driver {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Tarjeta del Gran Premio */
.grand-prix {
    background: url('img/base.png') no-repeat center center/cover;
    padding: 40px 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

/* Cuenta regresiva */
.next-session .countdown {
    font-size: 18px;
    display: flex;
    justify-content: center;
    gap: 15px;
}












/* Sección General */
.th01 {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    color: white;
    padding: 0 5%;
    overflow: hidden;
    background: #121212;
}

/* Imagen del Monoplaza */
.th-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1400px;
    z-index: 0;
    opacity: 0.9;
}

.th-bg img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contenedor de Información */
.th-overlay {
    position: absolute;
    width: 100%;
    max-width: 1300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

/* Título */
.th-title {
    font-size: 64px;
    font-weight: 600;
    text-transform: uppercase;
    border-left: 6px solid #00A8FF;
    padding-left: 15px;
    margin-bottom: 30px;
    align-self: flex-start;
}

/* Contenedor de los Bloques de Información */
.th-info-container {
    position: absolute;
    bottom: -100%; /* Ubicado debajo del auto */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
}

/* Bloques de información */
.th-info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease-in-out;
    width: 250px;
    height: 0px;
}

/* Títulos de Información */
.info-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* Datos */
.info-data {
    font-size: 24px;
    font-weight: 500;
    color: white;
}

/* Animaciones */
.th-info-block:hover {
    transform: translateY(-5px);
    border-color: #00A8FF;
}

/* Ajustes para pantallas más pequeñas */
@media (max-width: 1024px) {
    .th-bg {
        width: 90%;
    }

    .th-info-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        position: static;
        transform: none;
    }

    .th-info-block {
        position: static;
        align-items: center;
        text-align: center;
        transform: none;
        border-top: none;
    }
}







.sponsors-section {
    padding: 80px 40px;
    background-color: #0a0a0a;
    text-align: center;
  }
  
  .sponsors-title {
    font-size: 24px;
    color: white;
    margin-bottom: 40px;
    letter-spacing: 1px;
    font-weight: 600;
  }
  
  .sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    align-items: center;
    justify-content: center;
  }
  
  .sponsors-grid img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%) brightness(1.2);
    transition: filter 0.3s ease;
  }
  
  .sponsors-grid img:hover {
    filter: none;
  }










/* Sección de Pilotos */
.pilots-section {
    width: 100%;
    padding: 80px 0;
    background: #0A0A0A;
    text-align: center;
}

/* Contenedor de Pilotos */
.pilots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjeta del Piloto */
.pilot-card {
    width: 280px;
    position: relative;
    text-align: center;
    color: white;
}

/* Imagen del piloto sin marco */
.pilot-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Línea debajo del piloto */
.pilot-line {
    width: 100px;
    height: 3px;
    background: #00A8FF;
    margin: 10px auto;
    transition: width 0.3s ease-in-out;
}

/* Información del Piloto */
.pilot-info {
    text-align: center;
    padding: 10px;
}

/* Nombre del piloto */
.pilot-name {
    font-size: 22px;
    font-weight: bold;
}

/* Número del Piloto */
.pilot-number {
    font-size: 18px;
    color: #FFD700;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Estadísticas */
.pilot-stats {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Efecto Hover */
.pilot-card:hover .pilot-line {
    width: 150px;
}
















.team-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.75);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
  }
  
  .modal-content {
    background: #111;
    color: #fff;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    animation: fadeIn 0.4s ease;
  }
  
  .modal-img img {
    width: 160px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
  }
  
  .modal-name {
    font-size: 24px;
    font-weight: 700;
    color: #00A8FF;
  }
  
  .modal-role {
    font-size: 16px;
    opacity: 0.7;
    margin-bottom: 15px;
  }
  
  .modal-bio {
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.6;
  }
  
  .modal-quote {
    font-style: italic;
    color: #ccc;
    border-left: 3px solid #00A8FF;
    padding-left: 12px;
  }
  
  .close-modal {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    opacity: 0.7;
    transition: 0.3s;
  }
  
  .close-modal:hover {
    opacity: 1;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }
  


















  .merch-section {
    background: #0f0f0f;
    padding: 100px 60px;
    color: white;
    text-align: center;
    font-family: 'Poppins', sans-serif;
  }
  
  .merch-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #00A8FF;
    margin-bottom: 10px;
  }
  
  .merch-header p {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 60px;
  }
  
  .merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    justify-content: center;
    align-items: stretch;
  }
  
  .merch-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
  }
  
  .merch-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,168,255,0.3);
  }
  
  .merch-item img {
    width: 100%;
    max-height: 160px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(0,168,255,0.2));
  }
  
  .merch-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
  }
  
  .merch-item span {
    font-size: 16px;
    color: #00A8FF;
    font-weight: 500;
  }
  

















  .merch-section {
    background: #0f0f0f;
    padding: 100px 60px;
    color: white;
    text-align: center;
    font-family: 'Poppins', sans-serif;
  }
  
  .merch-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #00A8FF;
    margin-bottom: 10px;
  }
  
  .merch-header p {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 60px;
  }
  
  .merch-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .merch-item {
    width: 180px;
    height: 300px;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .merch-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,168,255,0.3);
  }
  
  .merch-item img {
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0,168,255,0.2));
  }
  
  /* Modal */
  .merch-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
  }
  
  .modal-content {
    background: #111;
    color: white;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease;
  }
  
  .modal-content img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 20px;
  }
  
  .modal-content h3 {
    color: #00A8FF;
    margin-bottom: 10px;
  }
  
  .modal-content p {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 12px;
  }
  
  .modal-content span {
    font-weight: bold;
    color: #00A8FF;
    font-size: 16px;
  }
  
  .close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 26px;
    color: white;
    cursor: pointer;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
  }
  















  .pilots-section {
    background: radial-gradient(circle, #0f0f0f, #0a0a0a);
    padding: 80px 60px;
    color: white;
    font-family: 'Poppins', sans-serif;
  }
  
  .section-header {
    text-align: left;
    margin-bottom: 50px;
    padding-left: 60px;
  }
  
  .pilots-heading {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
  }
  
  .pilots-showcase {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
  }
  
  .pilot-card {
    position: relative;
    text-align: center;
    color: white;
    width: 420px;
    padding: 40px 30px;
    background-color: rgba(255,255,255,0.04);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: fadeUp 1.2s ease forwards;
    opacity: 0;
    transition: transform 0.4s ease;
  }
  
  .pilot-card:hover {
    transform: translateY(-10px);
  }
  
  @keyframes fadeUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  .pilot-img img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(0,168,255,0.5));
    animation: floatImage 3s ease-in-out infinite;
  }
  
  
  .pilot-info {
    margin-top: 25px;
    border-top: 2px solid #00A8FF;
    padding-top: 20px;
  }
  
  .pilot-name {
    font-size: 24px;
    font-weight: bold;
  }
  
  .pilot-number {
    font-size: 18px;
    color: #00A8FF;
    font-weight: bold;
    margin: 6px 0;
  }
  
  .pilot-flag {
    font-size: 16px;
    opacity: 0.7;
    margin-bottom: 12px;
  }
  
  .pilot-quote {
    font-style: italic;
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 12px;
    color: #bbb;
  }
  
  .pilot-bio {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.85;
    margin-bottom: 16px;
  }
  
  .pilot-stats p {
    font-size: 14px;
    margin: 5px 0;
    opacity: 0.9;
  }
  
  .pilot-profile-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: #00A8FF;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .pilot-profile-link:hover {
    color: #ffffff;
    text-decoration: underline;
  }
  .pilot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,168,255,0.3);
    transition: transform 0.4s, box-shadow 0.4s;
    animation: fadeUp 1.2s ease forwards;
  }
  @keyframes fadeUp {
    0% { transform: translateY(50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
  }















  .interactive-team-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0a0a0a;
    padding: 80px 60px;
    color: white;
    font-family: 'Poppins', sans-serif;
    gap: 60px;
    flex-wrap: wrap;
  }

  .team-left {
    flex: 1;
    max-width: 500px;
  }

  .team-left h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #00A8FF;
  }

  .team-left p {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.6;
  }

  .team-right {
    flex: 1;
    position: relative;
    max-width: 500px;
  }

  .team-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
  }

  .team-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateX(50px);
    display: none;
    text-align: center;
  }

  .team-card.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
  }

  .team-card img {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 15px;
  }

  .team-info {
    border-top: 2px solid #00A8FF;
    padding-top: 15px;
  }

  .team-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
  }

  .team-role {
    font-size: 14px;
    color: #00A8FF;
    opacity: 0.9;
  }

  .team-controls {
    margin-top: 20px;
    text-align: center;
  }

  .team-controls button {
    background: none;
    border: 1px solid #00A8FF;
    color: #00A8FF;
    padding: 8px 16px;
    margin: 0 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .team-controls button:hover {
    background: #00A8FF;
    color: #0a0a0a;
  }











  .learn-telion-section {
    background: #0A0A0A;
    color: white;
    font-family: 'Poppins', sans-serif;
    padding: 80px 0px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .learn-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;

  }
  
  .learn-slide {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s ease;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
  }
  
  .learn-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
  }
  
  .learn-slide img {
    width: 100%;
    border-radius: 20px;
    display: block;
  }
  
  .learn-content {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  }
  
  .learn-content h2 {
    font-size: 64px;
    font-weight: 800;
    margin: 0;
  }
  
  .secondary-line {
    font-size: 64px;
    font-weight: 800;
    margin-top: 10px;
  }
  
  .learn-btn {
    margin-top: 30px;
    background: #0a0a0a;
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .learn-btn:hover {
    background: #00A8FF;
  }
  
  .learn-prev,
  .learn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s;
  }
  
  .learn-prev:hover,
  .learn-next:hover {
    background: rgba(255, 255, 255, 0.25);
  }
  
  .learn-prev {
    left: -60px;
  }
  
  .learn-next {
    right: -60px;
  }
  
  @media (max-width: 768px) {
    .learn-content h2,
    .secondary-line {
      font-size: 36px;
    }
    .learn-btn {
      padding: 10px 20px;
    }
  
    .learn-prev {
      left: 10px;
    }
  
    .learn-next {
      right: 10px;
    }
  }
  .learn-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    height: 500px; /* Hace match con el slide */
  }
  










  .footer {
    background: #0A0A0A;
    color: #fff;
    padding: 60px 40px 30px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
  }
  
  .footer-top {
    padding: 20px;
    font-size: 14px;
    opacity: 0.6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;  }
  
  .footer-title {
    font-size: 28px;
    font-weight: 700;
    color: #00A8FF;
  }
  
  .footer-slogan {
    font-size: 16px;
    opacity: 0.7;
  }
  
  .footer-columns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 30px;
  }
  
  .footer-column h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #00A8FF;
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-column ul li {
    margin: 8px 0;
  }
  
  .footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-column ul li a:hover {
    color: #fff;
  }
  
  .footer-bottom {
    font-size: 14px;
    opacity: 0.6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
  }
  













  /* Teléfonos pequeños (hasta 480px) */
@media (max-width: 480px) {
    .floating-menu {
      width: 90%;
      height: 42px;
    }
  
    .hero-title {
      font-size: 28px;
    }
  
    .hero-slogan {
      font-size: 14px;
    }
  
    .hero-button {
      padding: 10px 20px;
      font-size: 14px;
    }

  
    .th-title {
      font-size: 32px;
    }
  
    .th-info-container {
      flex-direction: column;
      gap: 30px;
    }
  
    .pilot-card {
      width: 90%;
      padding: 20px;
    }
  
    .interactive-team-section {
      flex-direction: column;
      padding: 60px 20px;
    }
  
    .team-left, .team-right {
      max-width: 100%;
    }
  
    .merch-item {
      width: 90%;
      height: auto;
    }
  
    .learn-container {
      padding: 0 20px;
    }
  
    .learn-content h2,
    .secondary-line {
      font-size: 32px;
    }
  
    .footer-columns {
      flex-direction: column;
      gap: 30px;
    }
  
    .footer-column {
      width: 100%;
    }
  }
  
  /* Tablets / iPads (hasta 1024px) */
  @media (max-width: 1024px) {
    .hero-title {
      font-size: 36px;
    }
  
    .hero-slogan {
      font-size: 16px;
    }
  
    .floating-menu {
      width: 80%;
    }
  
    .th-info-container {
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
  
    .th-info-block {
      width: 80%;
      height: auto;
    }
  
    .gp-info {
      flex-direction: column;
      align-items: center;
    }
  
    .pilots-container {
      flex-direction: column;
      gap: 40px;
    }
  
    .learn-prev,
    .learn-next {
      top: 90%;
      transform: translateY(-50%);
    }
  
    .footer-columns {
      flex-direction: column;
    }
  
    .team-slider {
      height: auto;
    }
  }
  @media screen and (max-width: 768px) {
    .history {
      display: flex;
      flex-direction: column;
      position: relative;
      padding: 40px 20px;
      background-color: black;
      overflow: hidden;
    }
  
    .history video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      min-height: 100%;
      object-fit: cover;
      z-index: 0;
      opacity: 0.2;
    }
  
    .history-content {
      z-index: 1;
      position: relative;
      background-color: rgba(0, 0, 0, 0.7);
      border-radius: 16px;
      padding: 30px 20px;
      backdrop-filter: blur(4px);
    }
  
    .history-title {
      font-size: 24px;
      text-align: center;
      color: #00A8FF;
      margin-bottom: 16px;
    }
  
    .history-text {
      font-size: 15px;
      line-height: 1.6;
      margin-bottom: 16px;
      color: #fff;
      text-align: left;
    }
   
    
  }
  
  /* Ocultar por defecto el burger */
.mobile-burger-menu {
    display: none;
  }
  
  /* Mostrar solo en pantallas pequeñas */
  @media (max-width: 768px) {
    .floating-menu {
      display: none;
    }
  
    .mobile-burger-menu {
      display: block;
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 999;
      font-family: 'Poppins', sans-serif;
    }
  
    .burger-icon {
      background: rgba(0, 0, 0, 0.75);
      color: #fff;
      padding: 10px 16px;
      border-radius: 12px;
      font-size: 22px;
      cursor: pointer;
      box-shadow: 0 0 12px rgba(0, 168, 255, 0.3);
    }
  
    .burger-links {
      display: none;
      flex-direction: column;
      margin-top: 12px;
      background: rgba(0, 0, 0, 0.9);
      backdrop-filter: blur(6px);
      border-radius: 12px;
      padding: 12px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    }
  
    .burger-links.active {
      display: flex;
      animation: fadeInBurger 0.3s ease;
    }
  
    .burger-links li {
      margin: 8px 0;
    }
  
    .burger-links li a {
      color: #fff;
      text-decoration: none;
      font-weight: 500;
      font-size: 16px;
    }
  
    @keyframes fadeInBurger {
      from { opacity: 0; transform: translateY(-8px); }
      to { opacity: 1; transform: translateY(0); }
    }
  }
  
  .burger-links {
    list-style: none; /* ✅ Quitar puntitos */
    display: none;
    flex-direction: column;
    margin-top: 12px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  }
  
  .burger-links li {
    margin: 8px 0;
  }
  
  .burger-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: color 0.3s;
  }
  
  /* ✅ Hover refinado */
  .burger-links li a:hover {
    color: #00A8FF;
  }
  
  .burger-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #00A8FF;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }
  
  .burger-links li a:hover::after {
    transform: scaleX(1);
  }
  /* Animación personalizada */
@keyframes fadeSlideDown {
    0% {
      opacity: 0;
      transform: translateY(-10px) scale(0.98);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  /* Aplicar animación al desplegar */
  .burger-links.active {
    display: flex;
    animation: fadeSlideDown 0.3s ease forwards;
  }
  .hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }
  
  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  
  .hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 20px;
    backdrop-filter: blur(6px);
  }
  
  .hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #00A8FF;
  }
  
  .hero-slogan {
    font-size: 20px;
    opacity: 0.85;
    margin-bottom: 20px;
  }
  
  .hero-button {
    padding: 12px 28px;
    font-size: 16px;
    background-color: #00A8FF;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s;
  }
  
  .hero-button:hover {
    background-color: #fff;
    color: #00A8FF;
  }
  .hero-overlay.right-align {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 16px;
    max-width: 480px;
    z-index: 2;
    animation: fadeRight 1s ease-out;
  }
  
  .hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    color: #00A8FF;
    margin-bottom: 10px;
    text-transform: uppercase;
  }
  
  .hero-slogan {
    font-size: 20px;
    color: #fff;
    opacity: 0.85;
    margin-bottom: 20px;
  }
  
  .hero-button {
    padding: 12px 24px;
    background: #00A8FF;
    color: black;
    border-radius: 40px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .hero-button:hover {
    background: white;
    color: #00A8FF;
  }
  
  @keyframes fadeRight {
    from {
      opacity: 0;
      transform: translateX(30px) translateY(-50%);
    }
    to {
      opacity: 1;
      transform: translateX(0) translateY(-50%);
    }
  }
  .gp-card.grand-prix {
    background-image: url(/tizi/img/telion-horizon/telion-horizon.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 12px;
    height: 150px; /* Ajustá esto según el diseño */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
  }
  
  .gp-card.grand-prix:hover {
    transform: scale(1.02);
  }
  .pilots-section-carousel {
    background: #000;
    padding: 60px 20px;
    position: relative;
    text-align: center;
    color: white;
  }
  
  .carousel-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 20px 0;
  }
  
  .pilots-carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    gap: 40px;
  }
  
  .pilot-card {
    min-width: 300px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    flex-shrink: 0;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  }
  
  .pilot-img img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0,168,255,0.3));
  }
  
  .pilot-info {
    margin-top: 20px;
  }
  
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.05);
    border: none;
    color: #00A8FF;
    font-size: 28px;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 2;
  }
  
  .carousel-btn:hover {
    background: rgba(255,255,255,0.15);
  }
  
  .prev-btn {
    left: 10px;
  }
  
  .next-btn {
    right: 10px;
  }
  /* 🔄 Mobile (Carrusel activado) */
.pilots-carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  gap: 40px;
  will-change: transform;
}

.pilot-card {
  min-width: 300px;
  flex-shrink: 0;
  margin: 0 auto;
}

/* 🖥️ Desktop: mostrar todo sin carrusel */
@media (min-width: 992px) {
  .carousel-wrapper {
    overflow: visible;
  }

  .pilots-carousel-track {
    transform: none !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
  }

  .pilot-card {
    flex: 1 1 400px;
    min-width: 0;
    max-width: 30%;
  }

  .carousel-btn {
    display: none;
  }
}
.pilot-detail-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(6px);
  animation: fadeInDetail 0.3s ease forwards;
}

@keyframes fadeInDetail {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.pilot-detail-content {
  max-width: 800px;
  background: #111;
  color: white;
  padding: 40px;
  border-radius: 20px;
  position: relative;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.close-detail {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
}
.merch-section {
  background: #000;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.merch-header h2 {
  font-size: 36px;
  color: #00A8FF;
}

.merch-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.merch-item {
  width: 220px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.merch-item:hover {
  transform: scale(1.05);
}

/* Modal */
.merch-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #111;
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  animation: fadeIn 0.3s ease;
  color: white;
  position: relative;
}

.modal-content img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  margin-bottom: 20px;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
html {
  scroll-behavior: smooth;
}
#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 1000;
  background-color: #00A8FF;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

#scrollToTop:hover {
  background-color: #0088cc;
  transform: scale(1.1);
}

/* Mostrar en scroll */
#scrollToTop.show {
  opacity: 1;
  pointer-events: auto;
}













@media screen and (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    height: 100vh;
    position: relative;
  }

  .hero-section video {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
  }

  .hero-text {
    z-index: 2;
    background: rgba(0, 0, 0, 0.5); /* para mejor contraste en el texto */
    border-radius: 12px;
    padding: 20px;
    max-width: 90%;
    margin-bottom: 40px;
  }

  .hero-text h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-text p {
    font-size: 15px;
    margin: 10px 0 20px;
  }

  .hero-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}


@media screen and (max-width: 768px) {
  .history {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 40px 20px;
    background-color: black;
    overflow: hidden;
    display: none;
  }

  .history video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.2;
  }

  .history-content {
    z-index: 1;
    position: relative;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 16px;
    padding: 30px 20px;
    backdrop-filter: blur(4px);
  }

  .history-title {
    font-size: 24px;
    text-align: center;
    color: #00A8FF;
    margin-bottom: 16px;
  }

  .history-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #fff;
    text-align: left;
  }
}
@media screen and (max-width: 768px) {
  .th01 {
    position: relative;
    padding: 40px 20px;
    background: black;
    overflow: hidden;
    text-align: center;
  }

  .th-bg img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .th-overlay {
    position: relative;
    z-index: 2;
    margin-top: 20px;
  }

  .th-title {
    font-size: 28px;
    color: #00A8FF;
    margin-bottom: 30px;
  }

  .th-info-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
  }

  .th-info-block {
    width: 80%;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
  }

  .info-title {
    font-size: 16px;
    font-weight: bold;
    color: #ccc;
    margin-bottom: 6px;
  }

  .info-data {
    font-size: 18px;
    font-weight: 600;
    color: white;
  }
}
@media screen and (max-width: 768px) {
  .th-info-container {
    display: none; /* ocultamos la versión normal en mobile */
  }

  .th-info-carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
    padding: 20px 10px;
    margin-top: 20px;
    -webkit-overflow-scrolling: touch;
  }

  .th-info-carousel::-webkit-scrollbar {
    display: none;
  }

  .th-info-block {
    flex: 0 0 80%;
    scroll-snap-align: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .info-title {
    font-size: 16px;
    font-weight: bold;
    color: #ccc;
    margin-bottom: 6px;
  }

  .info-data {
    font-size: 18px;
    font-weight: 600;
    color: white;
  }
}
/* Ocultamos esta sección en desktop */
.th01-mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  /* Ocultamos la original para mobile */
  .th01 {
    display: none;
  }

  /* Mostramos la nueva mobile */
  .th01-mobile {
    display: block;
    background: black;
    padding: 40px 20px;
    text-align: center;
  }

  .th01-mobile .th-bg img {
    width: 100%;
    height: auto;
    object-fit: contain;
    padding-top: 5000px;
  }

  .th-title {
    font-size: 28px;
    color: #00A8FF;
    margin: 30px 0 20px;
  }

  .th-info-carousel {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
  }

  .th-info-carousel::-webkit-scrollbar {
    display: none;
  }

  .th-info-block {
    flex: 0 0 80%;
    scroll-snap-align: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
  }

  .info-title {
    font-size: 15px;
    font-weight: bold;
    color: #ccc;
    margin-bottom: 6px;
  }

  .info-data {
    font-size: 18px;
    font-weight: 600;
    color: white;
  }
}
@media screen and (max-width: 768px) {
  .th01-mobile .th-bg {
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }

  .th01-mobile .th-bg img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 250px;
  }
}
@media screen and (max-width: 768px) {
  .interactive-team-section {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }

  .team-left {
    text-align: center;
    max-width:  100%;
  }

  .team-left h2 {
    font-size: 26px;
    color: #00A8FF;
    margin-bottom: 10px;
  }

  .team-left p {
    font-size: 15px;
    color: #ccc;
  }

  .team-right {
    width: 100%;
    position: relative;
  }

  .team-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 200px 0;
    -webkit-overflow-scrolling: touch;
  }

  .team-slider::-webkit-scrollbar {
    display: none;
  }

  .team-card {
    flex: 0 0 80%;
    scroll-snap-align: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
  }

  .team-card img {
    width: 100%;
    max-width: 180px;
    margin: 0 auto 15px;
    border-radius: 12px;
  }

  .team-info .team-name {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
  }

  .team-info .team-role {
    font-size: 14px;
    color: #00A8FF;
    opacity: 0.9;
  }

}
@media screen and (max-width: 768px) {
  .learn-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 20px 10px;
  }

  .learn-slide {
    flex: 0 0 90%;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    background-color: #111;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    position: relative;
  }

  .learn-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
  }

  .learn-content {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    text-align: center;
    color: white;
  }

  .learn-content h2 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #00A8FF;
  }

  .secondary-line {
    font-size: 16px;
    margin-bottom: 12px;
    opacity: 0.8;
  }

  .learn-btn {
    background: #00A8FF;
    color: black;
    border: none;
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 40px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-block;
    margin-top: 10px;
  }

  .learn-btn:hover {
    background: #0084cc;
  }

  .learn-controls {
    display: none; /* ocultamos los botones ← → en mobile */
  }
}
.gp-info {
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 40px 20px;
  text-align: center;
}

.gp-card {
  width: 100%;
  max-width: 90%;
}

.driver {
  flex-direction: row;
  justify-content: space-between;
  font-size: 14px;
}

.countdown {
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}

.time {
  font-size: 18px;
}
.site-footer {
  text-align: center;
  padding: 20px 10px;
  background: #000;
  color: #777;
  font-size: 13px;
}

.site-footer .credit {
  font-style: italic;
  opacity: 0.5;
  font-size: 12px;
}

.site-footer .credit a {
  color: #00A8FF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer .credit a:hover {
  color: #fff;
}
#preloader {
  position: fixed;
  z-index: 9999;
  background: black;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.preloader-logo {
  font-size: 48px;
  font-weight: 800;
  color: #00A8FF;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.preloader-spinner {
  width: 32px;
  height: 32px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #00A8FF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.preloader-logo span {
  opacity: 0;
  transform: translateY(10px);
  display: inline-block;
  animation: fadeUp 0.6s ease forwards;
}

.preloader-logo span:nth-child(1) { animation-delay: 0.2s; }
.preloader-logo span:nth-child(2) { animation-delay: 0.4s; }
.preloader-logo span:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0%, 100% { text-shadow: 0 0 5px #00A8FF, 0 0 20px #00A8FF; }
  50% { text-shadow: 0 0 12px #00A8FF, 0 0 30px #00A8FF; }
}
