/* ===================================
   THANKS.CSS - Стили страницы благодарности
   =================================== */

/* === Thanks Page Specific === */
.thanks-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

.success-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #848e76 0%, #9da890 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s ease-out;
}

.success-icon svg {
    width: 60px;
    height: 60px;
    fill: white;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.thanks-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.thanks-content p {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thanks-actions .btn {
    min-width: 200px;
}

/* === Confetti === */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: confetti-fall 5s linear infinite;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* === Mobile === */
@media (max-width: 768px) {
    .thanks-actions {
        flex-direction: column;
    }
    
    .thanks-actions .btn {
        width: 100%;
    }
    
    .success-icon {
        width: 100px;
        height: 100px;
    }
    
    .success-icon svg {
        width: 50px;
        height: 50px;
    }
}
