body {
    font-family: 'Roboto Mono', monospace; /* Основной текст */
    margin: 0;
    padding: 0;
    background-color: #0d0d1a; /* Очень темный сине-фиолетовый фон */
    color: #00ffc8; /* Неоновый бирюзовый текст */
    line-height: 1.6;
    overflow-x: hidden; /* Избежать горизонтальной прокрутки */
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

header {
    background-color: #1a0d26; /* Темный фиолетовый */
    color: #ff00ff; /* Неоновый розовый */
    padding: 40px 0;
    text-align: center;
    border-bottom: 2px solid #00ffc8;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5); /* Неоновое свечение */
}

header h1 {
    font-family: 'Major Mono Display', monospace; /* Футуристичный шрифт */
    font-size: 3.5em;
    margin: 0;
    text-shadow: 0 0 15px #00ffc8;
}

header h2 {
    font-family: 'Press Start 2P', cursive; /* Пиксельный шрифт */
    font-size: 1.2em;
    margin: 10px 0 0;
    color: #00aaff; /* Неоновый синий */
}

section {
    padding: 60px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

section:nth-of-type(even) { /* Чередование фонов для секций */
    background-color: #150a20;
}

section#intro, section#cta {
    background-color: #0d0d1a;
    color: #00ffc8;
}

h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8em;
    color: #ffcc00; /* Яркий желтый */
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.7);
}

p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #00e0b8;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.cyber-img {
    width: 100%;
    height: 200px; /* Фиксированная высота для единообразия */
    object-fit: cover; /* Обрезка изображения для заполнения */
    border: 2px solid #00aaff;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cyber-img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.8), 0 0 35px rgba(0, 255, 200, 0.8);
    border-color: #ff00ff;
}

.caption {
    font-style: italic;
    color: #9999ff; /* Более приглушенный фиолетовый */
    margin-top: 30px;
    font-size: 0.9em;
}

.btn {
    display: inline-block;
    background-color: #ff00ff; /* Неоново-розовая кнопка */
    color: #0d0d1a; /* Темный текст на кнопке */
    padding: 15px 30px;
    text-decoration: none;
    font-family: 'Press Start 2P', cursive;
    font-size: 1em;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #00ffc8;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.btn:hover {
    background-color: #00ffc8; /* Бирюзовая кнопка при наведении */
    color: #1a0d26;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.8), 0 0 30px rgba(255, 0, 255, 0.8);
}

footer {
    background-color: #1a0d26;
    color: #ff00ff;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #00aaff;
    font-size: 0.8em;
}

/* Добавляем немного эффектов киберпанк-глитча для текста */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

header h1:hover, h3:hover {
    animation: glitch 0.2s infinite;
}
/* ========================================= */
/* === Медиазапрос для СМАРТФОНОВ (до 600px) === */
/* ========================================= */
@media (max-width: 600px) {
    
    .container {
        width: 90%; /* Используем больше места на узком экране */
    }

    /* Уменьшаем шрифты заголовков */
    header h1 {
        font-size: 2.5em; 
    }

    header h2 {
        font-size: 0.9em;
    }

    h3 {
        font-size: 1.5em; 
    }

    p {
        font-size: 1em;
    }
    
    /* Сетка галереи: делаем изображения вертикальными */
    .image-grid {
        grid-template-columns: 1fr; /* Один столбец */
        gap: 15px;
    }
    
    .cyber-img {
        height: auto; /* Позволяем высоте подстраиваться под ширину */
    }

    /* Кнопка */
    .btn {
        font-size: 0.9em;
        padding: 12px 20px;
    }
    
    /* Отступы */
    section {
        padding: 40px 0;
    }
}
