body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #e0e0e0;
}

#grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 10px;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#grid img:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 8px rgba(0,0,0,0.5);
    cursor: pointer;
}

#grid img.active {
    box-shadow: 0px 0px 15px 5px rgba(255, 165, 0, 0.75);
}

.adsbygoogle {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}

.skeleton {
    background: #ccc;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% { background-color: #eee; }
    50% { background-color: #ccc; }
    100% { background-color: #eee; }
}
