﻿/* inicio estilos para pagina de congreso agotado*/
.sold-out-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    /* background: var(--color-primary-light); */
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.sold-out-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.logo-container {
    margin-bottom: 30px;
    position: relative;
}

.logo-shine {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-lighter) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.logo-shine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.logo-shine img {
    width: 80px;
    height: 80px;
    z-index: 2;
    position: relative;
}

.sold-out-title {
    font-family: 'Anton', sans-serif;
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sold-out-message {
    font-size: 1.5rem;
    color: var(--color-text-dark);
    margin-bottom: 30px;
    line-height: 1.6;
}

.thank-you-container {
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.thank-you {
    font-size: 1.8rem;
    color: var(--color-secondary);
    font-weight: bold;
    text-align: center;
    display: inline-block;
}

.judicial-message {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a4d7f 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-top: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(24, 61, 119, 0.3);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    opacity: 0;
    animation: judicialAppear 1s ease-out 1.5s forwards;
}

.judicial-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    animation: judicialShine 3s ease-in-out 2s infinite;
}

.judicial-text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    transform: translateX(-20px);
    opacity: 0;
    animation: judicialSlideIn 0.8s ease-out 2s forwards;
}

.divider {
    font-size: 1.5rem;
    color: var(--color-accent);
    font-weight: 300;
    transform: scale(0);
    opacity: 0;
    animation: judicialScaleIn 0.6s ease-out 2.4s forwards;
}

.presente-text {
    font-size: 1.4rem;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateX(20px);
    opacity: 0;
    animation: judicialSlideIn 0.8s ease-out 2.8s forwards;
    position: relative;
}

.presente-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    animation: judicialUnderline 1s ease-out 3.5s forwards;
}

@keyframes judicialAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes judicialShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes judicialSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes judicialScaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes judicialUnderline {
    to {
        transform: scaleX(1);
    }
}

/* Efecto de pulso suave continuo */
@keyframes judicialPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(24, 61, 119, 0.3);
    }
    50% {
        box-shadow: 0 8px 30px rgba(24, 61, 119, 0.5);
    }
}

/* .judicial-message:hover {
    animation: judicialPulse 2s ease-in-out infinite;
    transform: translateY(-2px);
} */

.decoration {
    position: absolute;
    opacity: 0.1;
    z-index: 1;
}

.decoration.circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--color-accent);
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.decoration.square {
    width: 150px;
    height: 150px;
    border: 4px solid var(--color-secondary);
    bottom: 10%;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

.letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes letterAnimation {
    0% {
        opacity: 0;
        transform: translateY(20px) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

@media (max-width: 768px) {
    .sold-out-title {
        font-size: 2.5rem;
    }
    
    .sold-out-message {
        font-size: 1.2rem;
    }
    
    .thank-you {
        font-size: 1.5rem;
    }
    
    .decoration {
        display: none;
    }
}
/* final estilos para pagina de congreso agotado*/