/* Основной контейнер - Grid сетка */
.promo-container {
    max-width: 1520px;
    margin: 20px auto;
    padding: 0 16px;
    display: grid;
    /* 2 части под слайдер, 1 под статику, 1 под статику */
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
    height: 390px; /* Фиксированная высота для всех блоков */
}

/* ================= СЛАЙДЕР (ЛЕВАЯ ЧАСТЬ) ================= */
.promo-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(30, 35, 50, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.custom-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.c-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 40px;
}

.c-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Затемнение фона слайда для читаемости */
.c-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    z-index: -1;
}

.c-slide-content {
    position: relative;
    z-index: 3;
    max-width: 60%;
    color: #fff;
}

.c-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.c-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.c-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.c-btn {
    background: #538adc;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.2s;
}

.c-btn:hover {
    transform: scale(1.05);
    background: #538adce3;
}

/* Кнопки управления слайдером */
.slider-controls .slider-arrow {
    position: absolute;
    bottom: 30px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.3);
}

.slider-arrow.prev { right: 80px; }
.slider-arrow.next { right: 30px; }

/* ================= СТАТИКА (ПРАВАЯ ЧАСТЬ) ================= */
.promo-static-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    background: rgba(30, 35, 50, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.static-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
    opacity: 0.8; /* Slight transparency for background to show blur effect if possible, though bg covers it */
}

.promo-static-card:hover .static-bg {
    transform: scale(1.05);
}

.static-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Контент внизу по умолчанию */
    padding: 24px;
    color: #fff;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

/* Стилизация карточки Колесо */
.card-wheel .static-content {
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding-top: 30px;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
}

.static-top-text { font-size: 12px; font-weight: bold; opacity: 0.9; }
.static-big-text { font-size: 24px; font-weight: 900; color: #40c4ff; margin: 4px 0; }
.static-sub-text { font-size: 12px; font-weight: bold; text-transform: uppercase; margin-bottom: 10px; }

.static-btn {
    background: #538adc;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    margin-top: auto; /* Кнопка внизу */
    margin-bottom: 20px;
}

/* Стилизация карточки Cashback */
.card-cashback .static-title {
    font-size: 28px;
    font-weight: 900;
    color: #5890e1;
    line-height: 1;
}
.card-cashback .static-desc {
    font-size: 13px;
    font-weight: bold;
    margin-top: 5px;
}
.card-cashback .icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-top: 15px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================= АДАПТИВНОСТЬ ================= */
/* Планшет: Слайдер 60%, статика по 20% или скрываем одну */
@media (max-width: 1024px) {
    .promo-container {
        height: 300px;
    }
    .c-title { font-size: 28px; }
}

/* Мобильные: Только слайдер */
@media (max-width: 768px) {
    .promo-container {
        display: block; /* Убираем Grid */
        height: auto;
        padding: 0 10px;
        margin-top: 60px;
    }

    .promo-slider-wrapper {
        height: 280px; /* Высота слайдера на мобилке */
    }

    .promo-static-card {
        display: none !important; /* Скрываем статику */
    }

    .c-title { font-size: 24px; }
    .c-desc { font-size: 14px; }
    
    .slider-arrow {
        bottom: 20px;
        width: 36px;
        height: 36px;
    }
}
