* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: #0f0f12;
    color: white;
}

header {
    text-align: center;
    padding: 20px;
    font-size: 1.5rem;
    background: #15151a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 15px;
}

.menu button {
    background: #1f1f27;
    border: 1px solid #2d2d38;
    color: white;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.menu button:hover {
    background: #ff2e63;
    border-color: #ff2e63;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    padding: 15px;
}

.card {
    background: #1a1a22;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.card img {
    width: 100%;
    display: block;
    cursor: pointer;
}

.like {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.like.liked {
    color: #ff2e63;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

@media (max-width: 600px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    header {
        font-size: 1.2rem;
    }
}

.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.96);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.age-box {
    background: #16161d;
    max-width: 500px;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

.age-box h2 {
    margin-top: 0;
}

.age-box p {
    opacity: 0.85;
    line-height: 1.5;
}

.age-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.age-buttons button {
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.accept {
    background: #ff2e63;
    color: white;
}

.decline {
    background: #2b2b36;
    color: #aaa;
}

