* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
}

/* Header */
header {
    background-color: #e10600;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: -2px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23222" width="1200" height="600"/><path fill="%23e10600" d="M0 400 L200 300 L400 350 L600 250 L800 300 L1000 200 L1200 250 L1200 600 L0 600 Z"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    background-color: #e10600;
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #b00500;
}

/* Grid Section */
.grid {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Content Section */
.content-section {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: #1a1a1a;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

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

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e10600 0%, #8b0000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
}

.news-content {
    padding: 20px;
}

.news-category {
    color: #e10600;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.news-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-date {
    color: #888;
    font-size: 14px;
}

/* Standings Section */
.standings {
    background-color: #0a0a0a;
    padding: 60px 40px;
}

.standings-container {
    max-width: 1400px;
    margin: 0 auto;
}

.standings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.standings-table {
    background-color: #1a1a1a;
    padding: 30px;
}

.standings-table h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.standing-row {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

.standing-row:last-child {
    border-bottom: none;
}

.standing-row.constructor-row {
    font-weight: 600;
}

.standing-row.constructor-drivers {
    padding: 10px 0;
    font-size: 13px;
    font-style: italic;
    font-weight: 300;
    color: #888;
    padding-left: 20px;
    opacity: 0.7;
}

.standing-row.constructor-drivers .position,
.standing-row.constructor-drivers .points {
    opacity: 0;
    pointer-events: none;
}

.position {
    font-size: 20px;
    font-weight: bold;
    width: 40px;
}

.driver-name {
    flex: 1;
    font-size: 18px;
}

.points {
    font-size: 18px;
    font-weight: bold;
    color: #e10600;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    padding: 40px;
    text-align: center;
    border-top: 1px solid #333;
}

footer p {
    color: #888;
    font-size: 14px;
}

/* FAQ Specific Styles */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #1a1a1a;
    margin-bottom: 15px;
    border-left: 4px solid #333;
    transition: border-color 0.3s, background-color 0.3s;
}

.faq-item.active {
    border-left-color: #e10600;
    background-color: #222;
}

.faq-question {
    padding: 25px 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    transition: color 0.3s, background-color 0.3s;
    background-color: #1a1a1a;
}

.faq-question:hover {
    color: #e10600;
    background-color: #252525;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 30px;
    font-size: 28px;
    font-weight: bold;
    color: #e10600;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
    background-color: #0f0f0f;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 25px 30px;
    border-top: 1px solid #333;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    margin: 15px 0;
    padding-left: 25px;
}

.faq-answer li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.faq-answer strong {
    color: #fff;
}

.faq-answer em {
    color: #999;
    font-style: italic;
}

/* Schedule Page Styles */

/* Season Timeline */
.season-timeline {
    max-width: 1000px;
    margin: 0 auto 40px;
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 30px;
    position: relative;
}

.timeline-track {
    position: relative;
    height: 30px;
    background-color: #333;
    border-radius: 15px;
    overflow: visible;
}

.timeline-progress {
    height: 100%;
    background: linear-gradient(90deg, #e10600 0%, #ff3333 100%);
    border-radius: 15px;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.5s ease;
    box-shadow: 0 0 20px rgba(225, 6, 0, 0.5);
    z-index: 1;
}

.timeline-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.timeline-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marker-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #333;
    border: 3px solid #666;
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-marker.completed .marker-dot {
    background-color: #e10600;
    border-color: #fff;
    box-shadow: 0 0 10px rgba(225, 6, 0, 0.8);
}

.timeline-marker:hover .marker-dot {
    transform: scale(1.2);
}

.marker-label {
    position: absolute;
    top: 30px;
    font-size: 12px;
    font-weight: bold;
    color: #666;
    white-space: nowrap;
}

.timeline-marker.completed .marker-label {
    color: #e10600;
}

.timeline-info {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    font-size: 16px;
    color: #ccc;
}

.races-completed {
    font-weight: bold;
    color: #e10600;
}

.season-percentage {
    color: #888;
}

/* Countdown Timer */
.countdown-timer {
    max-width: 1000px;
    margin: 40px auto;
    background: linear-gradient(135deg, #e10600 0%, #8b0000 100%);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(225, 6, 0, 0.3);
}

.countdown-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.countdown-label {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-display {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.countdown-days {
    font-size: 72px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

.countdown-text {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

.next-race-name {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.race-card {
    background-color: #1a1a1a;
    border-left: 4px solid #333;
    transition: border-color 0.3s, transform 0.3s;
    overflow: visible;
    position: relative;
}

.race-card:hover {
    transform: translateY(-3px);
}

.race-card.completed {
    border-left-color: #e10600;
}

.race-card.completed.active {
    border-left-color: #ff0000;
    z-index: 10;
}

.race-card.upcoming {
    border-left-color: #666;
}

/* Completed Race Card */
.race-header {
    padding: 20px;
    cursor: pointer;
    position: relative;
}

.race-info h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #fff;
}

.race-date {
    font-size: 14px;
    color: #e10600;
    font-weight: bold;
    margin-bottom: 4px;
}

.race-location {
    font-size: 14px;
    color: #888;
}

.podium-preview {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.podium-position {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.position-number {
    background-color: #e10600;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.driver-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    width: fit-content;
}

.team-badge.alpine {
    background-color: #0090ff;
    color: #fff;
}

.team-badge.haas {
    background-color: #b6babd;
    color: #000;
}

.team-badge.rb {
    background-color: #6692ff;
    color: #fff;
}

.team-badge.aston {
    background-color: #00594f;
    color: #fff;
}

.team-badge.williams {
    background-color: #005aff;
    color: #fff;
}

.team-badge.sauber {
    background-color: #00e701;
    color: #000;
}

.expand-icon {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 20px;
    color: #e10600;
    transition: transform 0.3s;
}

.race-card.active .expand-icon {
    transform: rotate(180deg);
}

/* Race Results Table */
.race-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #0f0f0f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    z-index: 100;
}

.race-card.active .race-results {
    max-height: 800px;
    border: 2px solid #e10600;
    border-top: none;
    overflow-y: auto;
}

.race-results::-webkit-scrollbar {
    width: 8px;
}

.race-results::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.race-results::-webkit-scrollbar-thumb {
    background: #e10600;
    border-radius: 4px;
}

.race-results::-webkit-scrollbar-thumb:hover {
    background: #ff0000;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table thead {
    background-color: #1a1a1a;
}

.results-table th {
    padding: 15px;
    text-align: left;
    font-size: 14px;
    color: #e10600;
    text-transform: uppercase;
    font-weight: bold;
}

.results-table td {
    padding: 15px;
    border-bottom: 1px solid #222;
    font-size: 15px;
}

.results-table tbody tr:hover {
    background-color: #1a1a1a;
}

.results-table tbody tr:last-child td {
    border-bottom: none;
}

/* Upcoming Race Card */
.race-info-upcoming {
    padding: 30px;
    text-align: center;
}

.race-info-upcoming h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #fff;
}

.race-date-large {
    font-size: 24px;
    font-weight: bold;
    color: #e10600;
    margin-bottom: 10px;
}

.race-info-upcoming .race-location {
    font-size: 16px;
    color: #888;
    margin-bottom: 15px;
}

.race-status {
    display: inline-block;
    padding: 8px 20px;
    background-color: #333;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 10px;
}

/* History Page Styles */

.history-card {
    background-color: #1a1a1a;
    border-left: 4px solid #e10600;
    padding: 25px;
    transition: transform 0.3s, background-color 0.3s;
}

.history-card:hover {
    transform: translateY(-5px);
    background-color: #222;
}

.history-card.current {
    border-left-color: #ffd700;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a1a 100%);
}

.year-header {
    font-size: 32px;
    font-weight: bold;
    color: #e10600;
    margin-bottom: 20px;
    text-align: center;
}

.history-card.current .year-header {
    color: #ffd700;
}

.season-status {
    text-align: center;
    color: #ffd700;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.current-leader {
    margin-top: 10px;
}

.leader-label {
    text-align: center;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.champion-info {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.flag {
    font-size: 48px;
}

.champion-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.champion-name {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.champion-team {
    font-size: 14px;
}

/* Additional team badges for historical teams */
.team-badge.racing-point {
    background-color: #f596c8;
    color: #000;
}

.team-badge.mclaren {
    background-color: #ff8700;
    color: #fff;
}

.team-badge.toro-rosso {
    background-color: #469bff;
    color: #fff;
}

.team-badge.force-india {
    background-color: #f596c8;
    color: #000;
}

.team-badge.red-bull-old {
    background-color: #1e41ff;
    color: #fff;
}

.team-badge.sauber-old {
    background-color: #9b0000;
    color: #fff;
}

/* Season Statistics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background-color: #1a1a1a;
    padding: 30px;
    text-align: center;
    border-left: 4px solid #e10600;
    transition: transform 0.3s, background-color 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    background-color: #222;
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 42px;
    font-weight: bold;
    color: #e10600;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.stat-detail {
    font-size: 14px;
    color: #888;
    line-height: 1.5;
}

/* Driver Cards */
.drivers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.driver-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    border-left: 4px solid #e10600;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.driver-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(225, 6, 0, 0.3);
}

.driver-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e10600 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.driver-number {
    font-size: 56px;
    font-weight: bold;
    color: #e10600;
    margin-bottom: 0;
    font-family: 'Arial', sans-serif;
    letter-spacing: 2px;
}

.driver-info {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.driver-flag {
    font-size: 40px;
    display: block;
    margin: 0 auto;
    line-height: 1;
}

.driver-name {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.3;
}

.driver-team {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    margin-top: 8px;
}

/* Team Badge Colors */
.team-badge.mclaren {
    background-color: #ff8700;
    color: #000;
}

.team-badge.rb {
    background-color: #0082fa;
}

.team-badge.mercedes {
    background-color: #00d4be;
    color: #000;
}

.team-badge.ferrari {
    background-color: #dc0000;
}

.team-badge.alpine {
    background-color: #0093d0;
}

.team-badge.aston {
    background-color: #006f62;
}

.team-badge.williams {
    background-color: #0082fa;
}

.team-badge.haas {
    background-color: #ffffff;
    color: #000;
}

.team-badge.racing-bulls {
    background-color: #2d826d;
}

.team-badge.audi {
    background-color: #e81828;
}

/* Historical Teams */
.team-badge.renault {
    background-color: #ffd800;
    color: #000;
}

.team-badge.bmw {
    background-color: #0066ff;
    color: #fff;
}

.team-badge.honda {
    background-color: #e10600;
    color: #fff;
}

.team-badge.cadillac {
    background-color: #0066b2;
}

/* More Historical Teams */
.team-badge.jordan {
    background-color: #ff8700;
    color: #fff;
}

.team-badge.ligier {
    background-color: #0066ff;
    color: #fff;
}

.team-badge.lotus {
    background-color: #ffd800;
    color: #000;
}

.team-badge.benetton {
    background-color: #0066ff;
    color: #fff;
}

.team-badge.tyrrell {
    background-color: #0066ff;
    color: #fff;
}

.team-badge.arrows {
    background-color: #ff0000;
    color: #fff;
}

.team-badge.brabham {
    background-color: #000000;
    color: #fff;
}

.team-badge.march {
    background-color: #ff0000;
    color: #fff;
}

.team-badge.matra {
    background-color: #0066ff;
    color: #fff;
}

.team-badge.surtees {
    background-color: #0066ff;
    color: #fff;
}

.team-badge.cooper {
    background-color: #ff6600;
    color: #fff;
}

.team-badge.lola {
    background-color: #ff0000;
    color: #fff;
}

.team-badge.brm {
    background-color: #ff0000;
    color: #fff;
}

.team-badge.maserati {
    background-color: #ff0000;
    color: #fff;
}

.team-badge.gordini {
    background-color: #0066ff;
    color: #fff;
}

.team-badge.talbot {
    background-color: #ff0000;
    color: #fff;
}

.team-badge.bar {
    background-color: #ffffff;
    color: #000;
}

.team-badge.sauber {
    background-color: #c8102e;
    color: #fff;
}

.driver-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 1px solid #333;
    gap: 20px;
}

.stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #e10600;
}

/* Excluded Drivers Section */
.excluded-section {
    background-color: #0a0a0a;
}

/* Teams Cards */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Team Sections (for The Grid page) */
.team-section {
    margin-bottom: 60px;
}

.team-header-section {
    padding: 25px 30px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.williams-section-header {
    background-color: #0082fa;
    color: #fff;
}

.racing-bulls-section-header {
    background-color: #2d826d;
    color: #fff;
}

.aston-section-header {
    background-color: #006f62;
    color: #fff;
}

.alpine-section-header {
    background-color: #0093d0;
    color: #fff;
}

.haas-section-header {
    background-color: #ffffff;
    color: #000;
}

.stake-section-header {
    background-color: #00a19a;
    color: #fff;
}

.audi-section-header {
    background-color: #e81828;
    color: #fff;
}

.cadillac-section-header {
    background-color: #0066b2;
    color: #fff;
}

.team-section-title {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.team-section-stats {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}



.team-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 8px;
    overflow: hidden;
    border-left: 4px solid #e10600;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(225, 6, 0, 0.3);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e10600 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.team-color-header {
    height: 80px;
    width: 100%;
}

.williams-team {
    background-color: #0082fa;
}

.racing-bulls-team {
    background-color: #2d826d;
}

.aston-team {
    background-color: #006f62;
}

.alpine-team {
    background-color: #0093d0;
}

.haas-team {
    background-color: #ffffff;
}

.team-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-name {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.team-drivers {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-stats {
    display: flex;
    justify-content: space-around;
    padding: 20px 25px;
    border-top: 1px solid #333;
    gap: 20px;
}

.team-stats .stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-stats .stat-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.team-stats .stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #e10600;
}

/* Excluded Teams List */
.excluded-teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.excluded-team-group {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    border-top: 4px solid #e10600;
}

.excluded-teams-list {
    padding: 0;
}

.excluded-team {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #2a2a2a;
    gap: 15px;
}

.excluded-team:last-child {
    border-bottom: none;
}

.team-position {
    font-size: 18px;
    font-weight: bold;
    color: #e10600;
    min-width: 50px;
    text-align: center;
}

.team-text {
    flex: 1;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}

.team-points {
    font-size: 14px;
    color: #888;
    font-weight: bold;
    white-space: nowrap;
}

/* Compact Grid on Index */
.grid-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.team-compact {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(225, 6, 0, 0.3);
}

.team-compact-name {
    font-size: 18px;
    font-weight: bold;
    color: #e10600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.drivers-compact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.driver-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.driver-number-small {
    font-weight: bold;
    color: #e10600;
    min-width: 25px;
}

.driver-name-small {
    flex: 1;
    white-space: nowrap;
}

.driver-flag-small {
    font-size: 16px;
}

.excluded-compact {
    background-color: #0a0a0a;
    border: 2px solid #e10600;
    border-radius: 8px;
    padding: 25px;
    margin-top: 40px;
}

.excluded-title {
    font-size: 20px;
    font-weight: bold;
    color: #e10600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.excluded-compact .grid-compact {
    margin-bottom: 0;
}

.excluded-teams-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}

.excluded-team-compact {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.excluded-team-name {
    font-size: 15px;
    font-weight: bold;
    color: #fff;
}

.excluded-count {
    font-size: 13px;
    color: #999;
}

.excluded-subtitle {
    font-size: 16px;
    color: #888;
    margin-bottom: 40px;
    text-align: center;
}

.excluded-drivers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.excluded-team-group {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    border-top: 4px solid #e10600;
}

.team-header {
    padding: 20px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mclaren-header {
    background-color: #ff8700;
    color: #000;
}

.rb-header {
    background-color: #0082fa;
}

.ferrari-header {
    background-color: #dc0000;
}

.mercedes-header {
    background-color: #00d4be;
    color: #000;
}

.excluded-drivers-list {
    padding: 0;
}

.excluded-driver {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #2a2a2a;
    gap: 15px;
}

.excluded-driver:last-child {
    border-bottom: none;
}

.driver-position {
    font-size: 18px;
    font-weight: bold;
    color: #e10600;
    min-width: 50px;
    text-align: center;
}

.driver-text {
    flex: 1;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}

.driver-points {
    font-size: 14px;
    color: #888;
    font-weight: bold;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

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

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 12px;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .drivers-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .driver-number {
        font-size: 36px;
    }

    .driver-name {
        font-size: 18px;
    }

    .excluded-drivers-grid {
        grid-template-columns: 1fr;
    }

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

    .excluded-teams-grid {
        grid-template-columns: 1fr;
    }

    .grid-compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .excluded-compact {
        padding: 20px;
    }
}