body {
    padding: 50px;
    background-color: white;
    font-family: Arial, sans-serif;
    max-width: 1400px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    color: #1d428a;
    font-size: 48px;
    margin-bottom: 10px;
}

header p {
    color: #c8102e;
    font-size: 28px;
    margin-top: 0;
}

#introduction {
    background-color: #1d428a;
    color: white;
    border-radius: 30px;
    text-align: center;
    padding: 30px;
    margin-bottom: 40px;
}

#introduction h2 {
    color: white;
    margin-top: 0;
}

#introduction p {
    color: white;
    font-size: 16px;
    line-height: 1.6;
}

#data-table-section {
    margin: 40px auto;
}

#data-table-section h2 {
    text-align: center;
    color: #1d428a;
    font-size: 36px;
    margin-bottom: 30px;
}

table {
    margin: 30px auto;
    background-color: #f0f0f0;
    padding: 15px;
    border-collapse: collapse;
    width: 95%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

thead {
    background-color: #1d428a;
    color: white;
}

th {
    padding: 12px 8px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #ddd;
    font-size: 14px;
}

.core-column-header {
    background-color: #c8102e;
}

td {
    padding: 10px 8px;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 13px;
}

tbody tr:nth-child(odd) td {
    background-color: white;
}

tbody tr:nth-child(even) td {
    background-color: #e8e8e8;
}

.core-column {
    background-color: #ffe6e6;
    font-weight: bold;
    color: #c8102e;
}

.player-name {
    color: #1d428a;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
}

.player-name:hover {
    color: #c8102e;
}

table a {
    color: #1d428a;
    text-decoration: none;
    font-weight: bold;
}

figure {
    margin: 0;
}

figcaption {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 10px;
    font-size: 14px;
}

#message-box-section {
    margin: 50px auto;
    max-width: 1000px;
}

#message-box-section h2 {
    text-align: center;
    color: #1d428a;
    font-size: 36px;
    margin-bottom: 30px;
}

#output-message-box {
    background-color: #f8f8f8;
    border: 3px solid #1d428a;
    border-radius: 15px;
    padding: 30px;
    min-height: 100px;
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

#output-message-box p {
    margin: 10px 0;
}

#walkthrough-section {
    margin: 50px auto;
    max-width: 1200px;
}

#walkthrough-section h2 {
    text-align: center;
    color: #1d428a;
    font-size: 36px;
    margin-bottom: 40px;
}

.walkthrough {
    margin-bottom: 50px;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 15px;
    border-left: 5px solid #c8102e;
}

.walkthrough h3 {
    color: #c8102e;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
}

.walkthrough p {
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
}

.walkthrough-paragraph {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
}

.highlight-trigger {
    color: #1d428a;
    font-weight: bold;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.highlight-trigger:hover {
    background-color: #ffe6e6;
    color: #c8102e;
}

#glossary-section {
    margin: 50px auto;
    max-width: 1000px;
    padding: 30px;
    background-color: #f0f0f0;
    border-radius: 15px;
}

#glossary-section h2 {
    text-align: center;
    color: #1d428a;
    font-size: 36px;
    margin-bottom: 30px;
}

#stats-glossary {
    line-height: 1.8;
}

dt {
    font-weight: bold;
    color: #c8102e;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: color 0.3s ease;
}

dt:hover {
    color: #1d428a;
}

dd {
    margin-left: 20px;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.6;
    display: none;
}

footer {
    text-align: center;
    padding: 30px;
    background-color: #1d428a;
    color: white;
    border-radius: 15px;
    margin-top: 50px;
}

footer p {
    margin: 5px 0;
}

/* Hover effect classes for jQuery to add/remove */
.row-highlight {
    background-color: #fff3cd !important;
}

.cell-spotlight {
    background-color: #ffcccc !important;
    font-weight: bold;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(200, 16, 46, 0.5);
}

/* Animation helper classes */
.highlight-active {
    background-color: #ffe6e6;
    border: 2px solid #c8102e;
    padding: 5px;
    border-radius: 5px;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}