/* Flash Replacement CSS for Toupin Rigging Header Animation */

#art-flash-area {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    background: transparent;
    z-index: 10;
}

#art-flash-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.8;
}

.flash-content {
    position: absolute;
    top: -62px;
    left: 0;
    width: 900px;
    height: 225px;
    background: url('images/flash.swf') no-repeat center;
    background-size: cover;
    z-index: 1;
}

.flash-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: 2;
    animation: flash-pulse 3s ease-in-out infinite;
}

@keyframes flash-pulse {
    0% { opacity: 0.2; }
    50% { opacity: 0.1; }
    100% { opacity: 0.2; }
}

.flash-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    color: #333;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    z-index: 0;
}

/* Enhanced animation effects */
.flash-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 4s ease-in-out infinite;
    z-index: 3;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Ensure header is visible */
.art-header {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 1000px) {
    #art-flash-area {
        width: 250px;
        height: 80px;
    }
    
    .flash-content {
        width: 100%;
    }
}