:root {
    color-scheme: dark;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: #081111;
    color: #f8fafc;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 12% 18%, rgba(20, 152, 99, 0.22), transparent 28rem),
        radial-gradient(circle at 85% 8%, rgba(245, 158, 11, 0.14), transparent 26rem),
        linear-gradient(135deg, #071010 0%, #101819 44%, #111011 100%);
}

.hero-media {
    background-image:
        linear-gradient(90deg, rgba(5, 14, 14, 0.96) 0%, rgba(5, 14, 14, 0.82) 38%, rgba(5, 14, 14, 0.46) 67%, rgba(5, 14, 14, 0.78) 100%),
        url("../images/hero-game-clubs.png");
    background-size: cover;
    background-position: center;
}

.glass-panel {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 17, 17, 0.72);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(18px);
}

.club-card {
    border-radius: 8px;
}

.club-placeholder-bg {
    background:
        radial-gradient(circle at 30% 20%, rgba(16, 185, 129, 0.24), transparent 32%),
        linear-gradient(135deg, #152020, #0b0f10);
}

.club-title,
.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.club-title {
    -webkit-line-clamp: 1;
}

.club-address {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line-clamp-2 {
    -webkit-line-clamp: 2;
}

.detail-hero {
    background:
        linear-gradient(180deg, rgba(8, 17, 17, 0.18), rgba(8, 17, 17, 0.96)),
        radial-gradient(circle at 22% 18%, rgba(16, 185, 129, 0.2), transparent 30rem),
        #081111;
}

.loader-dot {
    animation: loader-pulse 1s infinite ease-in-out;
}

.loader-dot:nth-child(2) {
    animation-delay: 0.12s;
}

.loader-dot:nth-child(3) {
    animation-delay: 0.24s;
}

@keyframes loader-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-4px);
    }
}

@media (max-width: 640px) {
    .hero-media {
        background-position: center top;
    }
}
