/* --- Import Font --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* --- General Styles --- */
:root {
    --bg-color: #121212;
    --primary-color: #d4af37;
    /* Gold Color */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background: url('images/background-exoth.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
}

/* --- Particle Canvas Background --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Place it behind all content */
}

/* --- Main Container --- */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
}

/* --- Header & Logo --- */
.header {
    margin-bottom: 2.5rem;
}

.logo {
    max-width: 100px;
    height: auto;
    display: block;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: 2px;
}

/* --- Logo Container with Christmas Hat --- */
.logo-container {
    position: relative;
    display: inline-block;
    padding: 0;
    margin-bottom: 1rem;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

/* Christmas Hat on top-right of logo */
.logo-container::after {
    content: '';
    position: absolute;
    top: -20px;
    /* Position on top of logo */
    right: 390px;
    /* Slight offset to the right corner */
    width: 45px;
    /* Size of the hat */
    height: 45px;
    background-image: url('images/christmas-santa-claus-red-and-white-hat-isolated-on-transparent-background-png.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
    transform: rotate(20deg);
    /* Tilt to make it look natural */
}

/* --- Button Grid --- */
.button-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.promo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    flex: 0 1 220px;
}

.promo-link:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
}

.promo-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 2px solid transparent;
}

.promo-link:hover .promo-image {
    border-color: var(--primary-color);
}

/* --- Main Promotion Section --- */
.main-promotion {
    margin-top: 3rem;
    display: flex;
    /* center child */
    justify-content: center;
    /* center horizontally */
}

.main-promotion-link {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease-in-out;
    width: 100%;
    /* full width on mobile */
    max-width: none;
    /* no cap on mobile */
}

.main-promotion-link:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.main-promotion-image {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Footer --- */
.footer {
    margin-top: 3rem;
    padding: 1rem;
    font-size: 0.8rem;
    color: #ddd;
}

/* --- Mobile Responsive Adjustments --- */
@media (max-width: 768px) {
    .button-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .container {
        padding: 1.5rem 1rem;
        justify-content: flex-start;
    }

    .header {
        margin-bottom: 2rem;
    }

    .main-promotion {
        margin-top: 2rem;
    }
}

/* --- Desktop-only: make promo smaller & centered --- */
@media (min-width: 1024px) {
    .main-promotion-link {
        max-width: 600px;
        /* adjust size as needed */
        margin: 0 auto;
        /* center fallback */
    }
}