body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #0f0f1a;
}

/* Global Pattern Layer - Fixed behind everything */
.pattern-layer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300e687' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Pattern wave sections - alternating fade effect */
.pattern-section {
    position: relative;
}

.pattern-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #0f0f1a;
    pointer-events: none;
    z-index: 1;
}

/* Odd sections: fade OUT (visible at top, hidden at bottom) */
.pattern-fade-out::before {
    background: linear-gradient(to bottom, 
        transparent 0%, 
        transparent 20%,
        rgba(15, 15, 26, 0.3) 40%,
        rgba(15, 15, 26, 0.7) 70%,
        #0f0f1a 100%
    );
}

/* Even sections: fade IN (hidden at top, visible at bottom) */
.pattern-fade-in::before {
    background: linear-gradient(to bottom, 
        #0f0f1a 0%, 
        rgba(15, 15, 26, 0.7) 30%,
        rgba(15, 15, 26, 0.3) 60%,
        transparent 80%,
        transparent 100%
    );
}

/* Full visible pattern (for middle sections) */
.pattern-visible::before {
    background: transparent;
}

/* Section content should be above pattern overlay */
.pattern-section > * {
    position: relative;
    z-index: 2;
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gradient-text {
    background: linear-gradient(135deg, #00e687 0%, #00bf6d 50%, #00e687 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-gradient {
    background: radial-gradient(ellipse at 30% 0%, rgba(0, 230, 135, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 100%, rgba(0, 191, 109, 0.1) 0%, transparent 50%),
                linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
}

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

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 230, 135, 0.1);
    border-color: rgba(0, 230, 135, 0.3);
}


.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00e687, #00bf6d);
    transition: width 0.3s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, #00e687 0%, #00bf6d 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 230, 135, 0.3);
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.animate-delay-100 { animation-delay: 100ms; }
.animate-delay-200 { animation-delay: 200ms; }
.animate-delay-300 { animation-delay: 300ms; }
.animate-delay-400 { animation-delay: 400ms; }
.animate-delay-500 { animation-delay: 500ms; }

.match-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(15, 15, 26, 0.9) 100%);
}

.stat-bar {
    background: linear-gradient(90deg, #00e687, #00bf6d);
}

.pattern-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300e687' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay.active .search-container {
    transform: translateY(0);
    opacity: 1;
}

.search-container {
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.search-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 230, 135, 0.5);
    box-shadow: 0 0 0 4px rgba(0, 230, 135, 0.1);
}

.search-result-item {
    transition: all 0.2s ease;
}

.search-result-item:hover {
    background: rgba(0, 230, 135, 0.1);
}

.kbd {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 11px;
    font-family: monospace;
}