html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hotitems-container::-webkit-scrollbar {
    height: 6px;
}

.hotitems-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.hotitems-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.hotitems-container::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.feature-card:hover,
.partner-card:hover,
.team-card:hover,
.contact-card:hover,
.event-card:hover,
.story-card:hover,
.news-card:hover,
.step-card:hover {
    transform: translateY(-4px);
}

.faq-content {
    transition: max-height 0.3s ease-out;
    max-height: 0;
    overflow: hidden;
}

.faq-content.active {
    max-height: 200px;
}

button[onclick="toggleFaq(this)"] svg {
    transition: transform 0.3s ease;
}

button[onclick="toggleFaq(this)"].active svg {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-bottom: 2rem;
    }
}

nav a.active {
    color: #1E88E5;
    font-semibold: true;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #1E88E5, #FF9800);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 10px 40px rgba(30, 136, 229, 0.15);
    transform: translateY(-2px);
}

.credit-card {
    transition: all 0.3s ease;
}

.credit-card:hover {
    background-color: #f8fafc;
    border-radius: 12px;
    padding: 8px;
}

.rule-card {
    transition: all 0.3s ease;
}

.rule-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bg-gradient-brand {
    background: linear-gradient(135deg, #1E88E5 0%, #FF9800 100%);
}