/* === HHPoker 0037 - Royal Green Theme === */

/* Base & Scrollbar */
html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #081c0d; }
::-webkit-scrollbar-thumb { background: #1e7e34; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #d4af37; }

/* Navbar Scroll Effect */
#navbar.scrolled {
    background: rgba(8, 28, 13, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 126, 52, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Feature Card Hover */
.feature-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.5) !important;
}

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

.faq-toggle.active i { transform: rotate(180deg); }

.faq-answer {
    display: none;
    animation: fadeSlideIn 0.3s ease;
}
.faq-answer.open { display: block; }

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats Counter Animation */
.stat-count { transition: all 0.1s ease-out; }

/* Mobile Menu */
#mobile-menu { transition: all 0.3s ease; }
#mobile-menu:not(.hidden) { animation: slideDown 0.3s ease; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .section-padding { padding-top: 4rem; padding-bottom: 4rem; }
}

/* Text Gradient Fallback */
@supports not (background-clip: text) {
    .bg-clip-text { color: #d4af37; }
}
