.cartoon-section {
    padding: 20px 50px;
    color: #193046;
    margin: 0 auto;
    text-align: center;
}

.centered {
    text-align: center;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 10px;
    padding: 20px;
}

@media (max-width: 425px) {
    .grid-container {
        grid-template-columns: repeat(1, minmax(150px, 1fr));
        padding: 0;
    }

    .cartoon-section {
        padding: 10px 20px;
    }
}

/* Popup Overlay */
.img-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.img-popup-overlay.active {
    display: flex;
}

/* Popup Image */
.popup-big-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

/* Top Right Buttons */
.popup-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 10000;
}

.popup-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 28px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.popup-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}