/* Header Styles */
.header {
    text-align: center;
    background-image: url('https://imagedelivery.net/ufD7Y8gknCVUcAcogBQrPA/40a24520-55f2-439e-5cb1-190b4c7f1500/66');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 85%;
    height: 85vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeIn 1.5s ease-out;
    box-shadow: var(--blood-shadow);
    border-radius: 0 0 30px 30px;
    padding: 0;
    contain: layout style paint;
    will-change: transform;
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(45deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1)),
        repeating-linear-gradient(45deg, rgba(209, 13, 0, 0.05) 0px, rgba(209, 13, 0, 0.05) 1px, transparent 1px, transparent 10px);
    pointer-events: none;
    z-index: 1;
    border-radius: 0 0 30px 30px;
}

.header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 50%, rgba(0,0,0,0.6));
    pointer-events: none;
    border-radius: 0 0 30px 30px;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    gap: 0.5rem;
    padding: 1rem;
    width: 100%;
    max-width: 90%;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.title-66 {
    font-size: clamp(8rem, 15vw, 14rem);
    margin: 0;
    background: linear-gradient(45deg, #cc0000, #ff3333);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 
        2px 2px 8px rgba(255, 0, 0, 0.6),
        0 0 40px rgba(255, 0, 0, 0.4),
        0 0 80px rgba(255, 0, 0, 0.2);
    letter-spacing: -5px;
    animation: pulseGlow 4s infinite ease-in-out;
    will-change: transform;
    contain: layout style;
    line-height: 0.8;
}

.title-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.title-text h2 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin: 0;
    background: linear-gradient(45deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 
        2px 2px 6px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.3),
        0 0 60px rgba(255, 255, 255, 0.2);
    letter-spacing: 4px;
    will-change: transform;
    contain: layout style;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.7));
    line-height: 1;
}

#author {
    font-size: clamp(2.5rem, 5vw, 5rem);
    margin-top: 1.5rem;
    background: linear-gradient(45deg, #cc0000, #ff3333);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 
        2px 2px 6px rgba(255, 0, 0, 0.6),
        0 0 40px rgba(255, 0, 0, 0.3);
    letter-spacing: 4px;
    animation: authorGlow 2s infinite ease-in-out;
    will-change: transform;
    contain: layout style;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
}

.go-down {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    animation: bounce 2s infinite ease-in-out;
    will-change: transform;
    contain: layout style;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header {
        width: 100%;
        height: 80vh;
        padding: 0;
        box-sizing: border-box;
        border-radius: 0;
    }
    
    .header-content {
        padding: 0.8rem;
        max-width: 95%;
        gap: 0.3rem;
        background: rgba(0, 0, 0, 0.1);
    }

    .title-text {
        gap: 0.2rem;
    }
}

@media (max-width: 480px) {
    .header {
        height: 75vh;
    }
    
    .header-content {
        padding: 0.5rem;
        max-width: 98%;
        gap: 0.2rem;
    }

    .go-down {
        bottom: 0.5rem;
        gap: 0.2rem;
    }
}
