/* modules/promo/promo.css */

.promo-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0;
}

.promo-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 24px;
    padding: 40px 60px;
    color: var(--text-inverse);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 40%;
    gap: 40px;
    align-items: center;
    min-height: 350px;
}

.promo-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/content/background.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.promo-card::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    height: 450px;
    background-image: url('/images/content/blue-credit-cards-with-coins.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.promo-content {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.promo-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    color: white;
    font-family: 'Gilroy', sans-serif;
}

.promo-subtitle {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 28px;
    color: white;
    font-family: 'Gilroy', sans-serif;
}

.promo-button {
    background: var(--bg-card);
    color: var(--primary);
    border: none;
    padding: 16px 36px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    font-family: 'Gilroy', sans-serif;
}

.promo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-md);
}

/* Адаптивность */
@media (max-width: 768px) {
    .promo-card {
        grid-template-columns: 1fr;
        padding: 30px 25px;
        gap: 0;
        min-height: auto;
        text-align: center;
    }
    
    .promo-card::before {
        position: absolute;
        right: 30%;
        bottom: -15%;
        transform: translateX(50%);
        width: 450px;
        height: 450px;
        top: auto;
    }
    
    .promo-title { font-size: 24px; margin-bottom: 12px; }
    .promo-subtitle { font-size: 14px; margin-bottom: 24px; }
    .promo-button { width: 100%; padding: 14px 28px; font-size: 14px; }
    .promo-content { margin-bottom: 220px; }
}

@media (max-width: 480px) {
    .promo-card::before { bottom: -80px; width: 400px; height: 400px; }
    .promo-content { margin-bottom: 180px; }
}