/* Основной стиль сайта */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; font-family: 'Montserrat', sans-serif; }
body { display: flex; flex-direction: column; }
.content { flex: 1 0 auto; padding: 40px 20px; max-width: 1200px; margin: 0 auto; width: 100%; }
.footer { flex-shrink: 0; background: #222; color: white; text-align: center; padding: 20px; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 50px; }
.nav-links { display: flex; list-style: none; gap: 20px; }
/* Твой стиль Профи */
body { background: #fdfdfd; color: #2c3e50; }
.navbar { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.nav-btn { color: #2c3e50; text-decoration: none; padding: 8px 15px; border-radius: 20px; transition: 0.3s; }
.nav-btn:hover { background: #2c3e50; color: #fff; transform: translateY(-3px); } /* Кнопка подпрыгивает */
/* Твой стиль Витрина
body { background: #fff5e6; color: #444; }
.navbar { background: #ff9f43; color: white; }
.nav-btn { color: white; text-decoration: none; border-bottom: 2px solid transparent; transition: 0.3s; font-weight: bold; }
.nav-btn:hover { border-bottom: 2px solid white; letter-spacing: 1px; } /* Текст кнопки плавно растягивается */
/* Твой стиль Геймер
body { background: #0f0c29; color: #00ffcc; }
.navbar { background: #1b1b1b; border-bottom: 2px solid #00ffcc; }
.nav-btn { color: #00ffcc; border: 1px solid #00ffcc; padding: 8px 15px; text-decoration: none; border-radius: 5px; transition: 0.3s; }
.nav-btn:hover { background: #00ffcc; color: #000; box-shadow: 0 0 15px #00ffcc; transform: scale(1.1); } /* Кнопка увеличивается и светится */
/* === БЛОК КАРТОЧЕК === */
/* 1. Заголовок страницы */
.page-title {
margin-bottom: 40px;
font-size: 32px;
/* ПОДСКАЗКА: Для Профи смени цвет на #2c3e50, для Витрины на #d63031 */
color: #2c3e50;
}
/* 2. Сетка для карточек */
.card-grid {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}
/* 3. Сама карточка */
.card {
width: 280px;
/* ПОДСКАЗКА: Для Профи поставь white, для Витрины #fff5f5 */
background: rgba(32, 31, 31, 0.9);
/* ПОДСКАЗКА: Для Профи смени на #3498db, для Витрины на #ff7675 */
border: 1px solid #00ffcc;
border-radius: 15px;
padding: 20px;
text-align: center;
transition: 0.3s;
display: flex;
flex-direction: column;
}
/* 4. Картинка внутри */
.card img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 10px;
}
/* 5. Текст описания (выравнивает кнопки) */
.card p {
flex-grow: 1;
margin: 15px 0 20px 0;
font-size: 14px;
/* ПОДСКАЗКА: Для Профи и Витрины поставь цвет #333 */
color: #00ffcc;
}
/* 6. Эффект при наведении */
.card:hover {
transform: translateY(-10px);
/* ПОДСКАЗКА: Цвет тени тоже можно сменить под свою тему */
box-shadow: 0 10px 20px rgba(0, 255, 204, 0.2);
}
/* 7. Кнопка внутри карточки */
.card .nav-btn {
display: inline-block;
margin-top: auto;
width: 100%; /* Делает кнопку на всю ширину карточки */
}