/* ========================================
   Thank You Page Styles
======================================== */
:root {
    --primary-color: #2563eb;
    --secondary-color: #0ea5e9;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow: hidden;
}

/* ========================================
   Thank You Container
======================================== */
.thankyou-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%);
    padding: 2rem;
    overflow: hidden;
}

.thankyou-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.thankyou-container::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

.thankyou-content {
    max-width: 600px;
    width: 100%;
    background: var(--white);
    padding: 4rem 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    z-index: 10;
    animation: slideInUp 0.8s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Success Icon
======================================== */
.success-icon {
    margin-bottom: 2rem;
    transform: scale(0);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: var(--gradient-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(16, 185, 129, 0.4);
    }
}

.success-circle i {
    font-size: 3rem;
    color: var(--white);
}

/* ========================================
   Thank You Text
======================================== */
.thankyou-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.thankyou-message {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* ========================================
   Details Section
======================================== */
.thankyou-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

.detail-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.detail-item div {
    display: flex;
    flex-direction: column;
}

.detail-item strong {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.detail-item span {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ========================================
   Action Buttons
======================================== */
.thankyou-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ========================================
   Social Section
======================================== */
.thankyou-social {
    padding-top: 2rem;
    border-top: 1px solid var(--light-bg);
}

.thankyou-social p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ========================================
   Background Animation
======================================== */
.thankyou-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--success-color) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
    animation-delay: 5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, -30px);
    }
    50% {
        transform: translate(-20px, 20px);
    }
    75% {
        transform: translate(40px, 10px);
    }
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 768px) {
    .thankyou-content {
        padding: 3rem 2rem;
    }
    
    .thankyou-title {
        font-size: 2.5rem;
    }
    
    .thankyou-message {
        font-size: 1.1rem;
    }
    
    .thankyou-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .thankyou-container {
        padding: 1rem;
    }
    
    .thankyou-content {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .thankyou-title {
        font-size: 2rem;
    }
    
    .thankyou-message {
        font-size: 1rem;
    }
    
    .success-circle {
        width: 80px;
        height: 80px;
    }
    
    .success-circle i {
        font-size: 2.5rem;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-item div {
        align-items: center;
    }
}