/* Estilos del título mejorados */
.title-container {
    text-align: center;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.title-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    z-index: -1;
    animation: titleGlow 3s ease-in-out infinite;
}

.power-title {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #e2e2e2 25%,
        #ffffff 50%,
        #e2e2e2 75%,
        #ffffff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: titleShine 5s linear infinite;
    position: relative;
    display: inline-block;
    padding: 0.5rem 0;
}

.power-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 100%
    );
    animation: lineShine 3s ease-in-out infinite;
}

.power-title .highlight {
    background: var(--rainbow-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbowText 6s linear infinite;
    display: block;
    margin-top: 1rem;
    font-weight: 900;
    letter-spacing: 8px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

@keyframes titleGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes titleShine {
    0% {
        background-position: -500% 0;
    }
    100% {
        background-position: 500% 0;
    }
}

@keyframes lineShine {
    0%, 100% {
        opacity: 0.3;
        width: 60%;
    }
    50% {
        opacity: 0.7;
        width: 80%;
    }
}

@keyframes rainbowText {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* Mejoras responsive para el título */
@media (max-width: 768px) {
    .power-title {
        font-size: 3rem;
    }
    
    .power-title .highlight {
        font-size: 3.5rem;
        letter-spacing: 4px;
    }
}

@media (max-width: 480px) {
    .power-title {
        font-size: 2.5rem;
    }
    
    .power-title .highlight {
        font-size: 3rem;
        letter-spacing: 2px;
    }
    
    .title-container {
        padding: 1rem 0;
    }
}