/* Tabs for movies/games list */
.list-tabs {
    display: flex;
    margin-bottom: 22px;
    position: relative;
    gap: 10px;
    padding-bottom: 10px;
    --indicator-left: 0px;
    --indicator-width: 50%;
}

.list-tabs button {
    flex: 1;
    padding: 8px 0;
    background: none;
    border: none;
    border-radius: 6px;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, text-shadow 0.2s ease;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.list-tabs::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0) 0%, rgba(140, 170, 255, 0.35) 50%, rgba(0, 212, 255, 0) 100%);
}

.list-tabs::before {
    content: "";
    position: absolute;
    left: var(--indicator-left);
    bottom: -1px;
    width: var(--indicator-width);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0), rgba(0, 212, 255, 0.85), rgba(0, 212, 255, 0));
    opacity: 1;
    transition: left 0.25s ease, width 0.25s ease;
}

.list-tabs button:hover {
    color: var(--text-primary);
}

.list-tabs button.active {
    color: var(--text-primary);
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
}

 

/* ---------------- Mobile Tabs ---------------- */
.mobile-tabs {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.mobile-tabs button {
    flex: 1;
    padding: 12px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.mobile-tabs button.active {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .mobile-tabs {
        display: flex;
    }

    .container {
        padding-bottom: 70px;
    }
}
