@import url('https://fonts.cdnfonts.com/css/minecraft-4');

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

body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    font-family: 'Minecraft', 'Minecraftia', monospace;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.6s ease, background-color 0.6s ease;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.45);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.6s ease;
}

.container {
    text-align: center;
    padding: 20px;
    max-width: 800px;
    width: 90%;
}

.logo {
    max-width: 400px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.7));
}

h1 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.store {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.store img {
    width: 300px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.store:hover img {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

.store span {
    margin-top: 10px;
    font-size: 1.2rem;
}

footer {
    margin-top: 50px;
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Light-mode override when background is dark */
body.light-mode {
    color: #222;
}
body.light-mode .overlay {
    background-color: rgba(255, 255, 255, 0.45);
}
body.light-mode h1 {
    text-shadow: 2px 2px 6px rgba(255,255,255,0.8);
}

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

    .store img {
        width: 190px;
    }

    .store-buttons {
        gap: 20px;
    }
}
