/* Additional styles for VN88 Theme */

/* Smooth transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Header enhancements */
.site-header {
    transition: box-shadow 0.3s ease;
}

/* Hero button hover effects */
.hero-cta .btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 69, 96, 0.4);
}

/* Feature cards icon animation */
.feature-card:hover .feature-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Card hover lift effect */
.content-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Step number pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(233, 69, 96, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(233, 69, 96, 0);
    }
}

.step-number {
    animation: pulse 2s infinite;
}

/* Timeline connector enhancement */
.timeline-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tip box border animation */
.tip-box {
    position: relative;
    overflow: hidden;
}

.tip-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #e94560;
    transition: width 0.3s ease;
}

.tip-box:hover::before {
    width: 6px;
}

/* FAQ answer smooth reveal */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 10px;
}

/* CTA section button glow */
.cta-section .btn {
    position: relative;
    overflow: hidden;
}

.cta-section .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-section .btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Footer link hover effect */
.footer-section ul li a {
    position: relative;
    display: inline-block;
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #e94560;
    transition: width 0.3s ease;
}

.footer-section ul li a:hover::after {
    width: 100%;
}

/* Comparison table row hover */
.comparison-table tbody tr {
    transition: background-color 0.3s ease;
}

.comparison-table tbody tr:hover {
    background-color: #f0f4f8;
}

/* Content section link styling */
.content-section a {
    color: #e94560;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.content-section a:hover {
    border-bottom-color: #e94560;
}

/* Button loading state */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .features-grid,
    .cards-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .hero-cta,
    .cta-section {
        display: none;
    }
    
    .content-section {
        padding: 20px 0;
    }
}
