html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #3b3b3b;
    text-align: center;
    color: whitesmoke;
}

h1 {
    padding: 10vh;
    margin: 0;
    background-color: #2c2c2c;
}

h2 {
    width: 100%;
    background-color: #2c2c2c;
}

body {
    background: linear-gradient(135deg, #1e1e2f 0%, #3a2d4d 100%);
    color: #fff;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

h1 {
    text-align: center;
    font-size: 2.8rem;
    margin-top: 2rem;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px #000, 0 1px 0 #fff2, 0 0px 8px #ffbfff88;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin: 2.5rem auto 0 auto;
    max-width: 1600px;
    padding: 1.5rem;
    background: rgba(30, 30, 47, 0.85);
    border-radius: 2rem;
    box-shadow: 0 8px 40px 0 #000a, 0 1.5px 0 #fff1;
}

button {
    background: linear-gradient(135deg, #2e2e4d 60%, #4d2d5a 100%);
    border: none;
    border-radius: 1.2rem;
    padding: 0.5rem;
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
    cursor: pointer;
    box-shadow: 0 2px 12px 0 #0006;
    outline: none;
    position: relative;
    min-width: 120px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

button:active {
    transform: scale(0.97);
    background: linear-gradient(135deg, #4d2d5a 60%, #2e2e4d 100%);
}

button:hover {
    box-shadow: 0 0 32px 8px #ffbfff44, 0 2px 12px 0 #0008;
    background: linear-gradient(135deg, #3a2d4d 60%, #5a2d4d 100%);
}

.card-img {
    width: 110px;
    height: 130px;
    object-fit: contain;
    border-radius: 0.8rem;
    box-shadow: 0 2px 16px 0 #0007, 0 0px 8px #ffbfff33;
    background: #22223a;
    transition: filter 0.2s, box-shadow 0.2s;
    border: 2px solid #fff2;
}

button:active .card-img,
button:focus .card-img {
    box-shadow: 0 0 32px 8px #ffbfff99, 0 2px 12px 0 #0008;
    border: 2px solid #ffbfff;
}

@media (max-width: 900px) {
    .cards-container {
        gap: 0.7rem;
        padding: 0.5rem;
    }
    .card-img {
        width: 80px;
        height: 95px;
    }
    button {
        min-width: 80px;
        min-height: 80px;
    }
    h1 {
        font-size: 2rem;
    }
}

::-webkit-scrollbar {
    width: 10px;
    background: #2e2e4d;
}
::-webkit-scrollbar-thumb {
    background: #4d2d5a;
    border-radius: 8px;
}

img {
    user-select: none;
    -webkit-user-drag: none;
}