/* Thanks Page Styles */

.thanks-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}


.thanks-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--light-color);
    border-radius: 15px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.thanks-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.thanks-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    top: 0;
    left: 0;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.thanks-icon svg {
    width: 60px;
    height: 60px;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.thanks-wrapper h1 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.thanks-wrapper p {
    margin-bottom: 2.5rem;
    line-height: 1.8;
    color: var(--secondary-color);
}

.rain-animation {
    position: relative;
    height: 80px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.raindrops {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(var(--primary-color), 0.2) 100%);
    animation: rain 1s linear infinite;
}

.raindrops::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 30% 50%, var(--primary-color) 1px, transparent 1px),
                      radial-gradient(circle at 70% 20%, var(--primary-color) 1px, transparent 1px),
                      radial-gradient(circle at 40% 30%, var(--primary-color) 1px, transparent 1px),
                      radial-gradient(circle at 60% 70%, var(--primary-color) 1px, transparent 1px),
                      radial-gradient(circle at 20% 80%, var(--primary-color) 1px, transparent 1px),
                      radial-gradient(circle at 80% 60%, var(--primary-color) 1px, transparent 1px);
    background-size: 20% 20%;
    animation: falling 3s linear infinite;
}

@keyframes rain {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 20% 100%;
    }
}

@keyframes falling {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.thanks-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .thanks-wrapper {
        max-width: 600px;
        padding: 3.5rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .thanks-section {
        padding: 150px 0 80px;
    }
    
    .thanks-wrapper {
        padding: 3rem 2rem;
    }
    
    .thanks-icon {
        width: 100px;
        height: 100px;
    }
    
    .thanks-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .thanks-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .thanks-cta .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .thanks-wrapper {
        padding: 2.5rem 1.5rem;
    }
    
    .thanks-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .thanks-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .rain-animation {
        height: 60px;
    }
} 