/* Thanks Page Styles */
.thanks {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(111, 0, 255, 0.1));
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.thanks::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(to right, rgba(0, 255, 225, 0.1) 0.5px, transparent 0.5px),
    linear-gradient(to bottom, rgba(0, 255, 225, 0.1) 0.5px, transparent 0.5px);
  background-size: 10px 10px;
  z-index: -1;
}


.thanks__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.thanks__content {
    text-align: center;
    animation: fadeInLeft 1s ease;
}

.thanks__icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-background);
    box-shadow: 0 0 30px rgba(0, 255, 225, 0.5);
    animation: pulse 2s infinite;
}

.thanks__title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.thanks__message {
    font-size: 1.1rem;
    color: var(--color-light-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.thanks__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.thanks__info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(0, 255, 225, 0.2);
    border-radius: var(--border-radius-large);
    transition: var(--transition);
}

.thanks__info-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.thanks__info-item i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.thanks__info-item span {
    color: var(--color-light-gray);
    font-size: 0.95rem;
}

.thanks__home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-background);
    padding: 14px 28px;
    border-radius: var(--border-radius-large);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.thanks__home-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--color-background);
}

.thanks__home-btn i {
    font-size: 1rem;
}

.thanks__visual {
    animation: fadeInRight 1s ease;
}

.thanks__image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-large);
    box-shadow: 0 20px 40px rgba(0, 255, 225, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .thanks__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .thanks {
        padding: 3rem 0;
    }
    
    .thanks__icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .thanks__title {
        font-size: 2rem;
    }
    
    .thanks__message {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .thanks__info {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .thanks {
        padding: 2rem 0;
    }
    
    .thanks__icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .thanks__title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .thanks__message {
        font-size: 0.95rem;
    }
    
    .thanks__info-item {
        padding: 0.6rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .thanks__home-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Additional animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.thanks__content {
    animation: fadeInScale 0.8s ease;
}

.thanks__info-item:nth-child(1) { animation-delay: 0.2s; }
.thanks__info-item:nth-child(2) { animation-delay: 0.4s; }
.thanks__info-item:nth-child(3) { animation-delay: 0.6s; }

/* Success state styling */
.thanks__icon {
    position: relative;
}

.thanks__icon::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}
