/* Новогодняя плашка */
.christmas-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #c41e3a 0%, #165b33 50%, #c41e3a 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    padding: 12px 15px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}

.christmas-banner--visible {
    transform: translateY(0);
}

.christmas-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #FFD700 0%, 
        #FFF 25%, 
        #FFD700 50%, 
        #FFF 75%, 
        #FFD700 100%
    );
    animation: shimmer 2s linear infinite;
}

.christmas-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.christmas-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.christmas-banner__icon {
    font-size: 32px;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.christmas-banner__text {
    flex: 1;
    color: #fff;
}

.christmas-banner__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.christmas-banner__description {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.christmas-banner__details {
    font-weight: 600;
    color: #FFD700;
}

.christmas-banner__close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(5px);
}

.christmas-banner__close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Декоративные снежинки */
.christmas-banner__snowflake {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    pointer-events: none;
    z-index: 1;
}

.christmas-banner__snowflake--1 {
    top: 10%;
    left: 10%;
    animation: float 4s ease-in-out infinite;
}

.christmas-banner__snowflake--2 {
    top: 70%;
    left: 30%;
    animation: float 5s ease-in-out infinite 1s;
}

.christmas-banner__snowflake--3 {
    top: 40%;
    right: 15%;
    animation: float 6s ease-in-out infinite 2s;
}

.christmas-banner__snowflake--4 {
    top: 20%;
    right: 35%;
    animation: sparkle 3s ease-in-out infinite;
}

.christmas-banner__snowflake--5 {
    top: 60%;
    right: 5%;
    animation: sparkle 4s ease-in-out infinite 1.5s;
}

/* Анимации */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* Адаптивные стили для планшетов */
@media (max-width: 992px) {
    .christmas-banner {
        padding: 10px 12px;
    }
    
    .christmas-banner__content {
        gap: 10px;
    }
    
    .christmas-banner__icon {
        font-size: 28px;
    }
    
    .christmas-banner__title {
        font-size: 14px;
    }
    
    .christmas-banner__description {
        font-size: 12px;
    }
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
    .christmas-banner {
        padding: 8px 10px;
    }
    
    .christmas-banner__content {
        gap: 8px;
    }
    
    .christmas-banner__icon {
        font-size: 24px;
    }
    
    .christmas-banner__title {
        font-size: 13px;
        margin-bottom: 3px;
    }
    
    .christmas-banner__description {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .christmas-banner__close {
        width: 24px;
        height: 24px;
        top: 6px;
        right: 8px;
    }
    
    .christmas-banner__close svg {
        width: 14px;
        height: 14px;
    }
    
    .christmas-banner__snowflake {
        font-size: 14px;
    }
}

/* Адаптивные стили для маленьких мобильных устройств */
@media (max-width: 480px) {
    .christmas-banner {
        padding: 8px;
    }
    
    .christmas-banner__content {
        gap: 8px;
        padding-right: 28px;
    }
    
    .christmas-banner__icon {
        font-size: 22px;
    }
    
    .christmas-banner__title {
        font-size: 12px;
        margin-bottom: 2px;
    }
    
    .christmas-banner__description {
        font-size: 10px;
        line-height: 1.3;
    }
    
    .christmas-banner__details {
        display: block;
        margin-top: 2px;
    }
    
    .christmas-banner__close {
        width: 22px;
        height: 22px;
        top: 5px;
        right: 6px;
    }
    
    .christmas-banner__close svg {
        width: 12px;
        height: 12px;
    }
    
    .christmas-banner__snowflake {
        font-size: 12px;
    }
}

/* Дополнительная адаптивность для очень маленьких экранов */
@media (max-width: 360px) {
    .christmas-banner {
        padding: 6px;
    }
    
    .christmas-banner__icon {
        font-size: 20px;
    }
    
    .christmas-banner__title {
        font-size: 11px;
    }
    
    .christmas-banner__description {
        font-size: 9px;
        line-height: 1.3;
    }
    
    .christmas-banner__close {
        width: 20px;
        height: 20px;
        top: 4px;
        right: 4px;
    }
    
    .christmas-banner__close svg {
        width: 11px;
        height: 11px;
    }
}

/* Адаптация для больших экранов */
@media (min-width: 1400px) {
    .christmas-banner {
        padding: 14px 20px;
    }
    
    .christmas-banner__icon {
        font-size: 36px;
    }
    
    .christmas-banner__title {
        font-size: 18px;
    }
    
    .christmas-banner__description {
        font-size: 14px;
    }
}

/* Поддержка темной темы (опционально) */
@media (prefers-color-scheme: dark) {
    .christmas-banner {
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
    }
}

/* Печать - скрываем баннер при печати */
@media print {
    .christmas-banner {
        display: none !important;
    }
}

