/* Contenedor de frases con integración elegante al fondo */
.animated-phrases {
    width: 400px;
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: var(--gradient-primary);
    box-shadow: 
        0 20px 40px rgba(139, 95, 191, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    animation: float-clean 6s ease-in-out infinite;
}

@keyframes float-clean {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Contenedor de scroll de frases */
.phrases-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    animation: scrollUp 30s linear infinite;
}

.phrase {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(15px);
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: none;
    transition: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Animación de scroll infinito */
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Desvanecido elegante y suave para integración con fondo */
.right-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(
        to bottom,
        var(--background-light) 0%,
        rgba(248, 249, 250, 0.95) 20%,
        rgba(248, 249, 250, 0.8) 40%,
        rgba(248, 249, 250, 0.5) 60%,
        rgba(248, 249, 250, 0.2) 80%,
        transparent 100%
    );
    z-index: 5;
    pointer-events: none;
    border-radius: 0;
}

.right-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(248, 249, 250, 0.2) 20%,
        rgba(248, 249, 250, 0.5) 40%,
        rgba(248, 249, 250, 0.8) 60%,
        rgba(248, 249, 250, 0.95) 80%,
        var(--background-light) 100%
    );
    z-index: 5;
    pointer-events: none;
    border-radius: 0;
}

/* Desvanecido interno del contenedor */
.animated-phrases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, 
        var(--primary-purple) 0%, 
        rgba(139, 95, 191, 0.7) 50%, 
        transparent 100%);
    z-index: 10;
    pointer-events: none;
    border-radius: 24px 24px 0 0;
}

.animated-phrases::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, 
        var(--secondary-purple) 0%, 
        rgba(124, 77, 255, 0.7) 50%, 
        transparent 100%);
    z-index: 10;
    pointer-events: none;
    border-radius: 0 0 24px 24px;
}

/* Responsive para contenedor de frases */
@media (max-width: 1024px) {
    .animated-phrases {
        width: 350px;
        height: 450px;
    }
}

@media (max-width: 968px) {
    .animated-phrases {
        width: 320px;
        height: 400px;
    }
    
    .phrase {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
        min-height: 60px;
    }
    
    .phrases-container {
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .right-section::before,
    .right-section::after {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .animated-phrases {
        width: 280px;
        height: 350px;
    }
    
    .phrase {
        font-size: 0.9rem;
        padding: 0.875rem 1rem;
        min-height: 55px;
    }
    
    .phrases-container {
        gap: 0.875rem;
        padding: 1rem;
    }
    
    .right-section::before,
    .right-section::after {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .animated-phrases {
        width: 260px;
        height: 320px;
    }
    
    .phrase {
        font-size: 0.85rem;
        padding: 0.75rem;
        min-height: 50px;
    }
    
    .right-section::before,
    .right-section::after {
        height: 60px;
    }
} 