html {
    scroll-behavior: smooth;
}

body {
    color: #111827;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 15, 31, 0.82) 0%, rgba(7, 15, 31, 0.58) 42%, rgba(7, 15, 31, 0.18) 100%),
        linear-gradient(180deg, rgba(7, 15, 31, 0.3) 0%, rgba(7, 15, 31, 0.78) 100%);
}

.hero-section > div {
    position: relative;
    z-index: 1;
}

.hero-copy {
    animation: heroIn 0.75s ease-out both;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.55rem 0.85rem;
    backdrop-filter: blur(10px);
}

.feature-card,
.team-member,
#faq .bg-white,
#rules .bg-white,
.status-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover,
.team-member:hover,
#faq .bg-white:hover,
#rules .bg-white:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

.join-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.16), transparent 34rem),
        #eff6ff;
}

.status-card {
    transition: all 0.2s ease;
}

.skeleton-pulse {
    background: linear-gradient(90deg, #e0e0e0 25%, #d0d0d0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.text-readable {
    color: #4b5563 !important;
}

.card-description {
    color: #374151 !important;
    line-height: 1.5;
}

.btn-clear-fix {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

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

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 768px) {
    nav .h-16 {
        gap: 0.75rem;
    }

    .hero-section {
        min-height: 760px;
        background-position: 45% center !important;
    }

    .hero-section::before {
        background: linear-gradient(180deg, rgba(7, 15, 31, 0.72) 0%, rgba(7, 15, 31, 0.88) 100%);
    }

    .hero-meta span {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
