/* INDEX PAGE SPECIFIC STYLES */

/* Sticky Header/Footer */
.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background-color: rgba(9, 9, 11, 0.8);
    /* Semi-transparent background */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background-color: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-200%);
    }
}

/* Scrollbar customization */
.filter-scroll::-webkit-scrollbar {
    display: none;
}

.filter-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Navigation Items */
.nav-item .fa-solid {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.nav-item span {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.nav-item.active .fa-solid,
.nav-item.highlight .fa-solid,
.nav-item:hover .fa-solid {
    color: var(--gold-primary);
    text-shadow: 0 0 10px var(--gold-glow);
}

.nav-item.active span,
.nav-item.highlight span,
.nav-item:hover span {
    color: var(--gold-primary);
}

/* Filter Buttons */
.btn-filter {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition-fast);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid transparent;
}

.btn-filter:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.btn-filter.active {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-hover));
    color: #000;
    box-shadow: 0 0 15px var(--gold-glow);
    border: none;
}

/* Game Cards */
.game-item {
    transition: var(--transition-smooth);
}

.game-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border-color: var(--gold-primary);
}

/* Game Tags */
.game-tag {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    z-index: 20;
    backdrop-filter: blur(4px);
}

.tag-hot {
    background-color: rgba(220, 38, 38, 0.9);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.4);
}

.tag-mini {
    background-color: rgba(37, 99, 235, 0.9);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

.tag-lock {
    background-color: rgba(75, 85, 99, 0.9);
    color: #d1d5db;
}

/* Utilities */
.shadow-text {
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.8);
}

.guarded-link {
    cursor: pointer;
}