:root {
    --color-black: #0a0a0a;
    --color-black-light: #1a1a1a;
    --color-gold: #D4AF37;
    --color-gold-light: #F4C430;
    --color-white: #f5f5f5;
    --color-text-muted: #cccccc;

    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
    line-height: 1.6;
    position: relative;
    /* For context */
}

#fireworks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    /* In front of everything */
    pointer-events: none;
    /* Click through */
}

/* Header */
.main-header {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(to bottom, #000 0%, #111 100%);
    border-bottom: 2px solid var(--color-gold);
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .logo {
        flex-direction: row;
        gap: 2rem;
    }
}

.header-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
    animation: floatLogo 4s ease-in-out infinite;
}

.main-header h1 {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.animate-title {
    animation: glowText 3s ease-in-out infinite alternate;
}

.animate-subtitle {
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards 0.5s;
}

.main-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Keyframes */
@keyframes floatLogo {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes glowText {
    from {
        text-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
    }

    to {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 0 0 10px #F4C430;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    background-color: rgba(10, 10, 10, 0.95);
    z-index: 100;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid #333;
}

.nav-btn {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-btn:hover,
.nav-btn.active {
    background: var(--color-gold);
    color: var(--color-black);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Grid */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Award Card */
.award-card {
    background-color: var(--color-black-light);
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.15);
    border-color: var(--color-gold);
}

.image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Keep it square as photos are 1000x1000 */
    overflow: hidden;
    background-color: #000;
}

.photo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}



.card-content {
    padding: 1.5rem;
    text-align: center;
}

.card-year {
    color: var(--color-gold);
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #333;
    display: inline-block;
    padding-bottom: 2px;
}

.card-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.card-category {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.card-discipline {
    font-weight: bold;
    color: var(--color-gold-light);
    margin-bottom: 0.5rem;
}

.card-merit {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-header h1 {
        font-size: 1.8rem;
    }

    .awards-grid {
        grid-template-columns: 1fr;
        /* Full width on mobile */
    }

    .nav-btn {
        flex: 1 1 40%;
        font-size: 0.8rem;
        padding: 0.5rem;
    }
}