/* Derby Fixed Banner - Beautiful Mobile Only */
.derby-fixed-banner {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(45deg, #1e3c72, #2a5298, #e74c3c, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 4s ease infinite;
    box-shadow: 0 -3px 20px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.derby-fixed-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: white;
    position: relative;
    transition: all 0.3s ease;
}

.derby-fixed-link:hover {
    color: white;
    text-decoration: none;
    transform: scale(1.02);
}

.derby-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.derby-emoji {
    font-size: 20px;
    margin: 0 12px;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.derby-emoji:first-child {
    animation-delay: 0s;
}

.derby-emoji:last-child {
    animation-delay: 1s;
}

.derby-text {
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.2;
}

.derby-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

/* Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Pulse effect on hover */
.derby-fixed-banner:hover {
    animation: gradientShift 2s ease infinite, pulse 0.6s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Show only on mobile devices */
@media (max-width: 768px) {
    .derby-fixed-banner {
        display: block;
    }
    
    /* Add bottom padding to body to prevent content overlap */
    body {
        padding-bottom: 55px; /* Extra 5px for better spacing */
    }
}

@media (max-width: 480px) {
    .derby-text {
        font-size: 13px;
        letter-spacing: 0.3px;
    }
    
    .derby-emoji {
        font-size: 18px;
        margin: 0 10px;
    }
    
    .derby-content {
        padding: 0 15px;
    }
}

@media (max-width: 360px) {
    .derby-text {
        font-size: 12px;
    }
    
    .derby-emoji {
        font-size: 16px;
        margin: 0 8px;
    }
}

/* Force banner above chat widgets and other elements */
.derby-fixed-banner {
    z-index: 99999 !important;
}

/* Ensure chat widget doesn't overlap */
.smart-chat-widget,
[class*="chat-widget"],
[class*="chatbot"],
[class*="messenger"] {
    bottom: 60px !important; /* Push chat widget up */
} 