/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #e10600;
    --secondary-red: #ff1e00;
    --dark-gray: #1a1a1a;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --black: #000000;
    --gold: #ffd700;
    --silver: #c0c0c0;
    --racing-green: #00d2be;
    --gradient-bg: linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%);
    --racing-gradient: linear-gradient(45deg, var(--primary-red), var(--secondary-red), var(--gold));
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--light-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: var(--gradient-bg);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 1rem 0;
}

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

.logo h1 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo .highlight {
    color: var(--primary-red);
    text-shadow: 0 0 10px var(--primary-red);
}

.logo .tagline {
    font-size: 0.9rem;
    color: var(--gold);
    margin-top: -5px;
    font-weight: 300;
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover,
.nav-link.active {
    background: var(--racing-gradient);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 6, 0, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: var(--gradient-bg);
    color: var(--white);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    flex: 1;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--racing-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px var(--primary-red)); }
    to { filter: drop-shadow(0 0 20px var(--primary-red)); }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: var(--light-gray);
    font-weight: 300;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Orbitron', monospace;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-gray);
}

.hero-image {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
}

/* Old car animation removed - replaced with team cars racing track */

/* Sections */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: var(--white);
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-gray);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--racing-gradient);
    border-radius: 2px;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.content-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-red);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--racing-gradient);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.content-card h3 {
    font-family: 'Orbitron', monospace;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.content-card .date {
    color: var(--primary-red);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.content-card .location {
    background: var(--racing-green);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.content-card p {
    line-height: 1.8;
    color: var(--dark-gray);
}

/* Humor Grid */
.humor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.humor-card {
    background: linear-gradient(135deg, var(--gold), var(--silver));
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: var(--dark-gray);
    font-style: italic;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.humor-card::before {
    content: '😄';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 2rem;
    background: var(--white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.humor-card:hover {
    transform: scale(1.05);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.reporter-avatar {
    width: 200px;
    height: 200px;
    background: var(--racing-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.reporter-avatar i {
    font-size: 4rem;
    color: var(--white);
}

/* Contact Section */
.contact-content {
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--white);
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-red);
}

/* Buttons */
.btn-primary {
    background: var(--racing-gradient);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(225, 6, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(225, 6, 0, 0.4);
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--dark-gray);
    border: 2px solid var(--dark-gray);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--dark-gray);
    color: var(--white);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    color: var(--dark-gray);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-red);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Footer */
.footer {
    background: var(--gradient-bg);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-gray);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .humor-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .logo h1 {
        font-size: 2rem;
    }

    .f1-car-animation {
        font-size: 4rem;
    }

    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--light-gray);
    border-radius: 50%;
    border-top-color: var(--primary-red);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* F1 Team Cars Racing Animation */
.f1-racing-track {
    position: relative;
    width: 100%;
    height: 120px;
    background: linear-gradient(90deg, 
        rgba(26, 26, 26, 0.8) 0%, 
        rgba(26, 26, 26, 0.9) 20%, 
        rgba(26, 26, 26, 0.9) 80%, 
        rgba(26, 26, 26, 0.8) 100%);
    overflow: hidden;
    border-bottom: 3px solid var(--primary-red);
    border-top: 1px solid rgba(225, 6, 0, 0.3);
    z-index: 999;
    margin-top: 80px;
}

.racing-cars {
    position: relative;
    height: 100%;
    width: 100%;
}

.f1-car {
    position: absolute;
    font-size: 100px;
    top: 50%;
    transform: translateY(-50%);
    animation: raceAcross 15s linear infinite;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}

.f1-car:hover {
    transform: translateY(-50%) scale(1.3);
    animation-play-state: paused;
    z-index: 100;
}

/* Team Info Tooltip */
.f1-car::after {
    content: attr(data-team);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Orbitron', monospace;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.f1-car:hover::after {
    opacity: 1;
}

/* Team-specific tooltip colors */
.f1-car.red-bull::after {
    background: linear-gradient(45deg, #1e3a8a, #3b82f6);
    border: 2px solid #1e3a8a;
}

.f1-car.ferrari::after {
    background: linear-gradient(45deg, #dc2626, #ef4444);
    border: 2px solid #dc2626;
}

.f1-car.mercedes::after {
    background: linear-gradient(45deg, #06b6d4, #0891b2);
    border: 2px solid #06b6d4;
}

.f1-car.mclaren::after {
    background: linear-gradient(45deg, #ea580c, #f97316);
    border: 2px solid #ea580c;
}

.f1-car.aston-martin::after {
    background: linear-gradient(45deg, #059669, #10b981);
    border: 2px solid #059669;
}

.f1-car.alpine::after {
    background: linear-gradient(45deg, #ec4899, #f472b6);
    border: 2px solid #ec4899;
}

.f1-car.williams::after {
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    border: 2px solid #3b82f6;
}

.f1-car.rb-alphatauri::after {
    background: linear-gradient(45deg, #1e40af, #3b82f6);
    border: 2px solid #1e40af;
}

.f1-car.haas::after {
    background: linear-gradient(45deg, #ef4444, #f87171);
    border: 2px solid #ef4444;
}

.f1-car.kick-sauber::after {
    background: linear-gradient(45deg, #10b981, #34d399);
    border: 2px solid #10b981;
}

/* Team-specific colors and timing */
.f1-car.red-bull {
    color: #1e3a8a; /* Blue */
    animation-delay: 0s;
}

.f1-car.ferrari {
    color: #dc2626; /* Ferrari Red */
    animation-delay: -1.5s;
}

.f1-car.mercedes {
    color: #06b6d4; /* Teal */
    animation-delay: -3s;
}

.f1-car.mclaren {
    color: #ea580c; /* McLaren Orange */
    animation-delay: -4.5s;
}

.f1-car.aston-martin {
    color: #059669; /* Aston Green */
    animation-delay: -6s;
}

.f1-car.alpine {
    color: #ec4899; /* Alpine Pink */
    animation-delay: -7.5s;
}

.f1-car.williams {
    color: #3b82f6; /* Williams Blue */
    animation-delay: -9s;
}

.f1-car.rb-alphatauri {
    color: #1e40af; /* RB Blue */
    animation-delay: -10.5s;
}

.f1-car.haas {
    color: #ef4444; /* Haas Red */
    animation-delay: -12s;
}

.f1-car.kick-sauber {
    color: #10b981; /* Sauber Green */
    animation-delay: -13.5s;
}

@keyframes raceAcross {
    0% {
        right: -120px;
        transform: translateY(-50%) scale(1);
    }
    10% {
        transform: translateY(-50%) scale(1.1);
    }
    90% {
        transform: translateY(-50%) scale(1.1);
    }
    100% {
        right: calc(100% + 120px);
        transform: translateY(-50%) scale(1);
    }
}

/* Hover effect to slow down the race */
.f1-racing-track:hover .f1-car {
    animation-duration: 20s;
}

/* YouTube Channels Section */
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    font-weight: 300;
}

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

.youtube-channel-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-red);
    transition: all 0.3s ease;
    position: relative;
}

.youtube-channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--racing-gradient);
}

.youtube-channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.channel-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--light-gray);
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.channel-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-red);
}

.channel-details h3 {
    font-family: 'Orbitron', monospace;
    color: var(--dark-gray);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.channel-details p {
    color: var(--primary-red);
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-subscribe {
    background: #ff0000;
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 0, 0, 0.3);
}

.btn-subscribe:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.latest-video {
    position: relative;
    width: 100%;
    height: 250px;
    background: var(--dark-gray);
}

.latest-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-management {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* YouTube Channel Modal */
.youtube-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.youtube-modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

.youtube-form-group {
    margin-bottom: 1.5rem;
}

.youtube-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.youtube-form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.youtube-form-group input:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* Responsive YouTube Section */
@media (max-width: 768px) {
    .youtube-channels-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .channel-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .latest-video {
        height: 200px;
    }
    
    .video-management {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .youtube-channels-grid {
        grid-template-columns: 1fr;
    }
    
    .latest-video {
        height: 180px;
    }
    
    .channel-avatar {
        width: 50px;
        height: 50px;
    }
    
    .channel-details h3 {
        font-size: 1rem;
    }
    
    .btn-subscribe {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Mobile responsiveness for racing track */
@media (max-width: 768px) {
    .f1-racing-track {
        height: 50px;
    }
    
    .f1-car {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .f1-racing-track {
        height: 40px;
    }
    
    .f1-car {
        font-size: 24px;
    }
    
    @keyframes raceAcross {
        0% {
            left: -40px;
            transform: translateY(-50%) scale(1);
        }
        10% {
            transform: translateY(-50%) scale(1.05);
        }
        90% {
            transform: translateY(-50%) scale(1.05);
        }
        100% {
            left: calc(100% + 40px);
            transform: translateY(-50%) scale(1);
        }
    }
}

/* Archive Section Styles */
.archive-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-red);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--racing-gradient);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    display: block;
}

.stat-card .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    font-family: 'Orbitron', monospace;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.featured-races {
    margin-bottom: 3rem;
}

.featured-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-gray);
    position: relative;
}

.featured-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--racing-gradient);
    border-radius: 2px;
}

.race-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.race-card.featured {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-red);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.race-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--racing-gradient);
}

.race-card.featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.race-header {
    margin-bottom: 1.5rem;
}

.race-date {
    color: var(--primary-red);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.race-title {
    font-family: 'Orbitron', monospace;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.race-circuit {
    color: var(--dark-gray);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.race-circuit::before {
    content: '📍';
    font-size: 1rem;
}

.race-winner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    background: linear-gradient(135deg, var(--gold), #ffeaa7);
    border-radius: 10px;
    font-weight: 500;
}

.race-winner i {
    color: var(--gold);
    font-size: 1.2rem;
}

.f1aby-snippet {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-red);
    margin-bottom: 1.5rem;
    position: relative;
}

.f1aby-snippet i {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.f1aby-snippet p {
    font-style: italic;
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 0;
}

.read-more-btn {
    background: var(--racing-gradient);
    color: var(--white);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(225, 6, 0, 0.3);
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(225, 6, 0, 0.4);
}

.archive-actions {
    text-align: center;
}

.archive-btn {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.archive-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.archive-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-gray);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.archive-features .feature i {
    color: var(--primary-red);
}

/* Archive Section Responsive Design */
@media (max-width: 768px) {
    .archive-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .race-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .archive-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-card .stat-number {
        font-size: 2rem;
    }
    
    .race-card.featured {
        padding: 1.5rem;
    }
    
    .race-title {
        font-size: 1.1rem;
    }
    
    .archive-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
