body {
    font-family: 'Oswald', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column; /* A gombok és logó egymás alatt legyenek */
    justify-content: flex-start; /* A tartalom a tetején marad */
    align-items: center; /* Középre igazítja a gombokat */
    background: url('https://bukidani.hu/images/background.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* A háttér statikusan marad */
    overflow-y: auto; /* Görgethető oldal */
}

.logo-container {
    margin-top: 50px; /* Logó 50px távolságra a képernyő tetejétől */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.logo {
    width: 170px;
}

/* Kisebb képernyőre optimalizált CSS */
@media screen and (max-width: 600px) {
    .logo {
        width: 120px !important; /* Mobilon kisebb méret */
        margin-bottom: 20px;
    }

    .button-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1px;
        margin-top: 60px;
    }

    .button {
        width: 80%;
        max-width: 300px;
        text-align: center;
        padding: 12px 0;
    }
}

/* Asztali verzió */
.button-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    margin-top: 60px;
}

.link-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    margin: 5px auto;
    padding: 10px;
    font-size: 35px;
    text-decoration: none;
    color: white;
    background: #d82bd7;
    border-radius: 20px;
    transition: 0.3s;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.6);
    box-shadow: inset 0px 4px 10px rgba(0, 0, 0, 0.3);
}
/* Ez a rész biztosítja, hogy a többi gomb megőrizze a régi hover effektet */
.link-button:not(#merch-button):hover {
    background: #970b97;
    transform: scale(1.1);
    box-shadow: inset 0px 6px 15px rgba(0, 0, 0, 0.5);
}

/* Ez a Merch gomb alap stílusa és hover előkészítése */
#merch-button {
    background: #d82bd7; /* Vagy az eredeti lila szín, ha az jobb */
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease; /* Hozzáadtam, hogy a méretnövekedés is sima legyen */
}

/* Ez a szivárvány háttér maga, ami alapból rejtett */
#merch-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -200%;
    width: 400%;
    height: 100%;
    background: linear-gradient(to right,
        #ff0000,
        #ff7f00,
        #ffff00,
        #00ff00,
        #0000ff,
        #4b0082,
        #9400d3,
        #ff0000
    );
    background-size: 50% 100%;
    transition: none; /* Fontos, hogy ez ne legyen átmenetes */
    z-index: -1;
    opacity: 0;
}

/* Ez történik, ha az egér a Merch gomb fölé megy */
#merch-button:hover {
    transform: scale(1.1); /* Itt adjuk hozzá a méretnövekedést a Merch gombhoz is */
}

#merch-button:hover::before {
    opacity: 1;
    animation: rainbowMove 2s linear infinite;
}

/* Az animáció definíciója */
@keyframes rainbowMove {
    0% {
        left: -200%;
    }
    100% {
        left: 0%;
    }
}