/* ULTRA PROMO STYLES - ForexBrokerLead */
/* ==================================== */

#promo-bar {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 1029;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 0;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

#promo-bar.show {
    transform: translateY(0);
    animation: slideInDown 0.5s ease-out;
}

#promo-bar.hide {
    transform: translateY(-100%);
    animation: slideOutUp 0.3s ease-in;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 25px;
}

.promo-message {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.promo-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.promo-cta {
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
}

.promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 1);
    color: #333;
    text-decoration: none;
}

.close-promo {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.close-promo:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Urgency Elements */
.urgency-counter {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
    opacity: 0.9;
    animation: pulse 2s infinite;
}

.promo-badge {
    background: linear-gradient(135deg, #ff4444, #ff6b6b);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    margin-right: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: blink 2s infinite;
}

/* Animations */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

/* Special promo types */
.promo-live-forex-urgent {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    border-bottom: 2px solid #ff4444;
}

.promo-crypto-hot {
    background: linear-gradient(135deg, #f7931a 0%, #ff9900 100%);
    border-bottom: 2px solid #ffb347;
}

.promo-casino-depositors {
    background: linear-gradient(135deg, #e84393 0%, #fd79a8 100%);
    border-bottom: 2px solid #ff9fcd;
}

.promo-forex-signals {
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
    border-bottom: 2px solid #48cae4;
}

/* Body padding adjustments for promo bar */
body.promo-visible {
    padding-top: 120px;
}

@media (max-width: 768px) {
    body.promo-visible {
        padding-top: 130px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .promo-content {
        gap: 15px;
    }
    
    .promo-message {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    #promo-bar {
        top: 60px;
        padding: 10px 0;
    }
    
    .promo-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .promo-message {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    .promo-actions {
        justify-content: center;
        width: 100%;
    }
    
    .promo-cta {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
    
    .urgency-counter {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .promo-message {
        font-size: 0.8rem;
    }
    
    .promo-badge {
        font-size: 0.65rem;
        padding: 2px 8px;
    }
    
    .urgency-counter {
        font-size: 0.7rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    #promo-bar {
        border-bottom: 3px solid currentColor;
    }
    
    .promo-cta {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    #promo-bar {
        transition: none;
    }
    
    .promo-cta:hover {
        transform: none;
    }
    
    .close-promo:hover {
        transform: none;
    }
    
    .promo-badge,
    .urgency-counter {
        animation: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .promo-cta {
        background: rgba(255, 255, 255, 0.9);
        color: #333;
    }
    
    .promo-cta:hover {
        background: rgba(255, 255, 255, 1);
    }
}