
        :root {
            --bg-color: #0b0b0b;
            --accent-red: #ff0000;
            --gold: #ffd700;
            --text-white: #ffffff;
            --btn-gradient: linear-gradient(90deg, #ff0000, #8b0000, #ff0000);
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-white);
            font-family: 'Arial Black', Gadget, sans-serif;
            margin: 0;
            padding: 10px;
            display: flex;
            justify-content: center;
        }

        #wrap {
            width: 100%;
            max-width: 900px;
            text-align: center;
        }

        /* Сетка изображений с эффектом VIEW */
       
.images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    align-items: start; /* Выравнивание по верхнему краю */
}

.img-container {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #333;
    background: #000;
    /* Убрали aspect-ratio, чтобы не было обрезки */
}

.img-container img {
    width: 100%;
    height: auto; /* Картинка сохранит свои пропорции целиком */
    display: block;
    transition: all 0.4s ease;
}

/* Адаптивность для мобильных */
@media (max-width: 800px) {
    .images-grid { grid-template-columns: repeat(2, 1fr); } /* 2 колонки на планшетах */
}
@media (max-width: 480px) {
    .images-grid { grid-template-columns: 1fr; } /* 1 колонка на телефонах */
}

        .overlay-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #ffffff;
            font-size: 2.5rem;
            font-weight: 900;
            opacity: 0;
            transition: all 0.4s ease;
            z-index: 2;
            text-shadow: 2px 2px 15px rgba(0,0,0,1);
            pointer-events: none;
        }

        .img-container:hover img {
            filter: brightness(0.3) blur(1px);
            transform: scale(1.08);
        }

        .img-container:hover .overlay-text {
            opacity: 1;
            letter-spacing: 4px;
        }

        /* Кнопка CLOSE (600x80) со скруглением и анимацией */
        .close-wrapper {
            display: flex;
            justify-content: center;
            margin: 30px auto;
        }

        .close-img-fixed {
            width: 600px !important;
            height: 80px !important;
            object-fit: fill;
            border-radius: 15px;
            border: 2px solid var(--accent-red);
            display: block;
            animation: pulse-close 2s infinite ease-in-out;
            box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
        }

        @keyframes pulse-close {
            0% { transform: scale(1); filter: brightness(1); }
            50% { transform: scale(1.02); filter: brightness(1.3); box-shadow: 0 0 20px rgba(255, 0, 0, 0.6); }
            100% { transform: scale(1); filter: brightness(1); }
        }

        /* Основные красные кнопки */
        .links-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin: 40px 0;
        }

        .action-link {
            background: var(--btn-gradient);
            background-size: 200% 200%;
            animation: pulse-btn 2s infinite, gradient-move 3s ease infinite;
            padding: 25px;
            border-radius: 15px;
            text-decoration: none;
            border: 2px solid #fff;
            display: block;
        }

        @keyframes pulse-btn {
            0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
            70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(255, 0, 0, 0); }
            100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
        }

        @keyframes gradient-move {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .action-link .primary {
            display: block;
            font-size: 2.2rem;
            color: #fff;
            text-transform: uppercase;
            text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
        }

        .action-link .secondary {
            display: block;
            font-size: 1.1rem;
            color: var(--gold);
            margin-top: 8px;
        }

        /* Футер */
        .footer {
            background: #000;
            padding: 30px 15px;
            margin-top: 50px;
            border-radius: 15px;
            font-size: 0.8rem;
            color: #555;
            font-family: Arial, sans-serif;
        }

        .footer a { color: #888; text-decoration: underline; }

        @media (max-width: 620px) {
            .close-img-fixed { width: 100% !important; height: auto !important; }
        }
  
