/* Flash Style Animated Banner CSS */
.flash-banner-container {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.flash-banner {
    position: relative;
    width: 100%;
    height: 350px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #e53e29, #222, #000);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    overflow: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.flash-content {
    text-align: center;
    z-index: 2;
    color: #fff;
    padding: 20px;
}

.flash-title {
    font-size: 3em;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: textPop 2s infinite alternate;
}

.flash-subtitle {
    font-size: 1.5em;
    font-weight: 400;
    margin-top: 10px;
    opacity: 0;
    animation: fadeInSlideUp 1s ease-out forwards 0.5s;
}

.flash-button {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    background: #fff;
    color: #e53e29;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
    animation: pulseBtn 2s infinite;
}

.flash-button:hover {
    transform: scale(1.1);
    background: #e53e29;
    color: #fff;
    box-shadow: 0 0 20px rgba(229, 62, 41, 0.8);
}

/* Animations */
@keyframes textPop {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseBtn {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Light Streaks Effect */
.light-streak {
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: streak 4s infinite linear;
    pointer-events: none;
    z-index: 1;
}

@keyframes streak {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

@media (max-width: 768px) {
    .flash-banner { height: 250px; }
    .flash-title { font-size: 2em; }
    .flash-subtitle { font-size: 1.1em; }
}
