/* General Body Styling */
body {
    margin: 0;
    padding: 0;
    padding-top: 38px; /* Adjust based on the navbar height */
    font-family: 'Arial', sans-serif;
    background-image: url('../images/background.webp'); /* Path to your .webp file */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed; /* Prevent the image from resizing with the container */
}

/* Header Styling */
header {
    text-align: center;
    margin: 0;
    padding: 0;
}

.intro-gif {
    display: block;
    max-width: 80%; /* Makes it responsive */
    height: auto;
    margin: 20px auto; /* Centers the GIF and adds vertical spacing */
    border-radius: 10px; /* Optional: Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Optional: Adds a shadow for a polished look */
}

/* CTA Section Styling */
#cta {
    text-align: center;
    margin: 20px 0;
}

#cta-button {
    background-color: #ff4500; /* Orange-red theme */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#cta-button:hover {
    background-color: #e03c00; /* Darker orange-red */
}

#cta a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Use parent element's color */
}

#cta a:hover {
    text-decoration: none; /* Prevent underline on hover */
    color: inherit; /* Maintain button's hover color */
}

/* Centering for Up and Down Arrows */
.center-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto; /* Center and add spacing */
}

/* GIF Cropping and Scaling */
.gif-crop {
    width: 250px; /* Set the container width */
    height: 110px; /* Cropped height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Adjust Right- and Left-Pointing GIFs */
.cta-image.right {
    margin-right: 0px; /* Space from the button */
    width: 65%; /* Responsive scaling */
    height: auto;
}

.cta-image.left {
    margin-left: 0px; /* Space from the button */
    width: 65%; /* Responsive scaling */
    height: auto;
}

/* Custom Adjustments for Specific GIFs */
.cta-image.down, .cta-image.up {
    width: 65%; /* Reduce size for up and down arrows */
    height: auto;
}

.youtube-container {
    display: flex;
    justify-content: center; /* Center the video horizontally */
    margin: 20px auto; /* Add spacing around the video */
    max-width: 100%; /* Ensure the container scales responsively */
}

/* Text Box Above YouTube Video */
.video-title {
    text-align: center;
    font-size: 1.2rem; /* Adjust font size */
    font-weight: bold;
    color: #333; /* Neutral dark color */
    background-color: #f9f9f9; /* Light background color */
    padding: 10px; /* Padding inside the box */
    border-radius: 5px; /* Rounded corners */
    max-width: 560px; /* Match the max width of the YouTube video */
    margin: 0 auto 10px auto; /* Center the text box and add spacing below */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Optional shadow for a clean look */
}

.youtube-container iframe {
    width: 100%;
    max-width: 560px; /* Limit the video width */
    height: 315px; /* Maintain the 16:9 aspect ratio */
    border-radius: 10px; /* Optional: Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Optional: Add subtle shadow */
}

/* Search Section Styling */
#search-section {
    padding: 20px;
    text-align: center;
}

#search-bar {
    padding: 10px;
    width: 50%;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Autofill Suggestions Styling */
#suggestions {
    display: flex;
    flex-direction: column; /* Stack suggestions vertically */
    align-items: center; /* Center suggestions horizontally */
    justify-content: center; /* Center suggestions vertically if needed */
    position: absolute; /* Position relative to the page */
    width: 100%; /* Ensure full width for alignment */
    max-width: 500px; /* Optional: Limit the width */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust centering */
    z-index: 10; /* Ensure suggestions appear above other elements */
    background-color: white; /* Background for better visibility */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add shadow */
    border-radius: 5px; /* Optional: Add rounded corners */
}

/* Individual Suggestion Items */
.suggestion-item {
    padding: 10px 15px; /* Spacing for each suggestion */
    cursor: pointer;
    text-align: center; /* Center text within each item */
    width: 100%; /* Ensure consistent width */
}

/* Hover Effect for Suggestions */
.suggestion-item:hover {
    background-color: #f0f0f0; /* Light gray background on hover */
}

.toggle-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #ff4500, #e03c00);
    border-radius: 25px;
    padding: 5px;
    width: 200px;
    height: 40px;
    position: relative;
    margin: 20px auto; /* Centers the toggle button horizontally */
}


.toggle-option {
    flex: 1;
    text-align: center;
    padding: 5px 10px;
    font-size: 16px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle-option.active {
    background: white;
    color: #e03c00;
    border-radius: 20px;
    font-weight: bold;
}

.toggle-option:hover {
    color: #ffe6e6;
}

/* Leaderboard Header Styling */
.leaderboard-header {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
    border-radius: 10px;
    margin: 20px auto; /* Add some spacing */
    max-width: 800px; /* Optional: Limit width for aesthetics */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
}

.leaderboard-header h1 {
    font-family: 'Jersey 10', sans-serif; /* Bold sports-style font */
    font-size: 2.5rem;
    color: #ffcc00; /* Gold color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add contrast with shadow */
    margin: 0;
}

.leaderboard-header p {
    font-family: 'Arial', sans-serif; /* Simple complementary font */
    font-size: 1.2rem;
    color: #ffffff; /* White for readability */
    margin-top: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); /* Slight shadow for clarity */
}

/* Max Score Styling */
.max-score {
    margin: 10px auto; /* Center it horizontally */
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
    font-size: 20px;
    font-weight: bold;
    margin: 15px auto;
    max-width: 200px; 
    color: white; /* Bright orange-red for emphasis */
}

/* Leaderboard Container */
#leaderboard-section {
    display: flex;
    flex-direction: column; /* Stack table and buttons vertically */
    align-items: center; /* Center content horizontally */
    margin: 20px auto; /* Center container within the page */
    width: 50%;
    max-width: 800px; /* Optional: Set a max width for the leaderboard */
    text-align: center;
}

/* Leaderboard Table Styling */
#data-table {
    width: 100%; /* Full width of the container */
    border-collapse: collapse; /* Clean table borders */
    font-size: 18px; /* Default font size for the table */
}

/* Table Header */
table th {
    background-color: #ff4500; /* Orange-red for headers */
    color: white; /* Text color */
    font-weight: bold;
    text-align: center;
    font-size: 20px; /* Increase font size for table headers */
}

/* Table Rows */
table tbody tr {
    background-color: #f7f7f7; /* Light gray for rows */
    color: #333; /* Text color */
    font-size: 18px; /* Increase font size for table rows */
}

/* Alternate Row Coloring */
table tbody tr:nth-child(even) {
    background-color: #eaeaea; /* Slightly darker gray for alternate rows */
}

/* Highlight for Searched Name */
.highlight-searched {
    background-color: #add8e6; /* Light blue */
    font-weight: bold;
}
#data-table a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

#data-table a:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Instruction Text Box Styling */
.instruction-text {
    margin: 10px auto; /* Center it horizontally */
    text-align: center; /* Center the text */
    font-size: 1rem; /* Adjust text size */
    font-weight: bold; /* Make the text bold */
    color: #444; /* Neutral dark color */
    background-color: #f9f9f9; /* Light background color */
    padding: 10px; /* Padding around the text */
    border: 1px solid #ccc; /* Optional border */
    border-radius: 5px; /* Rounded corners */
    max-width: 80%; /* Match the table's max width */
    width: fit-content; /* Ensure it fits the table */
}

/* Expand/Collapse Buttons */
#expand-btn, #collapse-btn {
    display: inline-block; /* Inline for consistent placement */
    margin-top: 20px; /* Add spacing between table and buttons */
    padding: 10px 20px;
    background-color: #ff4500; /* Matches theme */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#expand-btn:hover, #collapse-btn:hover {
    background-color: #e03c00;
}
button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;

}

/* Footer Styling */
footer {
    text-align: center;
    background-color: #ff4500;
    color: white;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #data-table {
        width: 95%; /* Table width adapts to smaller screens */
    }
    #search-bar, .suggestions {
        width: 95%; /* Search bar and suggestions adjust */
    }
    #leaderboard-section {
        padding: 10px; /* Add padding for better layout on small screens */
    }
}


/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
    margin-bottom: 0; /* Remove default margin */
}

/* Menu Container */
.menu-container {
    display: flex;
    align-items: center;
}

/* Menu Label */
.menu-label {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: white; /* Match the menu icon's color */
    margin-left: 10px; /* Add space between the menu icon and label */
    display: none; /* Hide by default */
}

/* Hamburger Menu Icon */
.menu-icon {
    display: none; /* Hidden on larger screens */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001; /* Ensure it appears above other elements */
}

/* Hamburger Bars */
.menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: white;
}

/* Navigation Links */
.nav-links {
    list-style-type: none;
    display: flex; /* Default for larger screens */
    gap: 20px;
    margin: 0;
    transition: transform 0.3s ease-in-out;
}

/* Hover Effects for Links */
.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.nav-links li a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .menu-icon {
        display: flex; /* Show the hamburger menu */
    }

    .menu-label {
        display: inline-block; /* Show the label next to the menu icon */
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 30px; /* Position below the navbar */
        left: 20%; /* Center horizontally */
        transform: translateX(-50%); /* Align center */
        flex-direction: column;
        gap: 15px; /* Add space between links */
        background-color: rgba(0, 0, 0, 0.9); /* Background color for visibility */
        padding: 20px;
        border-radius: 8px;
        z-index: 1000;
    }

    .nav-links.show {
        display: flex; /* Show when toggled */
    }
}

/* Container for Countdown Timer and GIF */
.countdown-gif-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px; /* Space between countdown and GIF */
    margin: 20px auto;
    max-width: 800px; /* Keep within a reasonable width */
}

/* Adjust Countdown Timer for Side-by-Side Layout */
.countdown-timer {
    flex: 1;
    text-align: center; /* Center text within container */
    margin: 0; /* Remove outer margins */
    padding: 10px 15px; /* Reduced vertical padding */ /* Slightly increased padding for spacing */
    background: linear-gradient(135deg, #ff4500, #ffcc00); /* Vibrant gradient */
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Adjust Countdown Timer for Single Layout */
#countdown.countdown-timer {
    max-width: 800px;
    margin: 20px auto;
    width: calc(100% - 24px);
 }

.countdown-timer h2 {
    font-family: 'Jersey M54', sans-serif; /* Sporty font for header */
    font-size: 2rem; /* Large header size */
    color: #ffcc00; /* Header text color */
    margin-bottom: 5px; /* Reduced spacing below header */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Text shadow for better readability */
}

.countdown-timer h3 {
    font-family: 'Jersey M54', sans-serif;
    font-size: 1.5rem; /* Subheading size */
    color: white; /* Subheading color */
    margin-bottom: 8px; /* Reduced spacing below subheading */
}

.countdown-timer p {
    font-family: Arial, sans-serif; /* Clean font for countdown */
    font-size: 1.8rem; /* Countdown text size */
    font-weight: bold;
    color: #fff; /* Text color */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Enhance readability */
}

/* Adjust GIF for Side-by-Side Layout */
.intro-gif {
    flex: 1;
    max-width: 50%; /* Keep it smaller relative to the container */
    height: auto;
    margin: 0; /* Remove outer margins */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Responsive Design: Shrink GIF on smaller screens */
@media (max-width: 768px) {
    .countdown-timer {
        padding: 8px 12px; /* Reduce padding for smaller screens */
    }

    .countdown-timer h2 {
        font-size: 1.4rem; /* Shrink header font size */
    }

    .countdown-timer h3 {
        font-size: 1.1rem; /* Shrink subheading font size */
    }

    .countdown-timer p {
        font-size: 1.2rem; /* Shrink countdown text size */
    }

    .intro-gif {
        max-width: 40%; /* Shrink the GIF further */
    }

    .countdown-gif-container {
        gap: 10px; /* Reduce gap between elements */
    }
}

/* Spotlight Section */
.spotlight-section {
    text-align: center;
    margin: 40px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
}

.spotlight-section h2 {
    font-family: 'Jersey 10', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.spotlight-section p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}


/* Form Section Styling */
#form-section {
    margin: 20px auto; /* Center the form section */
    text-align: center; /* Center the heading and form */
    background-color: #f9f9f9; /* Light gray background */
    padding: 20px; /* Add padding around the form */
    border-radius: 10px; /* Rounded corners for a softer look */
    max-width: 90%; /* Keep the form responsive */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

/* Responsive Form Styling */
#form-section iframe {
    width: 100%; /* Full width */
    height: 14132px; /* Match the full height of the form */
    border: none; /* Remove iframe border */
    display: block; /* Ensure no inline gaps */
}

/* Search Section */
#search-section {
    margin: 20px auto;
    text-align: center;
}

#search-bar {
    padding: 10px;
    width: 50%;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Wrapper for each row (choice + indicator) */
.choice-wrapper {
    display: flex;
    align-items: center;
    margin: 5px 0;
    width: 100%;
}

/* Left column: Indicators (+1, 0, or ✓) */
.choice-indicator {
    width: 15%; /* Fixed width relative to the row */
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

/* Right column: Choice text */
.choice-text {
    flex: 1; /* Take the remaining space */
    padding: 10px; /* Space around the text */
    border-radius: 5px; /* Rounded corners */
    word-break: break-word; /* Handle long text gracefully */
    font-weight: bold; /* Always bold choices */
}

/* Styling for correct choices */
.choice.correct .choice-text {
    border: 2px solid #28a745; /* Green border */
    background-color: #d4edda; /* Light green background */
    color: #155724; /* Dark green text */
}

/* Styling for incorrect choices */
.choice.incorrect .choice-text {
    border: 2px solid #dc3545; /* Red border */
    background-color: #f8d7da; /* Light red background */
    color: #721c24; /* Dark red text */
}

/* Green "+1" indicator */
.choice-indicator.correct {
    color: #28a745; /* Green text */
}

/* Red "0" indicator */
.choice-indicator.incorrect {
    color: #dc3545; /* Red text */
}

/* Black "✓" indicator for correct answer */
.choice-indicator.correct-answer {
    color: #28a745; /* Black text */
}

/* Black Check for User's Entry When No Answer Is Available */
.choice-indicator.pending-answer {
    color: #007bff; /* Black text */
    font-weight: bold;
}

/* Style for VOID indicators */
.void-answer {
    color: red;
    font-weight: bold;
    font-size: 1.2rem;
}

.voided-question h3 {
  opacity: 0.75;
}

.voided-question h3::after {
  content: " (VOID)";
  color: red;
  font-weight: bold;
}

/* Legend Section */
#legend-section {
    text-align: center;
    margin: 20px auto;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    max-width: 600px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Legend Container */
.legend-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px;
}

/* Individual Legend Items */
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Icons for Different Indicators */
.legend-icon {
    font-weight: bold;
    font-size: 1.2rem;
    width: 20px;
    display: inline-block;
    text-align: center;
}

.legend-icon.correct {
    color: #28a745; /* Green for correct */
}

.legend-icon.incorrect {
    color: #dc3545; /* Red for incorrect */
}

.legend-icon.correct-answer {
    color: #28a745; /* Green for correct answer (not selected) */
}

.legend-icon.pending-answer {
    color: #007bff; /* Blue for user's selection when no answer is available */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .choice-wrapper {
        flex-wrap: wrap; /* Allow wrapping if space is constrained */
    }
    .choice-indicator {
        width: 20%; /* Slightly larger width for small screens */
    }
    .choice-text {
        padding: 8px; /* Adjust padding for smaller screens */
    }
}

/* User Details Section */
#user-details {
    margin: 20px auto;
    padding: 10px;
    max-width: 800px;
    text-align: center;
    background-color: #f9f9f9; /* Light gray background */
    border: 1px solid #ccc; /* Border for separation */
    border-radius: 5px; /* Rounded corners */
    display: none; /* Hide by default */
}

.user-details-card h3 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.user-details-card p {
    margin: 5px 0;
    font-size: 18px;
    color: #555;
}

/* Entries  Header Styling */
.entries-header {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
    border-radius: 10px;
    margin: 20px auto; /* Add some spacing */
    max-width: 800px; /* Optional: Limit width for aesthetics */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
}

.entries-header h1 {
    font-family: 'Jersey 10', sans-serif; /* Bold sports-style font */
    font-size: 2.5rem;
    color: #ffcc00; /* Gold color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add contrast with shadow */
    margin: 0;
}

.entries-header P {
    font-family: 'Arial', sans-serif; /* Simple complementary font */
    font-size: 1.2rem;
    color: #ffffff; /* White for readability */
    margin-top: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); /* Slight shadow for clarity */
}

/* Styling for the Entries Section */
#entries-section {
    padding: 20px;
    margin: 0 auto;
    max-width: 800px; /* Centered and limited width */
}

#entries-container {
    margin-top: 20px;
}

.question-block {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
}

.choice-wrapper {
    display: flex;
    align-items: center;
    margin: 5px 0;
    width: 100%;
}

.choice-indicator {
    width: 15%;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.choice-text {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    word-break: break-word;
    font-weight: bold;
}

.choice.correct .choice-text {
    border: 2px solid #28a745;
    background-color: #d4edda;
    color: #155724;
}

.choice.incorrect .choice-text {
    border: 2px solid #dc3545;
    background-color: #f8d7da;
    color: #721c24;
}

.indicator.correct {
    color: #28a745;
}

.indicator.incorrect {
    color: #dc3545;
}

.indicator.correct-answer {
    color: #000;
}

/* Tiebreaker Section */
.tiebreaker-section {
    border: 1px solid #ccc;
    padding: 10px 15px; /* Adjust padding for better layout */
    border-radius: 5px;
    background-color: #f9f9f9; /* Same background as questions */
    width: 100%;
    max-width: 800px; /* Match question block width */
    margin: 20px auto; /* Consistent spacing with other blocks */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    font-weight: bold;
    font-size: 16px;
}

.tiebreaker-section h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center; /* Center-align heading */
    color: #333; /* Neutral text color */
}

.tiebreaker-entry {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.tiebreaker-label {
    width: 30%; /* Aligns with choice indicators */
    text-align: left;
    font-weight: bold;
    font-size: 16px;
    color: #555; /* Neutral gray text color */
}

.tiebreaker-value {
    flex: 1; /* Allow content to stretch */
    padding: 10px;
    border-radius: 5px;
    background-color: #f7f7f7; /* Light background */
    border: 1px solid #ddd; /* Subtle border */
    font-size: 16px;
    color: #333; /* Neutral text color */
    word-break: break-word; /* Prevent overflow issues */
}

/* History Container */
#history-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin: 20px auto;
    padding: 20px;
    max-width: 1200px;
}

/* Year Section Styling */
.year-section {
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white */
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.year-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.super-bowl-name {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
    text-align: center; /* Ensure it's centered */
}

/* Trophy Showcase Layout */
.trophy-showcase {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

/* Trophy Container */
.trophy-container {
    position: relative;
    width: 200px;
    text-align: center;
}

.trophy-container img {
    width: 100%;
    height: auto;
}

.trophy-container .name {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: #000; /* Vibrant blue */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* Footer Styling */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Center the leaderboard container */
#winner-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 800px; /* Adjust as needed */
    margin: 0 auto; /* Centers it horizontally */
    padding: 20px; /* Optional: Adds spacing */
}
