/* Стили в духе Ref-Belholod (темно-синий ледяной дизайн) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

.promo-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 320px;
    background: linear-gradient(145deg, #051024, #0a1b38);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 163, 255, 0.4), inset 0 0 15px rgba(0, 163, 255, 0.1);
    overflow: hidden;
    z-index: 9999;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
}

.promo-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.promo-popup.hide {
    opacity: 0;
    transform: translateY(50px);
}

.promo-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: rgba(0, 163, 255, 0.2);
    border: 1px solid rgba(0, 210, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #00d2ff;
    transition: all 0.3s ease;
    z-index: 10;
}

.promo-close:hover {
    background: rgba(0, 163, 255, 0.6);
    color: #fff;
    box-shadow: 0 0 10px #00d2ff;
}

.promo-img-container {
    width: 100%;
    /* Адаптируем высоту под вытянутое фото, как в макете */
    height: 240px; 
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid rgba(0, 210, 255, 0.5);
}

.promo-img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, #051024, transparent);
}

.promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.promo-popup:hover .promo-img {
    transform: scale(1.03);
}

.promo-content {
    padding: 15px 20px 20px;
    position: relative;
    z-index: 2;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="4" height="4" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.5" fill="rgba(0, 210, 255, 0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
}

.promo-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 210, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-desc {
    font-size: 13px;
    line-height: 1.4;
    color: #c4d8f0;
    margin: 0 0 18px;
    font-weight: 400;
}

.promo-btn {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #005c97 0%, #0099ff 100%);
    color: #fff;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 210, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 153, 255, 0.4);
}

.promo-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #0077c2 0%, #00b3ff 100%);
    box-shadow: 0 6px 20px rgba(0, 153, 255, 0.6);
    border-color: #00d2ff;
}
