/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    touch-action: manipulation;       /* smoother pinch & scroll on mobile */
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: ''OCR A Std', system-ui, monospace;
    background: linear-gradient(to bottom, #0a0a0a, #111);
    color: #e0e0e0;
    min-height: 100vh;
    font-size: 1.5rem;
    background-image: url('spwallpaper_BW.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75); /* Dark overlay for readability */
    z-index: -2;
}

/* Header – Sticky & Semi-transparent */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #000000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
    padding: 1rem 0;
    transition: all 0.3s;
}

.site-header.stuck {
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    width: 280px;               /* base size – can stay smaller */
    height: auto;
    display: block;
    margin: 0 auto 1.5rem;
    transform: scale(2);      /* ← 1.3 = 30% larger, try 1.4, 1.5, 1.6 etc. */
    transform-origin: center;   /* enlarges from center */
	margin-bottom: 3rem;
}

/* Navigation */
.main-nav ul {
    background: #000000;          /* Pure black – or use #0a0a0a for very dark grey-black */
    border-radius: 8px;           /* Optional: slight rounding for modern look */
	list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.main-nav a {
    color: #ddd;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    background: #000000;
    color: #fff;
}

/* Hero */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
}

.hero-content h1 {
    font-family: 'OCR A Std', monospace;
    font-size: 4.5rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(255,0,0,0.6);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #ccc;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.primary {
    background: #FF0000;
    color: white;
}

.primary:hover {
    background: #1E90FF;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30,144,255,0.4);
}

/* Sections */
.section {
    padding: 5rem 1rem;
}

.section h2 {
    font-family: 'OCR A Std', monospace;
    font-size: 3rem;
    color: #FF0000;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 15px rgba(255,0,0,0.4);
}

/* Cards & Grid */
.services-grid, .quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card, .quick-card {
    background: rgba(30,30,30,0.7);
    border: 1px solid rgba(255,0,0,0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.card:hover, .quick-card:hover {
    transform: translateY(-8px);
    border-color: #1E90FF;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #FF0000;
    color: white;
    padding: 1rem 1.8rem;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(255,0,0,0.4);
    z-index: 999;
    transition: all 0.3s;
}

.floating-btn:hover {
    background: #1E90FF;
    transform: scale(1.08);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .main-nav ul { flex-direction: column; gap: 0.8rem; }
    .logo { max-width: 240px; }
}

/* Quick Pick numbered badges – large & visible */
.quick-card {
    position: relative; /* Allows absolute positioning of the badge */
    padding-top: 60px;  /* Extra top padding to make space for the big number */
}

.quick-card::before {
    content: attr(data-number);          /* Uses the data-number attribute */
    position: absolute;
    top: 10px;                          /* Slightly overlaps the top edge */
    left: 50%;
    transform: translateX(-50%);         /* Centers it horizontally */
    background: linear-gradient(135deg, #FF0000, #CC0000); /* Red gradient */
    color: white;
    font-family: 'OCR A Std', monospace; /* Racing-style font */
    font-size: 3.2rem;                   /* Very large number */
    font-weight: 700;
    width: 90px;
    height: 90px;
    line-height: 90px;                   /* Vertical centering */
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5); /* Glowing red shadow */
    z-index: 2;
    border: 4px solid rgba(255, 255, 255, 0.25); /* Subtle white rim */
    transition: all 0.3s ease;
}

.quick-card:hover::before {
    transform: translateX(-50%) scale(1.15); /* Slight grow on hover */
    box-shadow: 0 12px 35px rgba(255, 0, 0, 0.7);
}

/* Adjust card content spacing now that we have a big badge */
.quick-card h3 {
    margin-top: 0.5rem;
    font-size: 1.4rem;
}

.quick-card h4 {
    font-size: 1.2rem;
    color: #1E90FF;
    margin: 0.5rem 0;
}
CSS/* Quick Picks Grid – make cards wider and taller */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); /* ← increased from 280px to 360px */
    gap: 2rem; /* more breathing room between cards */
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 1rem;
}

/* Individual Quick Card – larger size, better image fit */
.quick-card {
    position: relative;
    background: rgba(30, 30, 30, 0.85);
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: all 0.35s ease;
    padding: 1.5rem 1rem 2rem; /* more internal space */
    min-height: 580px; /* ← forces taller cards to fit two images comfortably */
}

.quick-card:hover {
    transform: translateY(-12px);
    border-color: #1E90FF;
    box-shadow: 0 20px 50px rgba(30, 144, 255, 0.35);
}

/* Images inside cards – larger and better proportioned */
.quick-card img {
    width: 100%;
    height: 180px;               /* ← increased from 150px */
    object-fit: cover;           /* keeps aspect ratio, crops nicely */
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Card headings & text – scale up slightly for larger cards */
.quick-card h3 {
    font-size: 1.5rem;
    margin: 0.8rem 0 0.4rem;
    color: #fff;
}

.quick-card h4 {
    font-size: 1.3rem;
    color: #1E90FF;
    margin: 0.3rem 0 1rem;
}

.quick-card p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.quick-card button {
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
}

/* ────────────────────────────────────────────── */
/* Desktop: normal horizontal nav (always visible) */
.main-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
	background: #000000;          /* Pure black – or use #0a0a0a for very dark grey-black */
    border-radius: 8px;           /* Optional: slight rounding for modern look */
}

.main-nav a {
    color: #ddd;
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.main-nav a:hover {
    background: rgba(255, 0, 0, 0.15);
    color: #fff;
}

/* Hide hamburger on desktop */
.hamburger,
.nav-toggle {
    display: none;
}

/* ────────────────────────────────────────────── */
/* Mobile: hamburger menu always open – pushes content down, no overlap */
@media (max-width: 768px) {
    .main-nav ul {
        display: flex !important;              /* Always visible */
        flex-direction: column;
        position: relative;                    /* ← Changed: relative, not absolute */
        top: auto;
        left: auto;
        width: 100%;
        background: #000000;
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 0, 0, 0.2);
        padding: 1rem 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.6);
        margin: 1rem 0 2rem;                   /* ← Adds space above & below */
        border-radius: 12px;                   /* Optional: nicer look */
    }

    .main-nav li {
        text-align: center;
        margin: 0.8rem 0;
    }

    .main-nav a {
        display: block;
        font-size: 1.3rem;
        padding: 1rem;
    }

    /* Hide hamburger icon completely – no toggle needed */
    .hamburger,
    .nav-toggle {
        display: none !important;
    }

    /* Optional: Make sure header doesn't overlap content */
    .site-header {
        margin-bottom: 1rem;                   /* Extra space below header */
    }
}
/* Floating Instagram button – bottom right */
.instagram-float-btn {
    position: fixed;
    bottom: 90px;                    /* Above the Book Now button */
    right: 25px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(188, 24, 136, 0.4);
    text-decoration: none;
    z-index: 999;
    transition: all 0.3s ease;
}

.instagram-float-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(188, 24, 136, 0.6);
    background: linear-gradient(45deg, #bc1888, #cc2366, #dc2743, #e6683c, #f09433);
}

.instagram-float-btn img {
    width: 32px;
    height: 32px;
}

.instagram-float-btn span {
    display: none;                   /* Hide text on mobile/small screens */
    margin-left: 10px;
    font-weight: 600;
}

/* Show text on larger screens if you want */
@media (min-width: 768px) {
    .instagram-float-btn {
        width: auto;
        padding: 0 20px;
        border-radius: 30px;
    }
    
    .instagram-float-btn span {
        display: inline;
    }
}
/* Mobile-only adjustments for header navigation */
@media (max-width: 768px) {
    .main-nav ul {
        gap: 0.6rem;               /* Closer spacing between items – was 1.5rem or more */
    }

    .main-nav a {
        font-size: 0.95rem;        /* Smaller text – adjust to 0.9rem if you want even smaller */
        padding: 0.5rem 0.8rem;    /* Less padding around each link */
        min-width: auto;           /* Prevent items from being too wide */
    }

    /* Optional: Make hamburger icon smaller too */
    .hamburger {
        width: 26px;               /* Smaller hamburger icon */
        height: 20px;
    }

    .hamburger span {
        height: 3px;               /* Thinner lines */
    }

    /* If using vertical menu when expanded */
    .main-nav ul {
        padding: 0.8rem 0;         /* Less vertical padding when open */
    }

    .main-nav li {
        margin: 0.4rem 0;          /* Tighter spacing in dropdown */
    }

    .main-nav a {
        font-size: 1.1rem;         /* Slightly larger in dropdown for tap-friendliness */
        padding: 0.9rem 1rem;
    }
}
.hero-features {
    list-style: none;               /* removes default bullets if you want custom */
    padding: 0;
    margin: 1.5rem auto 2rem;
    max-width: 600px;               /* keeps list from stretching too wide */
    text-align: left;               /* or 'center' if you prefer */
}

.hero-features li {
    font-size: 1.2rem;
    margin: 0.8rem 0;
    padding-left: 1.8rem;           /* space for bullet */
    position: relative;
    color: #e0e0e0;
}

.hero-features li::before {
    content: "•";                   /* custom bullet (you can change to ✓, ★, etc.) */
    position: absolute;
    left: 0;
    color: #FF0000;                 /* your brand red */
    font-size: 1.6rem;
}
/* Leaderboard section styling – matches your site theme */
#leaderboard {
    background: rgba(20, 20, 20, 0.7);
    padding: 4rem 1rem;
}

.leaderboard-embed {
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.leaderboard-embed iframe {
    width: 100%;
    height: 800px; /* Adjust height as needed – try 1000px if content is tall */
    border: none;
}
/* Style the fastest lap block in quick cards */
.quick-card p[style*="FASTEST LAP"] {
    line-height: 1.4;
    margin-top: 1.2rem;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 0, 0, 0.2); /* subtle red separator line */
}
/* FASTEST LAP section styling */
.quick-card .fastest-lap {
    font-weight: bold;
    margin-top: 1.2rem;
    font-size: 1.1rem;
    text-align: center;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
}

.quick-card .claimed {
    color: #A020F0;
}

.quick-card .unclaimed {
    color: #FF0000;
}
/* Video section – full width, 16:9 responsive */
.video-section {
    width: 50vw;                     /* Full viewport width */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -25vw;
    margin-right: -25vw;
    background: #000;
    margin-top: 1rem;                 /* Optional breathing room above */
    margin-bottom: 1rem;
}
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1800px;            /* ← Makes it wider on large screens */
    min-height: 700px;            /* ← Forces taller minimum size (bigger video) */
    margin: 0 auto;               /* Centers it */
    padding-top: 56.25%;          /* Keep this – perfect 16:9 */
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* FASTEST LAP block – base styles for all screens */
.quick-card .fastest-lap {
    font-weight: bold;
    margin-top: 1.2rem;
    font-size: 1.5rem;           /* Matches your current desktop size */
    line-height: 1.4;
    text-align: center;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 0, 0, 0.2); /* Subtle red separator */
}

/* Claimed laps (real driver/time) */
.quick-card .fastest-lap-claimed {
    color: #A020F0;              /* Purple for claimed data */
}

/* Unclaimed laps */
.quick-card .fastest-lap-unclaimed {
    color: #FF0000;              /* Red for UNCLAIMED */
}

/* Optional: Make "FASTEST LAP:" slightly larger/bolder than details */
.quick-card .fastest-lap span:first-child {
    font-size: 1.6rem;           /* Slightly bigger for emphasis */
    letter-spacing: 0.5px;
}
/* Mobile: keep ratio but allow it to be full-width */
@media (max-width: 768px) {
    .video-section {
        width: 100vw;
		margin-left: -1vw;
        margin-right: -1vw;
        left: 0;
        right: 0;
    }
    .video-wrapper {
        min-height: 180px;            /* Smaller min on mobile */
        max-width: 100%;
    }
}
/* Mobile: 1 card per row for Quick Picks, taller/more readable cards */
@media (max-width: 820px) {
    .quick-grid {
        grid-template-columns: 1fr;           /* Only 1 card wide – full width */
        gap: 1.5rem;                          /* More vertical space between cards */
        padding: 0 1rem;
        max-width: 100%;
        margin: 2rem auto;                    /* Optional: centers and adds top/bottom space */
    }

    .quick-card {
        min-height: 420px;                    /* Slightly taller to feel less cramped now */
        padding: 1rem;                        /* A bit more internal space */
        border-radius: 12px;
    }

    .quick-card img {
        height: 140px;                        /* Bigger images now that cards are wider */
        object-fit: cover;
        margin-bottom: 0.8rem;
    }

    .quick-card h3 {
        font-size: 1.3rem;                    /* Titles can be a bit bigger again */
        margin: 0.5rem 0;
    }

    .quick-card h4 {
        font-size: 1.1rem;
        margin: 0.4rem 0;
    }

    .quick-card p {
        font-size: 1rem;                      /* Slightly larger text for readability */
        line-height: 1.45;
        margin-bottom: 1rem;
    }
    /* FASTEST LAP block – keep readable but scale down slightly */
    .quick-card p[style*="FASTEST LAP"],
    .quick-card .fastest-lap {
        font-size: 1rem;
        margin-top: 0.8rem;
        line-height: 1.3;
    }

    /* Number badge – keep visible but smaller */
    .quick-card::before {
        font-size: 2.4rem;
        width: 70px;
        height: 70px;
        line-height: 70px;
        top: 8px;
    }
}
/* Mobile: smaller FASTEST LAP text */
@media (max-width: 820px) {
    .fastest-lap {
        font-size: 0.8rem !important;     /* Smaller than desktop 1.5rem */
        line-height: 1.3;
        margin-top: 0.8rem;
        padding-top: 6px;
    }

    .fastest-lap-claimed span,
    .fastest-lap-unclaimed span {
        font-size: 0.8rem !important;     /* Match the p size */
    }

    /* Optional: make "FASTEST LAP:" slightly larger than details */
    .fastest-lap span:first-child {
        font-size: 1.2rem;
    }
}
/* Stronger & bigger navigation menu items */
.main-nav a {
    font-family: 'OCR A Std', 'Orbitron', monospace; /* Stronger racing-style font – already in use on site */
    font-weight: 900;                                /* Much bolder (900 = extra black) */
    font-size: 1.5rem;                              /* Larger size (from 1.05rem → 1.25rem) */
    letter-spacing: 0.8px;                           /* Slight spacing for stronger look */
    text-transform: uppercase;                       /* All caps = very strong & bold feel */
}

/* Optional: even stronger on hover/active */
.main-nav a:hover,
.main-nav a.active {
    font-weight: 900;
    color: #fff;
    background: rgba(255, 0, 0, 0.2);                /* Subtle red glow */
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
}

/* Mobile adjustments – keep readable but not too huge */
@media (max-width: 768px) {
    .main-nav a {
        font-size: 1.15rem;                          /* Slightly smaller on mobile */
        padding: 0.9rem 1.2rem;                      /* More tap-friendly */
        letter-spacing: 0.6px;
    }
}
/* Base body text – match nav font family, strong weight */
body {
    font-family: 'OCR A Std', 'Orbitron', monospace;
    font-weight: 700;               /* Strong but readable (700–800) – 900 can be too heavy for body text */
    font-size: 1.5rem;
    line-height: 1.5;
    letter-spacing: 0.5px;          /* Slight spacing for that racing/tech feel */
}

/* Headings – make them ultra-strong to match nav boldness */
h1, h2, h3, h4, h5, h6,
.section h2,
.hero-content h1 {
    font-family: 'OCR A Std', 'Orbitron', monospace;
    font-weight: 900;               /* Matches nav boldness */
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.5); /* Optional subtle glow */
}

/* Specific overrides for larger headings */
.hero-content h1 {
    font-size: 5rem;                /* Slightly bigger for impact */
    line-height: 1.1;
}

.section h2 {
    font-size: 3.5rem;              /* Stronger presence */
}

/* Paragraphs and general text – keep readable */
p, li, .hero p, .quick-card p, .hero-features li {
    font-weight: 600;               /* Bolder than normal but not 900 */
    font-size: 1.4rem;              /* Slightly larger than before */
    line-height: 1.6;
    letter-spacing: 0.4px;
}

/* Mobile: scale everything down slightly for readability */
@media (max-width: 768px) {
    body {
        font-size: 1.3rem;
        letter-spacing: 0.3px;
    }

    h1, .hero-content h1 {
        font-size: 3.5rem;
    }

    .section h2 {
        font-size: 2.8rem;
    }

    p, li, .quick-card p, .hero p {
        font-size: 1.2rem;
    }

    .main-nav a {
        font-size: 1.2rem; /* Keep nav strong but not overwhelming */
    }
}
/* Remove red glow/shadow from all section titles */
.section h2,
.hero-content h1 {
    text-shadow: none !important; /* Removes the red highlight completely */
}
/* Shorter, more compact Quick Card */
.quick-card {
    position: relative;
    background: rgba(30, 30, 30, 0.85);
    border: 1px solid rgba(255, 0, 0, 0.3);   /* thinner border */
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
    transition: all 0.35s ease;
    padding: 0.9rem 0.6rem 1rem;              /* much less padding */
    min-height: 360px;                         /* shorter card height */
    margin: 0.8rem;                            /* reduced card margin */
}

/* Very small red circle – top-left */
.quick-card .card-number {
    position: absolute;
    top: 6px;
    left: 6px;
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: white;
    font-family: 'OCR A Std', monospace;
    font-size: 1.5rem;                         /* much smaller */
    font-weight: 900;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(255, 0, 0, 0.5);
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

/* Car name at top */
.quick-card .car-name {
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
    margin: 0.5rem 0 0.7rem;
    letter-spacing: 0.4px;
}

/* Car & track images – smaller & consistent */
.quick-card img {
    width: 100%;
    height: 135px;                             /* reduced from 180px */
    object-fit: cover;
    border-radius: 10px;
    margin: 0.4rem 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

/* Track image specific (if needed) */
.quick-card .track-image {
    margin-top: 0.5rem;
}

/* Description font shrunk */
.quick-card .card-desc {
    font-size: 0.95rem;                        /* smaller description */
    line-height: 1.35;
    margin-bottom: 0.8rem;
    color: #ccc;
}

/* FASTEST LAP block – kept but slightly condensed */
.quick-card .fastest-lap {
    font-weight: bold;
    margin-top: 0.8rem;
    font-size: 1.3rem;
    text-align: center;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
}

/* Mobile: even more compact, 3–4 cards per row */
@media (max-width: 768px) {
    .quick-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* 3–4 per row */
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .quick-card {
        min-height: 300px;                         /* very short on mobile */
        padding: 0.6rem 0.4rem 0.8rem;
        margin: 0.6rem;
    }

    .quick-card .card-number {
        font-size: 1.3rem;
        width: 42px;
        height: 42px;
        line-height: 42px;
        top: 5px;
        left: 5px;
    }

    .quick-card .car-name {
        font-size: 1.15rem;
        margin: 0.4rem 0 0.5rem;
    }

    .quick-card img {
        height: 110px;
        margin: 0.4rem 0;
    }

    .quick-card .card-desc {
        font-size: 0.85rem;
        margin-bottom: 0.7rem;
    }

    .quick-card .fastest-lap {
        font-size: 1.1rem;
        margin-top: 0.6rem;
    }
}
/* Remove the old large centered red badge (prevents duplication) */
.quick-card::before {
    content: none !important; /* Completely disables the old pseudo-element */
}

/* Keep only the new small left-aligned badge */
.quick-card .card-number {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: white;
    font-family: 'OCR A Std', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.5);
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.quick-card:hover .card-number {
    transform: scale(1.1);
}
/* Push car name right to avoid overlap with small red badge */
.quick-card .car-name {
    padding-left: 60px;          /* ← Matches badge width (48px) + some buffer */
    text-align: left;            /* ← Align left for better flow */
    margin-left: 0.5rem;         /* Optional extra breathing room */
}
/* Disable old ::before badge to prevent duplication or conflicts */
.quick-card::before {
  content: none !important;
  display: none !important;
}

/* New small red circle badge – top-left */
.quick-card .card-number {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #FF0000, #CC0000);
  color: white;
  font-family: 'OCR A Std', monospace;
  font-size: 1.6rem;
  font-weight: 900;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.5);
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Hover effect on badge */
.quick-card:hover .card-number {
  transform: scale(1.1);
}

/* Push car name right to avoid overlap with badge */
.quick-card .car-name {
  padding-left: 65px;     /* badge width 50px + buffer */
  text-align: left;
  margin: 0.5rem 0 0.7rem;
}
/* Disable old ::before badge completely (prevents ghost/duplication) */
.quick-card::before {
  content: none !important;
  display: none !important;
}

/* New small red circle badge – top-left */
.quick-card .card-number {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #FF0000, #CC0000);
  color: white;
  font-family: 'OCR A Std', monospace;
  font-size: 1.8rem;              /* Small but visible */
  font-weight: 900;
  width: 55px;
  height: 55px;
  line-height: 55px;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.6);
  z-index: 10;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

/* Slight hover effect on badge */
.quick-card:hover .card-number {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(255, 0, 0, 0.8);
}

/* Push car name right so it doesn't overlap badge */
.quick-card h3 {
  padding-left: 70px;             /* badge width 55px + buffer */
  text-align: left;
  margin: 0.6rem 0 0.8rem;
}