/* ========================================
   HZ Racing Esport Team - CSS Styles
   Cyberpunk/Futuristic Racing Theme 2025
   ======================================== */

/* ========== ROOT VARIABLES ========== */
:root {
    /* Color Palette - Pure Blue Intensity */
    --primary-blue: #0000ff;
    --deep-blue: #0000cc;
    --dark-blue: #000099;
    --neon-blue-glow: rgba(0, 0, 255, 0.7);
    --glow-blue: rgba(0, 0, 255, 0.5);
    --glow-intense: rgba(0, 0, 255, 0.8);
    --bg-dark: rgba(0, 0, 20, 0.98);
    --bg-darker: #000014;
    --bg-card: rgba(0, 0, 30, 0.85);
    --text-light: #ffffff;
    --text-gray: #8090a0;
    --accent-gold: #ffd700;
    
    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    
    /* Spacing */
    --spacing-xs: clamp(0.5rem, 2vw, 0.75rem);
    --spacing-sm: clamp(1rem, 3vw, 1.5rem);
    --spacing-md: clamp(2rem, 5vw, 3rem);
    --spacing-lg: clamp(3rem, 8vw, 5rem);
    --spacing-xl: clamp(5rem, 12vw, 8rem);
    
    /* Effects */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 0 15px var(--glow-blue);
    --shadow-md: 0 0 25px var(--neon-blue-glow), 0 0 50px var(--glow-blue);
    --shadow-lg: 0 0 35px var(--glow-intense), 0 0 70px var(--neon-blue-glow), 0 0 100px var(--primary-blue);
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-darker);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* ========== ANIMATED BACKGROUND ========== */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 255, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50px, -50px); }
}

.diagonal-lines {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 100px,
        rgba(0, 0, 255, 0.03) 100px,
        rgba(0, 0, 255, 0.03) 102px
    );
    animation: diagonalMove 30s linear infinite;
}

@keyframes diagonalMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.radial-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(
        circle at center,
        rgba(0, 0, 255, 0.08) 0%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

/* ========== NAVIGATION ========== */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 255, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 255, 0.15);
}
.nav-bar img {
    width: 50px;
    }

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-light);
    text-shadow: 0 0 15px var(--glow-blue);
}

.logo-accent {
    color: var(--primary-blue);
    text-shadow: 0 0 25px var(--glow-intense);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: var(--transition-fast);
    box-shadow: 0 0 8px var(--glow-blue);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-gray);
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition-smooth);
    text-transform: uppercase;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    transform: translateX(-50%);
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
    text-shadow: 0 0 15px var(--glow-blue);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(0, 0, 20, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1rem;
        border-left: 1px solid rgba(0, 0, 255, 0.25);
        box-shadow: -5px 0 30px rgba(0, 0, 255, 0.4);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 0, 255, 0.15);
    }
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 3rem);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
    padding: var(--spacing-md);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, var(--text-light), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

.subtitle {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
}

@keyframes titleGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 15px var(--glow-blue));
    }
    50% { 
        filter: drop-shadow(0 0 35px var(--glow-intense)) drop-shadow(0 0 60px var(--primary-blue));
    }
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    text-shadow: 0 0 15px var(--glow-blue);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--primary-blue);
    text-shadow: var(--shadow-sm);
}

.stat-label {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(0, 0, 255, 0.4);
    position: relative;
    z-index: 2;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--glow-blue), transparent 70%);
    filter: blur(50px);
    z-index: 1;
    animation: pulse 4s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--bg-darker), transparent);
    pointer-events: none;
}

@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

/* ========== MISSION SECTION ========== */
.mission {
    padding: var(--spacing-lg) 0;
    position: relative;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-blue);
    background: rgba(0, 0, 255, 0.12);
    border: 1px solid var(--primary-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    text-shadow: 0 0 8px var(--glow-blue);
    box-shadow: 0 0 25px rgba(0, 0, 255, 0.25);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.highlight {
    color: var(--primary-blue);
    text-shadow: 0 0 25px var(--glow-blue);
}

.mission-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.mission-text strong {
    color: var(--text-light);
    font-weight: 600;
}

/* ========== HISTORY SECTION ========== */
.history {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 255, 0.04), transparent);
}

.history-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.history-text p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.history-text strong {
    color: var(--text-light);
    font-weight: 600;
}

.history-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.telemetry-display {
    position: relative;
    width: 250px;
    height: 250px;
    background: rgba(0, 0, 30, 0.5);
    border: 2px solid var(--primary-blue);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
}

.tele-line {
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    animation: telemetryPulse 2s ease-in-out infinite;
}

.tele-line:nth-child(2) {
    animation-delay: 0.3s;
}

.tele-line:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes telemetryPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.tele-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-blue);
    text-shadow: var(--shadow-sm);
}

.tele-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-gray);
}

@media (max-width: 968px) {
    .history-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ========== DISCIPLINES SECTION ========== */
.disciplines {
    padding: var(--spacing-lg) 0;
}

.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.discipline-card {
    position: relative;
    aspect-ratio: 3/2;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(0, 0, 255, 0.25);
    transition: var(--transition-smooth);
}

.discipline-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.discipline-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 255, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition-smooth);
}

.discipline-card:hover .discipline-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 255, 0.95), rgba(0, 0, 153, 0.7));
}

.discipline-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.discipline-card:hover img {
    transform: scale(1.1);
}

.discipline-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.discipline-overlay p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.discipline-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ========== SPONSORS SECTION ========== */
.sponsors {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 255, 0.03), transparent);
    position: relative;
    overflow: hidden;
}

/* Línea de scan superior (queda chida) */
.sponsors::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;               /* un poco más gruesa para que se vea mejor */
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    animation: scanline 4s linear infinite;  /* un poco más lenta = más premium */
}

@keyframes scanline {
    0%   { transform: translateY(-100%); opacity: 0; }
    10%  { opacity: 0.8; }
    50%  { opacity: 1; }
    90%  { opacity: 0.8; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* Grid de sponsors */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* un poco más chico para móviles */
    gap: 1.8rem;
    margin-top: 2.5rem;
}

/* Cada tarjeta de sponsor */
.sponsor-card {
    background: var(--bg-card); /* asumo que tienes esta var, si no → rgba(0,0,20,0.4) o similar */
    border: 1px solid rgba(0, 0, 255, 0.2);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* transición suave premium */
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px); /* glassmorphism sutil si quieres elevar */
}

.sponsor-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 0, 255, 0.12), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.sponsor-card:hover::before {
    opacity: 1;
}

/* Efectos al hover */
.sponsor-card:hover {
    transform: translateY(-8px) scale(1.04);
    border-color: var(--primary-blue);
    box-shadow: 0 15px 35px rgba(0, 0, 255, 0.25),
                0 0 0 2px rgba(0, 0, 255, 0.15) inset;
}

/* Estilo para las imágenes (esto es lo que faltaba) */
.sponsor-card img {
    height: 70px;                 /* ajusta según tus logos */
    max-width: 100%;              /* evita que se salgan */
    width: auto;
    object-fit: contain;          /* mantiene proporciones sin distorsión */
    filter: brightness(0.9) contrast(1.1); /* un toque más "neón" de base */
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.sponsor-card:hover img {
    filter: brightness(1.2) contrast(1.15) drop-shadow(0 0 12px rgba(0, 0, 255, 0.7));
    transform: scale(1.08);       /* leve zoom al hover = sensación premium */
}
/* ========== FOOTER ========== */
.footer {
    background: rgba(0, 5, 20, 0.95);
    padding: var(--spacing-lg) 0 2rem;
    position: relative;
    margin-top: var(--spacing-xl);
}

.footer-telemetry {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-blue) 20%, 
        var(--primary-blue) 40%, 
        transparent 50%, 
        var(--deep-blue) 60%, 
        var(--deep-blue) 80%, 
        transparent
    );
    animation: telemetryMove 4s linear infinite;
}

@keyframes telemetryMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px var(--glow-blue);
}

.footer-column p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-location {
    color: var(--text-light);
    font-weight: 500;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-links a {
    color: var(--text-gray);
    transition: var(--transition-fast);
    font-size: 1rem;
}

.social-links a:hover {
    color: var(--primary-blue);
    text-shadow: 0 0 10px var(--glow-blue);
    transform: translateX(5px);
}

.footer-cta {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary-blue);
    background: rgba(0, 0, 255, 0.12);
    border: 2px solid var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    margin-top: 1rem;
    transition: var(--transition-smooth);
    text-shadow: 0 0 8px var(--glow-blue);
}

.footer-cta:hover {
    background: var(--primary-blue);
    color: var(--bg-darker);
    box-shadow: var(--shadow-md);
    text-shadow: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 255, 0.25);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ========== PAGE HEADER ========== */
.page-header {
    padding: calc(80px + var(--spacing-lg)) 0 var(--spacing-md);
    text-align: center;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-gray);
    letter-spacing: 1px;
}

/* ========== PILOTS PAGE ========== */
.pilots-section {
    padding: var(--spacing-md) 0 var(--spacing-lg);
}

.pilots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.pilot-card {
    background: var(--bg-card);
    border: 2px solid rgba(0, 0, 255, 0.25);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.pilot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(0, 0, 255, 0.08));
    opacity: 0;
    transition: var(--transition-smooth);
}

.pilot-card:hover::before {
    opacity: 1;
}

.pilot-card:hover {
    transform: translateY(-10px) rotateX(2deg);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.pilot-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 0, 255, 0.2);
    line-height: 1;
    transition: var(--transition-smooth);
}

.pilot-card:hover .pilot-number {
    color: rgba(0, 0, 255, 0.5);
    text-shadow: 0 0 25px var(--glow-blue);
    transform: rotate(-10deg) scale(1.2);
}

.pilot-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-blue);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
}

.pilot-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.pilot-card:hover .pilot-photo img {
    transform: scale(1.15);
}

.pilot-info {
    text-align: center;
}

.pilot-name {
    margin-bottom: 0.5rem;
}

.first-name {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-gray);
}

.last-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: 2px;
}

.pilot-country {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.pilot-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.category-tag {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: rgba(0, 0, 255, 0.18);
    color: var(--primary-blue);
    border: 1px solid rgba(0, 0, 255, 0.4);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    transition: var(--transition-fast);
}

.pilot-card:hover .category-tag {
    background: rgba(0, 0, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 0, 255, 0.4);
}

.pilot-championships {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 1rem;
}

.championship-star {
    color: var(--accent-gold);
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.championship-count {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-left: 0.5rem;
}

/* ========== CHAMPIONSHIPS PAGE ========== */
.championships-section {
    padding: var(--spacing-md) 0 var(--spacing-lg);
}

.championship-card {
    background: var(--bg-card);
    border: 2px solid rgba(0, 0, 255, 0.25);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    transition: var(--transition-smooth);
}

.championship-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.championship-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.championship-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.championship-card:hover .championship-image img {
    transform: scale(1.05);
}

.championship-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 5, 20, 0.95), transparent);
}

.championship-content {
    padding: 2.5rem;
}

.championship-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.championship-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-shadow: var(--shadow-sm);
    letter-spacing: 2px;
}

.championship-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.championship-description strong {
    color: var(--text-light);
    font-weight: 600;
}

.championship-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 255, 0.15);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.champions-section {
    border-top: 1px solid rgba(0, 0, 255, 0.25);
    padding-top: 2rem;
}

.champions-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.champions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.champion-entry {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 255, 0.08);
    border-left: 3px solid var(--primary-blue);
    border-radius: 5px;
    transition: var(--transition-fast);
}

.champion-entry:hover {
    background: rgba(0, 0, 255, 0.15);
    transform: translateX(5px);
}

.champion-year {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    min-width: 80px;
}

.champion-name {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.champion-number {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-gray);
}

/* ========== STATS SECTION ========== */
.stats-section {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 255, 0.04), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--bg-card);
    border: 2px solid rgba(0, 0, 255, 0.25);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: default;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-card .stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    text-shadow: var(--shadow-sm);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: var(--spacing-lg) 0;
    position: relative;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(0, 0, 255, 0.12), rgba(0, 0, 153, 0.12));
    border: 2px solid rgba(0, 0, 255, 0.4);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 0, 255, 0.15), transparent);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-gray);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    background: var(--primary-blue);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 25px rgba(0, 0, 255, 0.5);
    letter-spacing: 1px;
}

.cta-button:hover {
    background: var(--deep-blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .grid-lines,
    .diagonal-lines,
    .radial-glow {
        animation: none;
    }
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 1200px) {
    :root {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .pilots-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .championship-details {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .pilots-grid {
        grid-template-columns: 1fr;
    }
    
    .disciplines-grid {
        grid-template-columns: 1fr;
    }
    
    .sponsors-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ========== UTILITIES ========== */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
