/* Noise overlay for industrial texture with blood red tint */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    z-index: 1;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(139, 0, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(178, 34, 34, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(58, 58, 60, 0.2) 0%, transparent 50%);
    background-size: 150px 150px, 250px 250px, 80px 80px;
    animation: noise 10s infinite;
}

@keyframes noise {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(-15%, 10%); }
    90% { transform: translate(10%, 5%); }
}

/* Hero background */
.hero-bg {
    background-image: url('band-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Torn metal section dividers */
.torn-divider,
.torn-divider-reverse {
    position: relative;
    overflow: hidden;
}

.torn-edge {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: filter 0.3s ease;
}

/* Button glow effect with blood red */
.hover\:glow:hover {
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.6), 0 0 40px rgba(178, 34, 34, 0.3);
}

/* Scroll reveal animations */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-element.reveal-in {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth focus styles with blood red */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid #B22222;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Metallic gradient effects */
.bg-steel-gradient {
    background: linear-gradient(135deg, #2C2C2E 0%, #1C1C1E 50%, #3A3A3C 100%);
}

/* Blood drip effect on section titles */
section h2 {
    text-shadow: 0 2px 8px rgba(139, 0, 0, 0.3);
}

/* Custom scrollbar with blood red accent */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1C1C1E;
}

::-webkit-scrollbar-thumb {
    background: #3A3A3C;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8B0000;
}

/* Loading animation enhancement */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Responsive video container */
.aspect-video {
    aspect-ratio: 16 / 9;
}

@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
    
    .angled-divider,
    .angled-divider-reverse {
        height: 40px;
    }
}