/* === HHPoker Official - Main Stylesheet === */

html {
    scroll-behavior: smooth;
}

/* FAQ Accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer.open {
    max-height: 500px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Card Hover Effects */
.feature-card,
.testimonial-card,
.download-card {
    transition: all 0.3s ease;
}
.feature-card:hover,
.testimonial-card:hover,
.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Mobile Menu */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
#mobile-menu.open {
    max-height: 400px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    padding-top: 8rem;
    padding-bottom: 5rem;
}

/* Contact Form */
.contact-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

/* Stats Counter */
.counter-item {
    transition: all 0.3s ease;
}
.counter-item:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.2);
}

/* Testimonials Star Rating */
.star-rating {
    color: #f59e0b;
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

/* FAQ toggle icon rotation */
.faq-toggle i {
    transition: transform 0.3s ease;
}
