body {
    margin: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100vh;
    background-color: #121212;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 98vw;
    padding: 20px;
}

.gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 12px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6); 
    filter: brightness(1.1) contrast(1.05);
}

#age-gate { 
    position: fixed;
    inset: 0;
    background: black;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
}

.age-box {
    text-align: center;
    color: white;
    max-width: 420px;
    padding: 30px;
}

.age-box h1 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.age-box p {
    opacity: 0.85;
    margin-bottom: 25px;
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.age-buttons button {
    padding: 12px 22px;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    background: #1a1a1a;
    color: white;
    border: 1px solid #333;
    border-radius: 999px; 
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.age-buttons button:hover {
    background: #333;
    transform: translateY(-1px);
}

.age-buttons button:active {
    transform: translateY(0);
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
    }

    .gallery img:hover {
        outline: 2px solid white;
    }
}
