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

/* GLOBAL */
body {
    font-family: 'Montserrat', sans-serif;
    background: #0a2a43; /* Dark Christmas blue */
    color: white; /* Default text color */
    line-height: 1.6;
    overflow-x: hidden;
}

/* LIGHTS BAR */
.lights {
    text-align: center;
    font-size: 2rem;
    padding: 15px 0 5px;
    letter-spacing: 4px;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 15px; /* Adjusted padding for better mobile spacing */
    background: #0a2a43; /* Dark Christmas blue for navbar */
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    backdrop-filter: blur(5px);
}

/* Enhanced Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1); /* Subtle background for visibility */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 4px; /* Increased thickness */
    background: gold; /* High contrast color */
    border-radius: 2px;
    transition: background 0.3s ease;
}

.hamburger-menu:hover span {
    background: white; /* Change color on hover */
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8); /* Glow effect */
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: white; /* Change logo and special text to white */
    text-shadow: none; /* Remove glow effects */
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: white; /* Change navigation links to white */
    text-decoration: none;
    font-weight: 600;
}

.nav-links a:hover {
    color: darkgreen; /* Dark Christmas green for hover effect */
}

/* Mobile View */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 15px;
        position: absolute;
        top: 60px;
        right: 15px;
        background: rgba(18, 74, 34, 0.95);
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }
}

/* MAIN CARD */
.container {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px;
    background: #0a2a43; /* Dark Christmas blue for main container */
    border: 2px solid white;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

/* HEADINGS */
h1, h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    color: white; /* Ensure all headings are white */
    text-shadow: none; /* Remove glow effects */
}

h1, h2, h3, h4, h5, h6 {
    color: white; /* Ensure all headings are white */
    text-shadow: none; /* Remove glow effects */
}

.gold-glow {
    color: white; /* Change logo and special text to white */
    text-shadow: none; /* Remove glow effects */
}

h2 {
    font-size: 1.9rem;
    color: white; /* Ensure all headings are white */
    text-shadow: none; /* Remove glow effects */
}

/* DIVIDER */
.divider {
    font-size: 1.5rem;
    margin: 20px auto;
    text-align: center;
    color: darkgreen; /* Keep divider text as dark Christmas green */
}

/* PARAGRAPH */
p {
    margin-bottom: 20px;
    font-size: 1.15rem;
}

/* BUTTONS */
.button-row {
    margin-top: 25px;
}

.btn {
    display: inline-block;
    padding: 14px 22px;
    margin: 0 10px 10px 0;
    background: darkgreen; /* Dark Christmas green for buttons */
    color: white; /* White text for contrast */
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: 0.2s;
}

.btn:hover {
    background: #013220; /* Slightly darker green on hover */
    transform: scale(1.05);
}

/* BUTTON SPARKLE */
.sparkle:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 160%;
    height: 200%;
    background: rgba(255,255,255,0.5);
    transform: rotate(30deg);
    opacity: 0;
    transition: 0.7s;
}

.sparkle:hover:after {
    opacity: 0.6;
    transform: translateX(100%) rotate(30deg);
}

/* HIGHLIGHT BLOCK */
.highlight {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid gold;
}

/* SNOWDRIFT WITHOUT IMAGES */
.snowdrift {
    margin-top: 60px;
    height: 160px;
    background: linear-gradient(white, transparent);
    border-radius: 50% 50% 0 0;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.snowflake {
    position: fixed;
    top: -10px;
    color: white;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(110vh) rotate(360deg); }
}

/* ACTIVE NAV ITEM */
.active-page {
    color: gold;
    text-decoration: underline;
}

/* GAME CARDS */
.game-list {
    display: grid;
    gap: 25px;
    margin-top: 30px;
}

.game-card {
    background: #0a2a43; /* Dark Christmas blue for game cards */
    border: 1px solid darkgreen;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 12px rgba(0,0,0,0.2);
}

.game-card h2 {
    margin-bottom: 8px;
    color: darkgreen; /* Keep headings as dark Christmas green */
    font-family: 'Playfair Display', serif;
}

.game-card p {
    margin: 5px 0;
    font-size: 1.05rem;
}

/* LEADERBOARD TABLE */
.leaderboard-section {
    margin-top: 30px;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #0a2a43; /* Dark Christmas blue for leaderboard table */
    border: 1px solid white;
    border-radius: 12px;
    overflow: hidden;
}

.leaderboard-table thead {
    background: darkgreen; /* Dark Christmas green for table header */
    color: white; /* White text for contrast */
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 14px;
    text-align: center;
    font-size: 1.1rem;
}

.leaderboard-table tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.05);
}

.leaderboard-table tbody tr:hover {
    background: rgba(255,255,255,0.12);
}

/* HALL OF FAME GRID */
.hall-of-fame {
    display: grid;
    gap: 20px;
    margin-top: 25px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hof-card {
    background: #0a2a43; /* Dark Christmas blue for hall of fame cards */
    border: 1px solid darkgreen;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 12px rgba(0,0,0,0.2);
}

.hof-card h3 {
    color: darkgreen; /* Keep headings as dark Christmas green */
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

/* ABOUT PAGE LIST */
.about-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0 20px;
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-list li {
    margin-left: 0;
}

/* CALLOUT BOX */
.callout {
    background: #0a2a43; /* Dark Christmas blue for callout boxes */
    border: 1px solid darkgreen; /* Dark Christmas green border */
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    margin: 15px 0;
    font-size: 1.2rem;
}

/* YEAR RESULTS HEADER SUBTITLES */
.year-results h3 {
    color: darkgreen; /* Keep headings as dark Christmas green */
    margin-bottom: 6px;
    font-family: 'Playfair Display', serif;
}

/* PHOTO PLACEHOLDERS */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.photo-placeholder {
    background: #0a2a43; /* Dark Christmas blue for photo placeholders */
    border: 1px solid darkgreen; /* Dark Christmas green border */
    border-radius: 8px;
    font-size: 3rem;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 0 12px rgba(0,0,0,0.2);
}

/* Standardize photo sizes in the photo grid */
.photo-grid img {
    width: 100%; /* Make images responsive */
    max-width: 300px; /* Set a maximum width for images */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure images fill the space proportionally */
    border-radius: 8px; /* Optional: Add rounded corners */
    margin: 10px; /* Add spacing between images */
}
