/* Promo Banner Block — Frontend Styles */

.promo-banner-section {
    padding: 15px 0;
}

.promo-banner-section .promo-banner {
    position: relative;
    background: linear-gradient(135deg, #1A233A 0%, var(--bg-surface, #151A23) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.promo-banner-section .promo-glow {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 229, 116, 0.15) 0%, rgba(0,0,0,0) 70%);
    transform: rotate(30deg);
    pointer-events: none;
    z-index: 1;
}

.promo-banner-section .promo-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.promo-banner-section .promo-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 12px;
    gap: 10px;
}

.promo-banner-section .promo-badge {
    background-color: rgba(255, 193, 7, 0.1);
    color: #FFC107;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    white-space: nowrap;
}

.promo-banner-section .promo-logo-box {
    display: flex;
    align-items: center;
    height: 24px;
}

.promo-banner-section .promo-logo-box img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.promo-banner-section .logo-placeholder {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.promo-banner-section .logo-placeholder b { color: var(--accent-color, #00E574); }
.promo-banner-section .logo-placeholder i { color: var(--accent-color, #00E574); font-size: 16px; }

.promo-banner-section .promo-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 8px;
    background: linear-gradient(90deg, #FFFFFF, #E0E0E0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promo-banner-section .promo-desc {
    font-size: 13px;
    color: var(--text-muted, rgba(255,255,255,0.5));
    margin-bottom: 16px;
    max-width: 400px;
    line-height: 1.4;
}

.promo-banner-section .promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 229, 116, 0.3);
    text-decoration: none;
}

.promo-banner-section .promo-btn i { transition: transform 0.3s ease; }
.promo-banner-section .promo-btn:hover i { transform: translateX(4px); }

/* --- Visual section --- */
.promo-banner-section .promo-visual {
    position: relative;
    z-index: 2;
    padding: 20px 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 140px;
}

.promo-banner-section .visual-mockup {
    position: relative;
    color: var(--accent-color, #00E574);
}

.promo-banner-section .visual-mockup .main-icon {
    font-size: 80px;
    background: linear-gradient(135deg, #00E574, #00994D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0, 229, 116, 0.2));
}

.promo-banner-section .float-icon-1,
.promo-banner-section .float-icon-2 {
    position: absolute;
    font-size: 30px;
    color: #FFC107;
    filter: drop-shadow(0 5px 10px rgba(255, 193, 7, 0.3));
    animation: promoBannerFloat 3s ease-in-out infinite;
}

.promo-banner-section .float-icon-1 { top: -5px; right: -20px; animation-delay: 0s; }
.promo-banner-section .float-icon-2 { bottom: 5px; left: -20px; color: #00E574; font-size: 24px; animation-delay: 1.5s; }

@keyframes promoBannerFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* --- Desktop --- */
@media (min-width: 768px) {
    .promo-banner-section { padding: 30px 0; }

    .promo-banner-section .promo-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .promo-banner-section .promo-content {
        padding: 30px 40px;
        flex: 1;
    }

    .promo-banner-section .promo-top-row { margin-bottom: 16px; }
    .promo-banner-section .promo-logo-box { height: 28px; }
    .promo-banner-section .promo-title { font-size: 28px; }
    .promo-banner-section .promo-desc { font-size: 14px; margin-bottom: 20px; }

    .promo-banner-section .promo-visual {
        flex: 1;
        padding: 0 40px;
        justify-content: flex-end;
    }

    .promo-banner-section .visual-mockup .main-icon { font-size: 110px; }
}
