/* 感谢页面样式 */

.thank-you-content {
    animation: fadeInUp 0.8s ease-out;
}

.success-icon {
    animation: bounceIn 1s ease-out 0.3s both;
}

.thank-you-message {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.next-steps {
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.contact-info {
    animation: fadeInUp 0.8s ease-out 0.9s both;
}

.action-buttons {
    animation: fadeInUp 0.8s ease-out 1.1s both;
}

/* 成功图标动画 */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 淡入动画 */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 步骤项样式 */
.step-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateX(5px);
    color: #4CAF50;
}

.step-item i {
    font-size: 18px;
    min-width: 25px;
}

/* 联系信息样式 */
.contact-info {
    border-left: 4px solid #4CAF50;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.contact-info i {
    min-width: 20px;
}

/* 按钮样式 */
.action-buttons .main-btn {
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
}

.action-buttons .main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .thank-you-content {
        padding: 30px 20px !important;
    }

    .action-buttons .main-btn {
        display: block !important;
        margin: 10px 0 !important;
        text-align: center;
    }

    .next-steps .row {
        margin: 0;
    }

    .next-steps .col-md-6 {
        padding: 0 15px;
    }
}

/* 成功状态指示器 */
.success-indicator {
    position: relative;
    display: inline-block;
}

.success-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* 进度条样式 */
.progress-bar {
    width: 100%;
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-fill {
    height: 100%;
    background-color: #4CAF50;
    width: 0%;
    animation: fillProgress 2s ease-out forwards;
}

@keyframes fillProgress {
    to {
        width: 100%;
    }
}

@keyframes pulse {
    0% { transform: translateY(-2px) scale(1); }
    50% { transform: translateY(-2px) scale(1.05); }
    100% { transform: translateY(-2px) scale(1); }
}

/* 卡片悬停效果 */
.thank-you-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4) !important;
    transition: all 0.3s ease;
}

/* 社交媒体分享按钮样式 */
.share-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin: 5px;
}

/* Facebook按钮样式 */
.facebook-btn {
    background-color: #1877f2;
}

/* Twitter按钮样式 */
.twitter-btn {
    background-color: #1da1f2;
}

/* LinkedIn按钮样式 */
.linkedin-btn {
    background-color: #0077b5;
}

/* Instagram按钮特殊样式 */
.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    border: none;
    position: relative;
    overflow: hidden;
}

.instagram-btn:hover {
    background: linear-gradient(45deg, #e6683c 0%,#dc2743 25%,#cc2366 50%,#bc1888 75%,#f09433 100%);
    transform: translateY(-2px) scale(1.05);
}

/* TikTok按钮特殊样式 */
.tiktok-btn {
    background-color: #000000;
    border: none;
    position: relative;
    overflow: hidden;
}

.tiktok-btn:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px) scale(1.05);
}

.tiktok-btn i:first-child {
    animation: musicPulse 2s infinite;
}

.tiktok-btn i:last-child {
    animation: playPulse 1.5s infinite;
    animation-delay: 0.5s;
}

@keyframes musicPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes playPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.tiktok-btn:hover i:first-child {
    animation: musicPulse 0.5s infinite;
}

.tiktok-btn:hover i:last-child {
    animation: playPulse 0.3s infinite;
}

/* 分享按钮通用悬停效果增强 */
.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    color: white;
    text-decoration: none;
    animation: pulse 0.3s ease-in-out;
}

.share-btn i {
    font-size: 16px;
}

/* 自动跳转倒计时样式 */
.auto-redirect-countdown {
    cursor: pointer;
    transition: all 0.3s ease;
}

.auto-redirect-countdown:hover {
    background: rgba(76, 175, 80, 1) !important;
    transform: scale(1.05);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 键盘快捷键提示 */
.keyboard-shortcuts {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.keyboard-shortcuts.show {
    opacity: 1;
}

/* 响应式分享按钮 */
@media (max-width: 576px) {
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }

    .share-btn {
        width: 200px;
        justify-content: center;
    }
}
