/* Общие стили */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #2c3e50;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #4CAF50, #26A69A);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Hero Section - новая структура */
.hero-section {
    min-height: auto;
    padding-top: 140px !important; /* Отступ для фиксированного меню */
    padding-bottom: 60px !important;
}

.hero-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.02);
}

/* Эффект приподнятости для кнопки */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 152, 0, 0.4) !important;
}

/* Hero Section - стили для заголовков */
.subtitle-game {
    font-size: 1.75rem;
    font-weight: 600;
    color: #4CAF50; /* Зелёный цвет */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem !important;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

/* Адаптивность для заголовков */
@media (max-width: 992px) {
    .main-title {
        font-size: 2.75rem;
    }
    
    .subtitle-game {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.25rem;
    }
    
    .subtitle-game {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }
    
    .hero-section {
        padding-top: 120px !important;
        padding-bottom: 40px !important;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.25rem;
    }
    
    .hero-image-container {
        border-radius: 15px;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 1.85rem;
    }
    
    .subtitle-game {
        font-size: 1.1rem;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .btn-lg.px-5.py-3 {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    .hero-image-container {
        width: 100%;
    }
}

/* Карточки с результатами */
.result-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.result-item:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #4CAF50;
}

/* Иконка галочки */
.icon-check {
    background-color: #4CAF50;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
}

.result-text {
    margin-bottom: 0;
    font-size: 1.05rem;
    color: #333;
    line-height: 1.5;
}

/* Акцентный блок (Главное) */
.highlight-box {
    background: linear-gradient(135deg, #E8F5E9, #F1F8E9);
    border: 2px dashed #4CAF50; /* Пунктир как на игровом поле */
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.highlight-title {
    color: #2E7D32;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.highlight-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1B5E20;
    line-height: 1.6;
}

/* Адаптивность для акцентного блока */
@media (max-width: 768px) {
    .highlight-text {
        font-size: 1.05rem;
    }
    .highlight-box {
        padding: 20px;
    }
}

/* Карточки запросов */
.request-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    height: 100%;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.request-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #26A69A, #FF9800);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.request-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #4CAF50;
}

.request-card:hover::before {
    transform: scaleX(1);
}

.card-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

.request-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.request-card .card-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Разные цвета для номеров карточек (опционально) */
.request-card:nth-child(3n+1) .card-number {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
}

.request-card:nth-child(3n+2) .card-number {
    background: linear-gradient(135deg, #26A69A, #4DB6AC);
}

.request-card:nth-child(3n) .card-number {
    background: linear-gradient(135deg, #FF9800, #FFB74D);
}

/* Адаптивность для карточек запросов */
@media (max-width: 768px) {
    .request-card {
        padding: 25px 20px;
    }
    
    .card-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .request-card .card-title {
        font-size: 1.1rem;
        min-height: 45px;
    }
}

@media (max-width: 576px) {
    .request-card {
        padding: 20px 15px;
    }
    
    .card-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 15px;
    }
}

/* Раздел Ведущая */
.leader-photo-container {
    position: relative;
    display: inline-block;
    width: 280px;
    height: 280px;
}

.leader-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.leader-photo-container:hover .leader-photo {
    transform: scale(1.02);
}

/* Бейдж с опытом */
.photo-badge {
    position: absolute;
    bottom: 20px;
    right: 10px;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    padding: 15px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
    animation: pulse 2s infinite;
}

.photo-badge span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.photo-badge small {
    font-size: 0.85rem;
    opacity: 0.9;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.leader-name {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 700;
}

.leader-titles .badge {
    font-size: 1rem;
    padding: 8px 16px;
    font-weight: 600;
}

.leader-info {
    padding-left: 20px;
}

/* Особенности ведущей */
.leader-feature {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.leader-feature:hover {
    background: #e8f5e9;
    transform: translateX(5px);
}

.feature-icon {
    font-size: 2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    color: #4CAF50;
    font-size: 1.1rem;
}

.feature-text span {
    color: #666;
    font-size: 0.9rem;
}

/* Цитата */
.leader-quote {
    border-left: 4px solid #4CAF50;
    padding-left: 20px;
    margin-top: 30px;
    font-style: italic;
    color: #555;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 0 15px 15px 0;
}

.leader-quote p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Адаптивность для раздела Ведущая */
@media (max-width: 992px) {
    .leader-photo-container {
        width: 240px;
        height: 240px;
    }
    
    .leader-name {
        font-size: 2rem;
        text-align: center;
    }
    
    .leader-titles {
        text-align: center;
    }
    
    .leader-info {
        padding-left: 0;
        text-align: center;
    }
    
    .leader-feature {
        text-align: left;
    }
    
    .leader-quote {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .leader-photo-container {
        width: 200px;
        height: 200px;
    }
    
    .photo-badge {
        padding: 10px 15px;
        bottom: 15px;
        right: 5px;
    }
    
    .photo-badge span {
        font-size: 1.2rem;
    }
    
    .leader-name {
        font-size: 1.75rem;
    }
    
    .leader-titles .badge {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .leader-feature {
        padding: 12px;
    }
    
    .feature-icon {
        font-size: 1.5rem;
        margin-right: 10px;
    }
}

@media (max-width: 576px) {
    .leader-photo-container {
        width: 180px;
        height: 180px;
    }
    
    .leader-info {
        margin-top: 30px;
    }
    
    .leader-quote p {
        font-size: 1rem;
    }
}

/* Контейнер карточки форматов */
.price-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%; /* Гарантия одинаковой высоты */
}

.price-card:hover {
    transform: translateY(-5px);
}

/* Верхняя часть (шапка) */
.card-top {
    padding: 40px 20px 30px;
    text-align: center;
    color: white;
    position: relative;
}

.group-theme {
    background: linear-gradient(135deg, #26A69A 0%, #80CBC4 100%);
}

.individual-theme {
    background: linear-gradient(135deg, #FF9800 0%, #FFE0B2 100%);
}

.icon-wrapper {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.card-top h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.2;
    min-height: 2.4em; /* Фиксируем высоту заголовка в 2 строки */
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-header {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Тело карточки */
.card-body-custom {
    padding: 30px 40px 40px;
    flex-grow: 1; /* Растягивает тело на всю доступную высоту */
    display: flex;
    flex-direction: column;
}

/* Цена */
.price-block {
    text-align: center;
    margin-bottom: 25px;
    color: #2c3e50;
    display: flex;
    align-items: baseline; /* Выравнивание по базовой линии текста */
    justify-content: center;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: #2c3e50;
}

.currency-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #555;
    margin-left: 5px;
    text-transform: lowercase; /* Чтобы было "руб.", а не "РУБ." если вдруг */
}

/* Список преимуществ */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1; /* Толкает кнопку вниз */
}

.benefits-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li::before {
    content: '✔';
    color: #4CAF50;
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Кнопки */
.btn-custom-group {
    background-color: transparent;
    border: 2px solid #26A69A;
    color: #26A69A;
    transition: all 0.3s;
}

.btn-custom-group:hover {
    background-color: #26A69A;
    color: white;
}

.btn-custom-individual {
    background-color: transparent;
    border: 2px solid #FF9800;
    color: #FF9800;
    transition: all 0.3s;
}

.btn-custom-individual:hover {
    background-color: #FF9800;
    color: white;
}

/* Адаптивность для форматов */
@media (max-width: 991px) {
    .price-card {
        max-width: 500px; /* Ограничиваем ширину на планшетах */
        margin: 0 auto;   /* Центрируем */
    }
    
    .card-body-custom {
        padding: 25px 30px 30px;
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Тени и отступы */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}