/* ============================================
   IAME SERIES ARGENTINA - ESTILOS
   Colores: #0054a6 (Azul IAME), #ff0000 (Rojo IAME)
   ============================================ */

:root {
    --iame-blue: #0054a6;
    --iame-red: #ff0000;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f5f5f5;
    --gray-medium: #666666;
    --gray-dark: #333333;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVEGACIÓN
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--iame-blue) 0%, #003d7a 100%);
    box-shadow: 0 2px 10px var(--shadow-dark);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 5px 0;
    box-shadow: 0 4px 20px var(--shadow-dark);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo img {
    height: 140px;
    width: auto;
}

.logo-text {
    font-family: 'Bebas Neue', cursive;
    font-size: 28px;
    color: var(--white);
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    line-height: 0.9;
}

.logo-argentina {
    color: var(--iame-red);
    font-size: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--iame-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-dark) 100%);
    background-image: url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 84, 166, 0.85) 0%, 
        rgba(255, 0, 0, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-logo {
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease;
}

.hero-logo img {
    max-width: 600px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.hero-logo img:hover {
    transform: scale(1.05);
}

.hero-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 90px;
    line-height: 0.9;
    margin-bottom: 20px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 5px;
    display: flex;
    flex-direction: column;
}

.hero-iame {
    color: var(--white);
}

.hero-argentina {
    color: var(--iame-red);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: var(--iame-red);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.btn-primary:hover {
    background: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--iame-blue);
}

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */

section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 48px;
    color: var(--iame-blue);
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray-medium);
    margin-bottom: 50px;
}

/* ============================================
   SOBRE NOSOTROS
   ============================================ */

.sobre-nosotros {
    background: var(--white);
}

.sobre-grid {
    display: grid;
    gap: 40px;
}

.sobre-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.sobre-item {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 5px solid var(--iame-blue);
}

.sobre-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-left-color: var(--iame-red);
}

.sobre-icon {
    font-size: 48px;
    color: var(--iame-blue);
    margin-bottom: 20px;
}

.sobre-item h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 28px;
    color: var(--gray-dark);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.sobre-item p {
    color: var(--gray-medium);
    line-height: 1.8;
}

/* ============================================
   VALORES
   ============================================ */

.valores {
    background: linear-gradient(135deg, var(--iame-blue) 0%, #003d7a 100%);
    color: var(--white);
}

.valores .section-title {
    color: var(--white);
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.valor-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.valor-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--iame-red);
    transform: translateY(-5px);
}

.valor-icon {
    font-size: 48px;
    color: var(--iame-red);
    margin-bottom: 20px;
}

.valor-card h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.valor-card p {
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   CATEGORÍAS
   ============================================ */

.categorias {
    background: var(--gray-light);
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.categoria-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
    border-top: 5px solid var(--iame-blue);
}

.categoria-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-dark);
    border-top-color: var(--iame-red);
}

.categoria-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.categoria-header i {
    font-size: 32px;
    color: var(--iame-red);
}

.categoria-header h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 28px;
    color: var(--gray-dark);
    letter-spacing: 1px;
}

.categoria-card p {
    color: var(--gray-medium);
    line-height: 1.8;
}

/* ============================================
   FORMATO
   ============================================ */

.formato {
    background: var(--white);
}

.formato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.formato-item {
    text-align: center;
    padding: 30px;
    position: relative;
}

.formato-number {
    font-family: 'Bebas Neue', cursive;
    font-size: 72px;
    color: var(--iame-red);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 10px;
}

.formato-item h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    color: var(--iame-blue);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.formato-item p {
    color: var(--gray-medium);
}

/* ============================================
   CALENDARIO
   ============================================ */

.calendario {
    background: var(--gray-light);
}

.calendario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.fecha-card {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
    border-left: 5px solid var(--iame-blue);
    position: relative;
    overflow: hidden;
}

.fecha-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--iame-blue) 0%, var(--iame-red) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.fecha-card:hover::before {
    transform: scaleX(1);
}

.fecha-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-dark);
    border-left-color: var(--iame-red);
}

.fecha-destacada {
    background: linear-gradient(135deg, var(--iame-blue) 0%, #003d7a 100%);
    color: var(--white);
    border-left-color: var(--iame-red);
}

.fecha-destacada .fecha-number {
    color: var(--iame-red);
}

.fecha-destacada .fecha-info h3,
.fecha-destacada .fecha-ubicacion,
.fecha-destacada .fecha-date {
    color: var(--white);
}

.fecha-destacada .fecha-ubicacion i,
.fecha-destacada .fecha-date i {
    color: var(--iame-red);
}

.fecha-number {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    color: var(--iame-blue);
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: bold;
}

.fecha-info h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 22px;
    color: var(--gray-dark);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.fecha-ubicacion,
.fecha-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-medium);
    font-size: 14px;
    margin-bottom: 8px;
}

.fecha-ubicacion i,
.fecha-date i {
    color: var(--iame-red);
    font-size: 16px;
}

.calendario-notice {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
}

.calendario-notice i {
    font-size: 64px;
    color: var(--iame-blue);
    margin-bottom: 20px;
}

.calendario-notice p {
    font-size: 18px;
    color: var(--gray-medium);
    margin-bottom: 30px;
}

/* ============================================
   REGLAMENTOS
   ============================================ */

.reglamentos {
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
    padding: 80px 0;
}

.reglamentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.reglamento-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-left: 4px solid var(--iame-red);
}

.reglamento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 84, 166, 0.2);
    border-left-color: var(--iame-blue);
}

.reglamento-icon {
    text-align: center;
}

.reglamento-icon i {
    font-size: 64px;
    color: var(--iame-red);
    transition: all 0.3s ease;
}

.reglamento-card:hover .reglamento-icon i {
    color: var(--iame-blue);
    transform: scale(1.1);
}

.reglamento-content h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    color: var(--black);
    margin-bottom: 8px;
    letter-spacing: 1px;
    line-height: 1.3;
}

.reglamento-categoria {
    font-size: 14px;
    color: var(--gray-medium);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reglamento-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.btn-reglamento {
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.btn-ver {
    background: var(--iame-blue);
    color: var(--white);
    border: 2px solid var(--iame-blue);
}

.btn-ver:hover {
    background: transparent;
    color: var(--iame-blue);
}

.btn-descargar {
    background: transparent;
    color: var(--iame-red);
    border: 2px solid var(--iame-red);
}

.btn-descargar:hover {
    background: var(--iame-red);
    color: var(--white);
}

.reglamentos-note {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    border-left: 4px solid var(--iame-blue);
}

.reglamentos-note i {
    font-size: 28px;
    color: var(--iame-blue);
}

.reglamentos-note p {
    font-size: 16px;
    color: var(--gray-dark);
    margin: 0;
}

/* ============================================
   CAMPEONATO - CHAMPION CUP
   ============================================ */

.campeonato {
    background: var(--white);
    padding: 80px 0;
}

.categoria-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 25px;
    background: var(--gray-light);
    border: 2px solid var(--gray-light);
    color: var(--gray-dark);
    font-family: 'Bebas Neue', cursive;
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: var(--white);
    border-color: var(--iame-blue);
    color: var(--iame-blue);
}

.tab-btn.active {
    background: var(--iame-blue);
    border-color: var(--iame-blue);
    color: var(--white);
}

.tabla-campeonato {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tabla-campeonato.active {
    display: block;
}

.tabla-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 20px;
    background: linear-gradient(135deg, var(--iame-blue) 0%, #003d7a 100%);
    border-radius: 10px 10px 0 0;
}

.tabla-header h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 32px;
    color: var(--white);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
}

.tabla-header i {
    color: #ffd700;
    font-size: 28px;
}

.ultima-actualizacion {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.tabla-wrapper {
    background: var(--white);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px var(--shadow);
    overflow: hidden;
    max-height: 600px;
    overflow-y: auto;
}

/* Scrollbar personalizado para tablas */
.tabla-wrapper::-webkit-scrollbar {
    width: 8px;
}

.tabla-wrapper::-webkit-scrollbar-track {
    background: var(--gray-light);
}

.tabla-wrapper::-webkit-scrollbar-thumb {
    background: var(--iame-blue);
    border-radius: 4px;
}

.tabla-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--iame-red);
}

.tabla-campeonato table {
    width: 100%;
    border-collapse: collapse;
}

.tabla-campeonato thead {
    background: var(--gray-light);
}

.tabla-campeonato th {
    padding: 15px;
    text-align: left;
    font-family: 'Bebas Neue', cursive;
    font-size: 16px;
    color: var(--gray-dark);
    letter-spacing: 1px;
    border-bottom: 2px solid var(--iame-blue);
}

.tabla-campeonato th:first-child {
    width: 100px;
    text-align: center;
}

.tabla-campeonato th:last-child {
    width: 110px;
    text-align: center;
}

.tabla-campeonato tbody tr {
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.tabla-campeonato tbody tr:hover {
    background: var(--gray-light);
    transform: scale(1.01);
}

.tabla-campeonato td {
    padding: 14px 15px;
}

.tabla-campeonato td:first-child,
.tabla-campeonato td:last-child {
    text-align: center;
}

.posicion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gray-light);
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    color: var(--gray-dark);
}

.piloto-nombre {
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-dark);
}

.puntos {
    display: inline-block;
    padding: 6px 16px;
    background: var(--iame-blue);
    color: var(--white);
    border-radius: 20px;
    font-weight: 700;
    font-size: 15px;
}

/* Estilos para el podio (top 3) */
.podio-1 .posicion {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: var(--black);
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.podio-1 .piloto-nombre {
    color: var(--iame-blue);
    font-weight: 700;
}

.podio-1 .puntos {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: var(--black);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.podio-2 .posicion {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    color: var(--black);
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.4);
}

.podio-2 .piloto-nombre {
    font-weight: 700;
}

.podio-3 .posicion {
    background: linear-gradient(135deg, #cd7f32 0%, #e8a87c 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.4);
}

.podio-3 .piloto-nombre {
    font-weight: 700;
}

.campeonato-note {
    margin-top: 40px;
    padding: 25px;
    background: var(--gray-light);
    border-left: 5px solid var(--iame-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.campeonato-note i {
    font-size: 24px;
    color: var(--iame-blue);
}

.campeonato-note p {
    margin: 0;
    color: var(--gray-medium);
    line-height: 1.6;
}

/* ============================================
   TRANSMISIONES
   ============================================ */

.transmisiones {
    background: linear-gradient(135deg, #cc0000 0%, var(--iame-red) 100%);
    color: var(--white);
}

.transmisiones .section-title {
    color: var(--white);
}

.transmisiones-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.transmision-item {
    text-align: center;
}

.transmision-item i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.transmision-item h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 28px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.transmision-item p {
    font-size: 16px;
    line-height: 1.6;
}

.transmisiones-social {
    margin-top: 60px;
    text-align: center;
}

.transmisiones-social h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 32px;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    text-decoration: none;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.social-link i {
    font-size: 28px;
}

.social-link:hover {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-link.youtube:hover {
    color: #FF0000;
}

.social-link.instagram:hover {
    color: #E1306C;
}

.social-link.tiktok:hover {
    color: #000000;
}

.social-link.facebook:hover {
    color: #1877F2;
}

/* ============================================
   VIDEOS
   ============================================ */

.videos {
    background: var(--gray-light);
    padding: 80px 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.video-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-dark);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: var(--black);
    overflow: hidden;
}

.video-wrapper video,
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.video-info {
    padding: 25px;
}

.video-info h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 26px;
    color: var(--iame-blue);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.video-info p {
    color: var(--gray-medium);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--iame-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 15px;
    border: 2px solid var(--iame-red);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.video-link:hover {
    background: var(--iame-red);
    color: var(--white);
    transform: translateY(-2px);
}

.video-link i {
    font-size: 18px;
}

.videos-cta {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.videos-cta p {
    font-size: 20px;
    color: var(--gray-dark);
    margin-bottom: 25px;
    font-weight: 600;
}

.videos-cta .btn i {
    margin-right: 10px;
    font-size: 20px;
    vertical-align: middle;
}

/* ============================================
   INSCRIPCIÓN
   ============================================ */

.inscripcion {
    background: var(--white);
}

.inscripcion-container {
    max-width: 800px;
    margin: 0 auto;
}

.inscripcion-form {
    background: var(--gray-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--iame-blue);
    box-shadow: 0 0 0 3px rgba(0, 84, 166, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.inscripcion-form button[type="submit"] {
    width: 100%;
    margin-top: 10px;
}

.btn-loading {
    display: none;
}

/* ============================================
   CONTACTO
   ============================================ */

.contacto {
    background: var(--gray-light);
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.contacto-item {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}

.contacto-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.contacto-icon {
    font-size: 48px;
    color: var(--iame-blue);
    margin-bottom: 20px;
}

.contacto-item h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    color: var(--gray-dark);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.contacto-item a {
    color: var(--iame-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contacto-item a:hover {
    color: var(--iame-blue);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(135deg, var(--gray-dark) 0%, var(--black) 100%);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    max-width: 250px;
    height: auto;
    margin-bottom: 15px;
}

.footer-logo p {
    margin-top: 15px;
    color: #aaa;
    font-size: 14px;
}

.footer-links h4,
.footer-social h4 {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--iame-red);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-icons a:hover {
    background: var(--iame-red);
    transform: translateY(-5px) scale(1.1);
    border-color: var(--white);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.5);
}

.social-icons a i {
    transition: transform 0.3s ease;
}

.social-icons a:hover i {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
}

.footer-bottom p {
    margin: 5px 0;
}

.dev-credit {
    font-size: 13px;
    opacity: 0.8;
}

.dev-credit a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dev-credit a:hover {
    color: var(--black);
    background: var(--white);
    padding: 2px 8px;
    border-radius: 3px;
}

/* ============================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.7);
}

.whatsapp-float i {
    animation: none;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 5px 35px rgba(37, 211, 102, 0.8), 
                    0 0 0 15px rgba(37, 211, 102, 0.2),
                    0 0 0 30px rgba(37, 211, 102, 0.1);
    }
}

/* ============================================
   ANIMACIONES
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(135deg, var(--iame-blue) 0%, #003d7a 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-logo img {
        height: 100px;
    }

    .hero-logo img {
        max-width: 400px;
    }

    .hero-title {
        font-size: 60px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 36px;
    }

    .inscripcion-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .calendario-grid {
        grid-template-columns: 1fr;
    }

    .reglamentos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .reglamento-card {
        padding: 25px;
    }

    .reglamento-content h3 {
        font-size: 20px;
    }

    .reglamentos-note {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .categoria-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .tabla-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .tabla-header h3 {
        font-size: 24px;
    }

    .tabla-campeonato th,
    .tabla-campeonato td {
        padding: 12px 10px;
        font-size: 14px;
    }

    .posicion {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .piloto-nombre {
        font-size: 14px;
    }

    .puntos {
        padding: 6px 15px;
        font-size: 14px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .footer-logo img {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        max-width: 320px;
    }

    .hero-title {
        font-size: 45px;
    }

    .nav-logo img {
        height: 80px;
    }

    .logo-text {
        font-size: 22px;
    }

    .logo-argentina {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}
