body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
    background: #121212; 
    color: #e0e0e0;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

.wacky-title {
    background: linear-gradient(
        to right, 
        #E41B17, 
        #662D91, 
        #0054A6, 
        #FDB813
    );
    
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    font-weight: bold;
    font-size: 3rem;
    text-transform: uppercase;
    display: inline-block;
    filter: drop-shadow(2px 2px 0px #000);
}

.event-title {
    color:rgba(212, 212, 212, 0.736);
    margin-top: 0%;

    font-weight: bold;
    font-size: 3rem;
    text-transform: uppercase;
    display: inline-block;
    filter: drop-shadow(2px 2px 0px #000);
}

h2 {
    border-bottom: 2px solid #333;
    margin-top: 50px;
    color: #ff3e3e; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

h3 {
    text-align: center;
}

.race-section {
    background: #1e1e1e; 
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); 
    border: 1px solid #333;
}

table {
    width: 90%;
    border-collapse: collapse;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden; 
}

th {
    background-color: #000000; 
    color: #ffffff;
    text-align: center;
    padding: 14px;
    border-bottom: 2px solid #444;
    font-size: 0.9rem;
    text-transform: uppercase;
}

td {
    text-align: center;
    padding: 12px;
    border-bottom: 1px solid #2d2d2d; 
}

tr:nth-child(even) {
    background-color: #252525; 
}

tr:hover {
    background-color: #333;
    transition: background-color 0.2s ease;
}


/* Creates a subtle vertical line after each event group */
.event-divider {
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding-right: 10px !important;
}

/* Optional: Add a little extra space to the next position cell for breathing room */
.res-pos {
    padding-left: 10px !important;
}

/* Clean up: Remove the line from the very last column if desired */
.summary-table td:last-child {
    border-right: none !important;
}