/* 🌙 Общий фон и стиль */
body {
    font-family: 'Manrope', sans-serif;
    background-color: #121212;
    color: #fff;
    text-align: center;
    padding: 10px;
    margin: 0;
}

/* 🔥 Заголовок */
h1 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* ✍ Вводный текст (увеличен и белый) */
.intro {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 500;
}

/* 📌 Контейнер для кейсов */
.container {
    max-width: 90%;
    margin: 0 auto;
    padding-bottom: 100px; /* ✅ Отступ перед нижней навигацией */
}

/* 🔳 Карточка кейса */
.case {
    background: linear-gradient(145deg, #1c1c1c, #222222);
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    transform: scale(0.95);
    opacity: 0.8;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

/* 🎯 Карточка в центре экрана */
.case.active {
    transform: scale(1.05);
    opacity: 1;
    box-shadow: 6px 6px 15px rgba(255, 152, 0, 0.6);
}

/* 🎭 Эффект при наведении */
.case:hover {
    transform: scale(1.05);
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.6);
}

/* 🟡 Картинка кейса */
.case img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff9800;
    outline: 1px solid #ffa726;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

/* 🔥 Эффект при наведении */
.case img:hover {
    transform: scale(1.1);
    border-color: #ffa726;
}

/* 📜 Текст в кейсе */
.case-text {
    text-align: left;
    flex: 1;
}

/* ✅ Ниша */
.case-text p.niche {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}

/* 🎯 Оранжевый */
.case-text p.niche span {
    color: #ff9800;
}

/* 📌 Остальные тексты */
.case-text p.label {
    color: #a0a0a0;
    font-size: 14px;
}

.case-text p.label span {
    color: #bbbbbb;
}

/* 📱 Адаптация */
@media (max-width: 400px) {
    .case {
        flex-direction: column;
        text-align: center;
    }

    .case img {
        margin-bottom: 10px;
    }
}



/* 🎯 Карточка с оффером (выравниваем контент по центру) */
.offer-case {
    background: linear-gradient(145deg, #1c1c1c, #222222); /* Как у обычных карточек */
    border-radius: 12px;
    padding: 20px;
    margin: 10px 0;
    box-shadow: 0px 0px 15px rgba(255, 152, 0, 0.6); /* Подсветка */
    display: flex;
    align-items: center;
    flex-direction: column;  /* ✅ Центрируем по вертикали */
    justify-content: center; /* ✅ Центрируем по горизонтали */
    text-align: center; /* ✅ Выравниваем текст */
    gap: 15px; /* ✅ Разрыв между текстом и кнопкой */
    transform: scale(0.95);
    opacity: 0.9;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    animation: fadeIn 0.5s ease-in-out;
}

/* 🔥 Текст в оффере */
.offer-text {
    font-size: 18px;
    font-weight: bold;
    color: #ff9800;
    text-align: center; /* ✅ Выравниваем текст */
}

/* 🟡 Кнопка оффера (оранжевая) */
.offer-button {
    background: #ff9800;
    color: #222;
    border: none;
    padding: 12px 18px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.offer-button:hover {
    background: #e68900;
    transform: scale(1.05);
}

/* 🎭 Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
