/**
 * Black Friday Popup CSS
 * Mobil optimalizált felugró sáv stílusok
 */

.bf-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    border-top: 3px solid #ff0000;
}

.bf-popup.bf-show {
    transform: translateY(0);
}

.bf-popup-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.bf-popup-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bf-popup-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
}

.bf-black-text {
    color: #ffffff;
    font-size: 22px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: pulse-black 1.5s ease-in-out infinite alternate;
}

.bf-friday-text {
    color: #ff0000;
    font-size: 22px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: pulse-red 1.5s ease-in-out infinite alternate;
    animation-delay: 0.3s;
}

.bf-discount-text {
    color: #ffffff;
    font-size: 16px;
    margin-left: 15px;
}

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

@keyframes pulse-black {
    0% { 
        transform: scale(1);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    100% { 
        transform: scale(1.1);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }
}

@keyframes pulse-red {
    0% { 
        transform: scale(1);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    100% { 
        transform: scale(1.1);
        text-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    }
}

.bf-popup-link {
    background: #ff0000;
    color: white !important;
    text-decoration: none !important;
    padding: 12px 24px;
    border-radius: 25px;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    border: none;
}

.bf-popup-link:hover {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
    color: white !important;
}

.bf-popup-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    margin-left: 20px;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bf-popup-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.bf-popup-close span {
    line-height: 1;
    font-weight: 300;
}

/* Mobil optimalizálás */
@media (max-width: 768px) {
    .bf-popup-content {
        flex-direction: column;
        padding: 12px 15px;
        gap: 10px;
        text-align: center;
    }
    
    .bf-popup-main {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .bf-popup-text {
        flex-direction: row;
          gap: 9px;
        font-size: 14px;
    }
    
    .bf-black-text,
    .bf-friday-text {
        font-size: 18px;
        letter-spacing: 1px;
    }
    
    .bf-discount-text {
        font-size: 14px;
        margin-left: 0;
    }
    
    .bf-popup-link {
        padding: 10px 20px;
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .bf-popup-close {
        position: absolute;
        top: 8px;
        right: 10px;
        margin-left: 0;
        font-size: 20px;
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .bf-popup-content {
        padding: 10px 12px;
    }
    
    .bf-popup-text {
        font-size: 12px;
    }
    
    .bf-black-text,
    .bf-friday-text {
        font-size: 16px;
    }
    
    .bf-discount-text {
        font-size: 12px;
    }
    
    .bf-popup-link {
        padding: 8px 16px;
        font-size: 11px;
    }
}

/* Animáció megjelenéshez */
.bf-popup {
    animation: slideUp 0.5s ease-out 1s both;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}