/* Размытие только для изображений */
/* Стиль для контейнера размытия */
.blur-container {
    position: relative;
    overflow: hidden;
    display: inline-block; /* Для корректного отображения */
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.01); /* Почти прозрачный слой */
    backdrop-filter: blur(20px); /* Размытие фона */
    z-index: 1;
	pointer-events: none; /* Позволяет кликать на ссылки */
}

img {
    transition: filter 0.5s ease;
}

/* Скрываем посты до обработки */
.grid-items .item {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Показываем после обработки */
.grid-items .item.processed {
    opacity: 1;
}

/* Размытие для взрослого контента */
.blurred-image {
    filter: blur(20px);
    transition: filter 0.5s ease;
}

/* Модальное окно */
#age-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    z-index: 10000;
}

.modal-content h3 {
    color: #d9534f;
    margin-bottom: 15px;
}

.modal-content button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

#confirm-age-yes {
    background: #5cb85c;
    color: white;
}

#confirm-age-yes:hover {
    background: #4cae4c;
}

#confirm-age-no {
    background: #d9534f;
    color: white;
}

#confirm-age-no:hover {
    background: #c9302c;
}